|
You are here |
ghvsted.com | ||
| | | | |
dolthub.com
|
|
| | | | | Go 1.21RC2 is out and there's a bunch of small, but helpful new features and changes that are worth learning | |
| | | | |
www.joeshaw.org
|
|
| | | | | Two great tastes that taste great together | |
| | | | |
ankithooda.com
|
|
| | | | | xv6 loads the userspace program starting from the virtual address 0x0, which means we can dereference a null pointer in a xv6 process and it will be a valid memory access. #include "types.h"#include "user.h"#include "stat.h"int main(int argc , char **argv) { int *c = (int *)0x0; printf(1, "%d\n", *c); exit();} Compiling and running the above... | |
| | | | |
mazzo.li
|
|
| | | Let's say that you have a program which relies on huge pages for performance. I couldn't find a resource fully explaining how to allocate huge pages at runtime, making sure that the huge page allocation was successful, so here it is. | ||