I need to convert into op code bytes the instructions that I have disassembled but I can’t find a function that lets me do it, I’ve tried idc.get_bytes but it doesn’t seem to work. This is my python script: I’m using this script with the batch mode of IDA Pro 7.7sp1, can you suggest me a method to do it?
I am trying to use trepan3k to debug a .pyc file. However, when I typed the command trepan3k flag.pyc, it gave me the error: Cannot import name ‘iscode’ from ‘xdis’. I am using MacOS, with Python 3.8….