aboutsummaryrefslogtreecommitdiff
path: root/lib/substitute.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add extra argument to substitute_hook_functions and interpose_imports for ↵comex2015-02-281-9/+55
| | | | | | | | | | use with unhooking. I think we'll need to explicitly record trampoline locations to avoid the possibility of stomping on someone else's stuff if the function was re-patched... Also, document substitute_hook_functions.
* fix (and make more robust) strerror.ccomex2015-02-241-12/+14
|
* Ban calls within transform regions in threadsafe mode.comex2015-02-231-0/+8
|
* Fix hook-function:comex2015-02-181-5/+4
| | | | | | | | | | - 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.
* some more stuff compilescomex2015-01-281-3/+3
|
* fix strerrorcomex2015-01-251-1/+1
|
* fixescomex2015-01-251-0/+8
|
* ...comex2015-01-241-1/+5
|
* Add function to deal with mprotecting RW and back. A bit more complex than ↵comex2015-01-241-0/+1
| | | | | | the minimum would be... (and minor build fixes)
* stopping other threads.comex2015-01-211-0/+14
|
* add substitute_strerrorcomex2015-01-211-0/+3
|
* progress on injectioncomex2015-01-201-5/+6
|
* fixes and test - both tests work on all archscomex2015-01-171-3/+5
|
* imp forwarding workscomex2015-01-171-8/+13
|
* and now for something completely different: assembly maybestret-IMPLcomex2015-01-161-0/+32
| | | | forwarding functions for atomicity
* interpose (based on %c based on data) compiles...comex2015-01-161-13/+99
|
* add licensingcomex2015-01-101-1/+2
|
* substratecomex2015-01-101-2/+9
|
* private syms starting to look goodcomex2015-01-101-6/+38
|
* simplifycomex2015-01-101-8/+15
|
* nah - this is nice looking but nonportablecomex2015-01-101-0/+39