(Jul-27-2017, 07:08 PM)nilamo Wrote: Just by looking at this, isn't imp.name already the name of the system call that's used in the PE file? What output do you currently get?
My current issue is that the code snippet doesn't give any output, it just gives the following error:
Error:Traceback (most recent call last):
File "C:/.../extract_syscalls.py", line 4, in <module>
value = sys.argv[1]
IndexError: list index out of range
I'm not entirely sure how to fix this issue. Should I not be using argv?