unicorn
unicorn copied to clipboard
Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)
Hello, I'm trying to emulate the following piece of code: ``` 0x7ffff7db2220 : endbr64 0x7ffff7db2224 : mov eax,edi 0x7ffff7db2226 : vpxorq xmm16,xmm16,xmm16 (buggy) ``` When I try to emulate the...
here is my build.sh file contents: #!/bin/bash BUILD_DIR=build-xcode rm -rf ${BUILD_DIR} mkdir ${BUILD_DIR}; cd ${BUILD_DIR} cmake .. -GXcode -DCMAKE_BUILD_TYPE=Debug --debug-output make test_x86 when I run it using 'build.sh' in the...
Add backend support for LoongArch64, fixing the conflicts with tcg function tcg_out_dupi_vec. The codes are tested by the unit tests on a LoongArch and a x86 machine.
Hello, ### Description I'm facing a strange issue where my UC_HOOK_MEM_READ is *only called the first time* a memory read is encountered. All subsequent reads do not trigger the callback....
When a CPU exception is thrown, what we have is an error code from unicorn, however I can't find a way to directly get the exact exception (#DBG for flag...
In the simulation of the shellcode, I found that directly modifying the lower bits of cr7 would cause random crashes in Unicorn2, but Unicorn1 does not have this issue. Below...
i remeber that it have a macos_universe ,it seems removed, how can i build x86, my macos not update and it's support x86.
Hello, thanks for this great project. I'm currently trying out [pypush](https://github.com/beeper/pypush) in the cloud. It uses Unicorn internally but cannot start because an error occurs: `Could not allocate dynamic translation...
## Describe the bug When executing rip-based indirect call instruction, the emulated CPU attempts to fetch at an unrelated address, which is unexpected and raises a `UC_ERR_FETCH_UNMAPPED` error. ## To...
I'm trying to run an app built using FreeRTOS using Unicorn, but I can't seem to get the exception handlers right. Relevant FreeRTOS code: ```assembly 0000413c : 413c: 4805 ldr...