242 Commits

Author SHA1 Message Date
Zeex
e935959d2f Update compile options (Clang warning)
warning: unknown warning option '-Wall -Wextra'; did you mean '-Wextra'?
2023-02-10 15:54:07 +06:00
Zeex
23bf37f44e Fix compile error and clean up in *nix-specific code 2023-02-10 15:54:07 +06:00
Zeex
6cff28a750 Update intro section in README 2023-02-10 15:53:01 +06:00
Zeex
85a2406774 Add flag to support allocation of trampolines within 32-bit offset range of target code on 64-bit Windows
Plus minor formatting fixes and more documentation for flags.

Fixes #9
2023-02-10 00:02:01 +06:00
Zeex
4f173b2323 Update limitations in README
Related to #9
2023-02-09 20:43:08 +06:00
Zeex
83d4e1ebef Merge pull request #65 from r4nx/cmake-modernize
CMake modernization
2022-03-13 12:46:47 +06:00
Zeex
07725be10d Merge pull request #69 from LukeUsher/add-cmp-eax-variant
add cmp eax variant.
2022-03-13 12:28:49 +06:00
Luke Usher
5d22b6c2e4 add cmp eax variant. 2022-03-09 14:33:44 +00:00
r4nx
bff89c8dce Use snake case for variable names, lower CMake version even further 2022-01-10 10:57:53 +02:00
r4nx
0e7ec7b3ad Lower minimum CMake version as it seems to be enough 2021-12-28 06:03:42 +02:00
r4nx
00ea69cbd0 Modernize CMake and make library installable in terms of targets 2021-12-28 05:23:54 +02:00
Zeex
8de6fdbaca Merge pull request #64 from ZNixian/page-boundary-unprotect
unix: Fix unprotecting memory across a page boundary
2021-12-19 14:39:14 +06:00
Campbell Suter
9d1ba393ae unix: Fix unprotecting memory across a page boundary
Previously, we'd round the address to unprotect to the nearest page but
keep the length the same. This meant that if we were hooking a function
that started just before the end of a page, it would need both pages to
be unprotected but we'd only unprotect the first one.
2021-12-05 12:25:32 +13:00
Zeex
86c102f28f Merge pull request #63 from ElDuderinos/master
Add support for MacOS Catalina+ (maxprot issue)
2021-11-28 22:27:23 +06:00
Dudi
ba0872c0b2 Removing subhook_macos.c 2021-11-20 22:12:51 +02:00
Dudi
c5aa6ac920 Add MacOS support 2021-11-11 13:27:23 +02:00
Zeex
284047b761 Make AppVeyor actually build 64-bit binaries in x64 configuration 2021-03-17 10:14:34 +06:00
Zeex
675fca79b9 v0.8.2 v0.8.2 2020-12-25 20:24:59 +06:00
Zeex
b7c34bdf6c Merge pull request #55 from timgates42/bugfix_typo_without
docs: fix simple typo, wihtout -> without
2020-12-22 12:56:20 +06:00
Tim Gates
5f3b17fa4b docs: fix simple typo, wihtout -> without
There is a small typo in README.md.

Should read `without` rather than `wihtout`.
2020-12-19 16:00:15 +11:00
Zeex
f6a6f7d192 Update "Known issues" in README 2020-11-11 02:12:18 +06:00
Zeex
a292bd33e1 Don't use MAP_32BIT on macOS
This flag requires use of entitlements i.e. code signing...
2020-11-11 01:54:05 +06:00
Zeex
063df0fd5c Make subhook_new() not fail on any trampoline-related error 2020-11-11 01:53:09 +06:00
Zeex
a86a253e6e v0.8.1 v0.8.1 2020-11-02 20:46:04 +06:00
Zeex
793d317449 Add .gitignore 2020-11-02 20:27:03 +06:00