keystone
keystone copied to clipboard
Keystone assembler framework: Core (Arm, Arm64, Hexagon, Mips, PowerPC, Sparc, SystemZ & X86) + bindings
Is it possible to add M68K support for Keystone? It seems like there's already support for it in llvm (https://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/M68k), but I don't know what it would entail to add...
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...
The solutions aren't mine - they come from @Himyth and @Summus-31c04089c3cd80 . I just read their issues and implemented the suggested solutions, as well as updated the affected tests
It would be extremely useful to obtain the offsets of assembly labels, to export symbols. For instance, given the following snippet: ``` mov eax, 1 mov ecx, 2 L1: mov...
i just added a new setup option for `ks_option()` named `KS_OPT_SYM_RESOLVER`, so we can handle missing symbols at run-time. more information will follow in the next post.
I recently launch a project with `vcpkg`. But I can't simply include `keystone` into my project because `vcpkg` build requires `python2` and there is no more a builtin `python2` in...
I found two issues relatives to GAS syntax; 1 ) when I try to assemble instructions with memory operands that contains more than 1 register in the parentesys I get...
It would be great if there was an option/syntax to override number parsing. With this option all numbers are interpreted as hex (`mov eax, 01334000` assembles to `mov eax, 0x1334000`...
`>>> import keystone >>> import capstone >>> KS_THUMB = keystone.Ks(keystone.KS_ARCH_ARM, keystone.KS_MODE_THUMB) >>> encoding, count = KS_THUMB.asm("adr r8,0x8fb8",0x13AAE) >>> bytes(encoding).hex() 'aff6f828' >>> ` constant should be 0x8fb8, but when the code...
Specifying jobs number more than CPU threads make system unresponsive. 'cmake --build' comamnd will automatically choose jobs number.