Commit Graph

2590 Commits

Author SHA1 Message Date
lazymio fdd129fd30
Remember the regions a hook has intrumented and clear cache on deletion 2022-06-02 14:46:02 +02:00
lazymio 637dc8a8a0
Generate an extra block to trigger segfault 2022-06-02 14:45:38 +02:00
lazymio 40436e885b
Fix the cached hook test 2022-06-02 14:38:53 +02:00
lazymio 774c942143
Add a test for hook cache UAF
If a hook is deleted but wrongly cached, a UAP is probably triggered
2022-06-01 23:58:02 +02:00
lazymio 739fa45f50
Remove unused mmio 2022-06-01 23:43:53 +02:00
lazymio e3613a9f59
Format code 2022-05-28 23:46:18 +02:00
lazymio 289034538d
Cleaner implementation for uc_mem_prot on mmio regions 2022-05-28 23:46:06 +02:00
lazymio 2a6529348c
Support uc_mem_protect on mmio regions
Also make mmio ranges return the correct errors on wrong protection
2022-05-28 23:33:43 +02:00
lazymio 6a2e2a1291
Minor fix for CMakeLists.txt 2022-05-23 22:29:07 +02:00
lazymio ac73e6b9d3
Fix #1623
The reg_id is left out
2022-05-23 20:23:55 +02:00
lazymio 83444c1549
Update changelog 2022-05-23 12:35:19 +02:00
lazymio e5126f17f1
Bump version in bindings 2022-05-23 12:34:09 +02:00
lazymio ba50035830
Format code 2022-05-23 12:30:44 +02:00
lazymio 17fa839a56
Eliminate more warnings in s390x 2022-05-21 00:07:20 +02:00
lazymio 82d1c9e925
Eliminate warnings 2022-05-21 00:02:29 +02:00
lazymio 9167ab8671
Set riscv_get_pc for uc->get_pc 2022-05-21 00:02:22 +02:00
lazymio cc4ed6ee50
Merge pull request #1621 from ondryaso/dev-registers
Support reads and writes over all Arm SIMD registers
2022-05-20 14:48:59 +02:00
lazymio dae48aecee
Mem hook should return a bool 2022-05-20 13:31:54 +02:00
lazymio 5d37e21db5
Don't call hooks if there is already an unhandled exception 2022-05-20 13:15:23 +02:00
lazymio 0d41d4bbb2
Merge QDucasse:x86_hook_address for tests 2022-05-20 13:07:49 +02:00
Ondřej Ondryáš f3b776dd7d Support reads and writes over all Arm SIMD registers 2022-05-20 00:30:11 +02:00
lazymio c1a391cb6b
Update FAQ 2022-05-18 15:01:20 +02:00
lazymio 720c61344f
Use UC_MMIO_READ/WRITE_TYPE 2022-05-18 13:18:17 +02:00
lazymio 2800561a96
Merge pull request #1618 from ekilmer/python-binding-hook-cpuid
python: Support CPUID hooks
2022-05-18 00:16:47 +02:00
Eric Kilmer a92bbd068f
Add CPUID hook to possible callback types 2022-05-17 17:47:57 -04:00
Eric Kilmer cf0a6ffd68
python: Support CPUID hooks 2022-05-17 17:29:50 -04:00
lazymio 9d8e4580e5
Merge pull request #1616 from bet4it/tricore
Add TriCore constants to Rust bindings
2022-05-17 22:09:47 +02:00
Bet4 3cc9005a47 Add TriCore constants to Rust bindings 2022-05-11 17:29:03 +08:00
lazymio 94cac9dfb4
Fix fallthrough in uc_ctl_tb_flush 2022-05-10 23:48:44 +02:00
lazymio 15aa4ed53a
Fix typo 2022-05-10 23:06:14 +02:00
lazymio aab035e8c3
Annotate uc_hook_add and import annotations for forward reference 2022-05-10 23:03:06 +02:00
lazymio 3ea5d8885d
Better annotation 2022-05-10 22:30:55 +02:00
lazymio 532efd42ee
Merge pull request #1613 from lowlyw/patch-2
check pkg-config for unicorn libraries
2022-05-09 15:58:08 +02:00
Lowly Worm 1d13a25320
check pkg-config for unicorn libraries
allow for non-standard install locations of unicorn engine
2022-05-08 19:17:36 -04:00
lazymio 64050aafb1
Fix python setup.py on macOS 2022-05-07 15:48:28 +02:00
lazymio a221e378bf
Add typing 2022-05-07 15:46:32 +02:00
lazymio b827ebf4c3
Format code 2022-05-07 00:30:18 +02:00
lazymio f4f726d7fc
Add test for ensuring hooks are get called only once 2022-05-07 00:23:04 +02:00
lazymio 345b63ee96
Only exit TB if pc is within the memory range 2022-05-07 00:16:31 +02:00
lazymio 20c0a4b643
Remove use_system_unicorn and build_with_cmake 2022-05-06 14:47:15 +02:00
lazymio a54dfda14d
Depend on SONAME dylib 2022-05-06 14:47:14 +02:00
lazymio 2056202381
Merge pull request #1609 from bet4it/version
Fix outdated version
2022-05-05 21:56:23 +02:00
Quentin DUCASSE 38dfd69309 Equivalent tests for arm64 2022-05-04 18:03:06 +02:00
Quentin DUCASSE f569417878 Equivalent tests for riscv 2022-05-04 17:18:47 +02:00
Quentin DUCASSE 8ee9e89f01 Fixed code comment for x86 tests 2022-05-04 17:06:48 +02:00
Quentin DUCASSE a3ed8bbce5 Tests for jump hook address 2022-05-04 16:51:43 +02:00
Bet4 dafdcd3f06 Fix outdated version 2022-05-04 21:31:53 +08:00
lazymio 8fec2f6992
Fetch static archive in the root dir 2022-05-03 11:11:29 +02:00
lazymio 55b2950cac
Revert "Fix Python bindings build" 2022-05-03 09:56:17 +02:00
lazymio 347dbb35e2
Merge pull request #1605 from LABurn/fix-python-binding-compilation-error
Fix Python bindings build
2022-05-03 09:45:30 +02:00