keystone icon indicating copy to clipboard operation
keystone copied to clipboard

executables and object files

Open phillvancejr opened this issue 1 year ago • 0 comments

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?

phillvancejr avatar Jul 28 '22 19:07 phillvancejr