keystone
keystone copied to clipboard
Keystone assembler framework: Core (Arm, Arm64, Hexagon, Mips, PowerPC, Sparc, SystemZ & X86) + bindings
In KS_MODE_16, the 8086 asm: call xxxx generate a code call 0000xxxx which is a 80386 call instruction.
I wish to use cmake to include keystone as a subdirectory. I managed to link keystone as a static library in linux, but it didn't work on Windows due to...
0x0C46FF3A 处(位于 Keystone.exe 中)引发的异常: 0xC0000005: 执行位置 0x0C46FF3A 时发生访问冲突。
Revamps the CI to build more wheels for more python versions/architectures. Currently the builds fail on windows; seems related to the recently merged in RISCV code; maybe @null-cell could investigate?
` import keystone import capstone HEX2ASM = capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64 ) ASM2HEX = keystone.Ks(keystone.KS_ARCH_X86, keystone.KS_MODE_64 ) ASM2HEX.syntax = keystone.KS_OPT_SYNTAX_INTEL asm = """ mov qword ptr ds:[0x14000d250],rcx """ byte,con = ASM2HEX.asm(asm,addr =...
# Description This vulnerability is of type Loop with an infinite branch. The bug exist in latest stable release (draco-1.5.3) and latest master branch (18569351000cf1b8bd1ea2cc8a02c2e17b76391f, updated on Mar 3, 2022)....
Hello. Running the following code in python results in warning: ```python from keystone import * ks = Ks(KS_ARCH_ARM, KS_MODE_ARM) ks.asm('MCR p15, #0, r1, c7, c5, #4') ``` ``` warning: deprecated...
While compiling the [example](https://docs.rs/keystone/latest/keystone/), i get the following errror: > error: linking with `link.exe` failed: exit code: 1181 | = note: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX64\\x64\\link.exe" "/NOLOGO" "C:\\Users\\USERNAME\\AppData\\Local\\Temp\\rustc7iL5Tp\\symbols.o" "C:\\Users\\USERNAME\\USERNAME-tui-3\\target\\release\\deps\\USERNAME_tui_3.USERNAME_tui_3.78b6712c-cgu.0.rcgu.o" "C:\\Users\\USERNAME\\USERNAME-tui-3\\target\\release\\deps\\USERNAME_tui_3.USERNAME_tui_3.78b6712c-cgu.1.rcgu.o" "C:\\Users\\USERNAME\\USERNAME-tui-3\\target\\release\\deps\\USERNAME_tui_3.USERNAME_tui_3.78b6712c-cgu.10.rcgu.o"...
When I get assembly this way from gcc: ``` $echo " " |gcc -xc -S -o- - -m64 .file "" .text .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a"...