unicorn icon indicating copy to clipboard operation
unicorn copied to clipboard

Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)

Results 151 unicorn issues
Sort by recently updated
recently updated
newest added

when I emulate Android 12 libc.so `scudo::HybridMutex::tryLock` function `error: Unhandled CPU exception (UC_ERR_EXCEPTION)` the instruction is `CASA W8, W9, [X0]` ``` .text:0000000000040460 ; __int64 __fastcall scudo::HybridMutex::tryLock(scudo::HybridMutex *__hidden this) .text:0000000000040460 _ZN5scudo11HybridMutex7tryLockEv...

need poc

First of all, sorry for the terrible code. Whenever I try to emulate my obfuscated driver it fails at uc_emu_start with UC_ERR_MAP. I get all success return codes on: uc_mem_map...

question

I'm trying to add UC_HOOK_CODE for logging all assembly code ```python def hook_code(self, uc, address, size, user_data): if hasattr(self, "f") == False: self.f = open("trace.txt", "w") insn = next(self.cs.disasm(self.uc.mem_read(address, size),...

question

Steps to reproduce the bug: 1. Create an emulator 2. Add a hook to it 3. Drop the emulator (just let it go out of scope) Expected behaviour: all resources...

bug

Because Java also has JIT code, Java binding in Apple M1 does not execute "tb_exec_lock" at the end of execution, which will cause "SIGBUS" exception in the execution of JIT...

The following code does not behave the same depending on Unicorn version: - with Unicorn 2, this code returns "intno == 3". - with Unicorn 1, this code returns nothing....

question

Issue is described in #1661. > I have the exact same issue. My arm64 code is jumping to a block that is hooked with HOOK_BLOCK, I then handle it in...

I have a unicorn instance hooking functions via the `HOOK_BLOCK` callback. In that callback I alter the stack and the IP. This method worked fine for me in versions up...

Nim programming is a compiled systems programming language that has very easy syntax (Python like). It has very fast performance so i think it would be nice if unicorn engine...

help wanted
stale

Hello. While tracking memory writes in heavily packed executable to some memory region I've found that in some cases the callback is triggered once for 8 byte write and at...

question