| 93 | void* ret_addr_in_stack = 0; |
| 94 | |
| 95 | SpoofFunction(void* addr) :ret_addr_in_stack(addr) |
| 96 | { |
| 97 | temp = *(uintptr_t*)ret_addr_in_stack; |
| 98 | temp ^= xor_key; |
| 99 | *(uintptr_t*)ret_addr_in_stack = 0; |
| 100 | } |
| 101 | ~SpoofFunction() |
| 102 | { |
| 103 | temp ^= xor_key; |
nothing calls this directly
no outgoing calls
no test coverage detected