keystone
keystone copied to clipboard
executables and object files
I've looked at the C and Python examples on the site that print out assembled machine code. My question is can Keystone produce an object .o file or even link to a full executable or can it only produce the machine code as a byte sequence? For example to produce a mach-o binary, do I have to take the keystone assembled bytes and manually write a mach-o file? Or is there some function that will create the object file or even the full macho-o executable?