-
Notifications
You must be signed in to change notification settings - Fork 2
SymExPorter doesn't work on Wine #1
Copy link
Copy link
Open
Description
gibait reported this error:
[SymExPorter] Traceback (most recent call last):
File "C:/Program Files/IDA_Pro_v8.3_Portable/plugins/SymExPorter.py", line 577, in write_symbols
with open(input_file, 'rb') as f:
^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'Z:\\home\\giba\\ccit\\challenges\\pwn\\canvas\\canvas'
And suggested a fix
Change line 785 from self.input_elf = ida_nalt.get_input_file_path() to
self.input_elf = os.path.dirname(os.path.realpath(__name__))
But this fix breaks execution in IDA (Windows)
Possibly this fix with should work:
if ("WINEPREFIX" in os.environ or "WINELOADER" in os.environ):
self.input_elf = os.path.dirname(os.path.realpath(__name__))
else:
self.input_elf = ida_nalt.get_input_file_path()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels