The code I'm working on launches a child process. That child process segvs. That child process actually WANTS to segv, because it's using libsigsegv to implement its own memory manager. Inside the handler for INTENTIONAL segv we calculate what page we want and index into array
-
-
Foo* pFoo; (uint8_t *)&pFoo[1]-(ui t8_t *)&pFoo[0] is equivalent to sizeof(Foo) is one way to think of it.
-
I don't need a way to think about it. I know how the language works. I just made a mistake. Which I found and fixed.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.