aboutsummaryrefslogtreecommitdiff
path: root/lib/darwin/execmem.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove old commentcomex2015-02-231-5/+0
|
* and avoid call to pthreadscomex2015-02-231-1/+5
|
* Redo manual syscalls, and use them for hooking.. And fix mmap, which now ↵comex2015-02-231-36/+72
| | | | makes the whole thing slightly broken, because vm_remap into the middle of the shared region apparently silently does nothing.
* various fixescomex2015-02-181-3/+11
|
* er, don't unnecessarily spam thread start/resume.comex2015-02-181-27/+34
|
* Fix hook-function:comex2015-02-181-44/+388
| | | | | | | | | | - Thread stoppage is now complemented by sigaction to catch injected threads (sigaction is not used exclusively because the rest of the program could be trying to use sigaction itself in the meantime - this is a real thing, ask Dolphin) - mprotect is no longer used due to max_protection possibly getting in the way; instead, a copy is created and mapped onto the original.
* this is dumbcomex2015-01-251-2/+2
|
* it compiles...comex2015-01-241-0/+19
|
* Add function to deal with mprotecting RW and back. A bit more complex than ↵comex2015-01-241-0/+57
the minimum would be... (and minor build fixes)