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
-
-
-
-
5/ solved it! I was doing math wrong. if p is a pointer to addr 0x100 and q is a pointer to 0x104 what's the delta between the two? if (char *) pointers, then 4 if (word *) pointers, then 1 my bad
Show this thread
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.