aboutsummaryrefslogtreecommitdiff
path: root/subhook_windows.c
AgeCommit message (Collapse)AuthorFilesLines
2023-02-10Fix compile error and clean up in *nix-specific codeZeex1-4/+4
2023-02-10Add flag to support allocation of trampolines within 32-bit offset range of ↵Zeex1-1/+34
target code on 64-bit Windows Plus minor formatting fixes and more documentation for flags. Fixes #9
2020-11-02Fix segfault in subhook_new()Zeex1-1/+1
This fixes #51.
2020-11-02Add null check in subhok_free_code()Zeex1-0/+4
2020-11-02Fix address overflow in trampolineZeex1-7/+20
Allocate memory for storing the trampoline code via mmap() with MAP_32BIT flag to make sure that it stays withing 2GB range. Also, add missing calls to subhook_free() in the C test program (C++ calls it implicitly already via destructor).
2018-11-22Cleanup and code style fixseZeex1-1/+2
2018-09-03Clean up and improve commentsZeex1-4/+4
* Replace SUBHOOK_BITS equality comparisons with SUBHOOK_X86_64 macro definition checks (less error-prone) * Improve comments in subhook_disasm() and remove unused variable (address_size) * Update copyright year across all files
2016-07-24Convert tabs to spacesZeex1-4/+5
2015-02-12Update yearZeex1-1/+1
2014-11-27Add support for trampolinesZeex1-1/+1
2014-10-15Update copyright yearZeex1-1/+1
2014-10-04Small refactoring & cleanupZeex1-1/+1
2013-12-15Revert "Move sources and headers to src and include"v0.1Zeex1-0/+36
This reverts commit 48e7a711aedbf25ead8f0f7c83f3ea3b997f7137.
2013-12-14Move sources and headers to src and includeZeex1-36/+0
2013-12-06Fix coding styleZeex1-5/+4
2013-12-06Remove redundant includesZeex1-3/+0
2013-12-05Remove subhook_unprotect() from public APIZeex1-1/+1
2013-01-16Update yearZeex1-1/+1
2013-01-13First commitZeex1-0/+40