unicorn
unicorn copied to clipboard
Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)
Hi Sir, I have add some code into function "test_arm64" in the file "sample_arm64.c". Some variables used in the test_arm64 can be instanced as bellow. uint64_t mem_data = 0; uint64_t...
```python from unicorn import * from unicorn.mips_const import * # code to be emulated # 0x1000000: li v0,3 # 0x1000004: beq s0,v0,0x1000014 # 0x1000008: lbu v1,0(a1) MIPS_CODE32 = b"\x03\x00\x02\x24\x03\x00\x02\x12\x00\x00\xa3\x90" #...
[GPL-2.0](https://spdx.org/licenses/GPL-2.0.html) is deprecated by SPDX, please consider using [GPL-2.0-only ](https://spdx.org/licenses/GPL-2.0-only.html)or [GPL-2.0-or-later](https://spdx.org/licenses/GPL-2.0-or-later.html). Thanks! relates to https://github.com/Homebrew/homebrew-core/pull/105364
These are two changes I've needed to make to make angr work with unicorn 2. First commit: presently, if we try to execute a non-executable region, the lifting code never...
Hi! It seems the wheel package for unicorn 2.0.0 targeting `win32` ([from pypi](https://files.pythonhosted.org/packages/23/45/5dfd8bc35844551ebaab08b6e60c11622eff34ffafdc3691dd90d1b8b628/unicorn-2.0.0-py2.py3-none-win32.whl)) isn't currently usable with 32-bit interpreters as it embeds a 64-bit version of the `unicorn.dll` library. Best...
ARM and MMU
I have a issue with the MMU in ARM emulation. It is difficult to reproduce due to complexity. I have a kernel that uses armv7 styled mmu setup. When the...
Trying to install Unicorn on Kali Linux: `Linux kali-linux-2021-3 5.14.0-kali2-arm64 #1 SMP Debian 5.14.9-2kali1 (2021-10-04) aarch64 GNU/Linux` **Install Command** ``` ┌──(parallels㉿kali-linux-2021-3)-[~/Documents/sft/unicorn-1.0.3/build] └─$ pip install unicorn ``` **Error** ``` Defaulting to...
For example, in Python binding, there seems are register constants for ARM, like `unicorn.arm_const.UC_ARM_REG_SP`. But those constants are missing for PowerPC in latest beta version, or the main branch.
There was a change made in #1584 that changes `bindings/rust/target/` to just `target/` which then ignores anything under `qemu/target`. This isn't a folder that seems to change that often, but...