Zeex / subhook

Simple hooking library for C/C++ (x86 only, 32/64-bit, no dependencies)
BSD 2-Clause "Simplified" License
801 stars 124 forks source link

subhook_disasm can't be "subclassed" #39

Closed JohnSully closed 4 years ago

JohnSully commented 5 years ago

I want to create a disassembler that first tries the default disassembler and only takes over if that fails. This way I can hardcode support for just a few extra opcodes without needing a heavy disassembler. However it feels like it was especially designed to make this impossible. A few things that would make this a lot easier:

Zeex commented 4 years ago

Thanks for the suggestion, subhook_disasm() is exported now