aboutsummaryrefslogtreecommitdiff
path: root/subhook_x86.c
diff options
context:
space:
mode:
authorZeex <zeex@rocketmail.com>2020-05-30 20:17:19 +0600
committerZeex <zeex@rocketmail.com>2020-05-30 20:17:19 +0600
commitb6706e2030a5ff4ea9b4e8a2ca2ba393f40b55fa (patch)
tree0b6e3ffd006ee9e882ee12c1ac7679072917a460 /subhook_x86.c
parent5a7c048f30984d71269bb2254e3ed324a60ad2bf (diff)
downloadsubhook-b6706e2030a5ff4ea9b4e8a2ca2ba393f40b55fa.zip
subhook-b6706e2030a5ff4ea9b4e8a2ca2ba393f40b55fa.tar.gz
subhook-b6706e2030a5ff4ea9b4e8a2ca2ba393f40b55fa.tar.bz2
Export subhook_disasm()
Diffstat (limited to 'subhook_x86.c')
-rw-r--r--subhook_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subhook_x86.c b/subhook_x86.c
index 7c36b82..95c1f24 100644
--- a/subhook_x86.c
+++ b/subhook_x86.c
@@ -88,7 +88,7 @@ struct subhook_jmp64 {
extern subhook_disasm_handler_t subhook_disasm_handler;
-static int subhook_disasm(void *src, int *reloc_op_offset) {
+SUBHOOK_EXPORT int SUBHOOK_API subhook_disasm(void *src, int *reloc_op_offset) {
enum flags {
MODRM = 1,
PLUS_R = 1 << 1,