Closed 0x0451 closed 1 year ago
Hi @0x0451,
SW2 (and now SW3) has actually never been supported for use with OLLVM due to how clang handles inline assembly. There used to be a check in place that would automatically force you to use GetSyscallStub whenever using OLLVM, however this check broke when I recently added the -sc
flag.
I have just added a new check that should do the same and also inform the user that SysWhispers is not compatible with OLLVM. I've also updated the "Known Issues" section of the README to state this incompatibility. Thanks for your interest in the tool!
Using -sc SysWhispers2 or SysWhispers3 with OLLVM causes compile errors. OLLVM installed according to instructions given on readme page for project.
Confirm OLLVM install is correct:
Confirmed working with option
-u
(unhook) and with-sc GetSyscallStub
Example error output:
Tested on Kali and Linux Mint. Similar results on both.