Commit Graph

2184 Commits

Author SHA1 Message Date
94d952b410 Add depreciated in unicorn.h 2021-11-04 18:44:56 +01:00
937445466b Update samples to show the use of uc_ctl 2021-11-04 18:41:45 +01:00
3aa2788586 Format 2021-11-04 18:39:52 +01:00
ebe1f83293 Initialize UC when reading page size 2021-11-04 18:39:38 +01:00
dfbffa44ec Support changing cpu model for ARM 2021-11-04 18:37:10 +01:00
28013c13be Don't init on page size read 2021-11-04 18:29:42 +01:00
3e4b4af7d3 Support change page size 2021-11-04 17:03:30 +01:00
3ead1731fe Also instrument sub2
In this case, users don't need to care about the stuble difference inside tcg opcode
2021-11-03 23:48:09 +01:00
ad2480f32c Enable verbose test output 2021-11-03 21:44:00 +01:00
67e2386da6 Add test and close #1477 2021-11-03 21:40:13 +01:00
1a82248292 Add test for #992 2021-11-03 21:17:57 +01:00
3dfec280c7 Merge and close #1161 2021-11-03 21:02:48 +01:00
6b5529fcb7 Merge pull request #1458 from bet4it/patch
Port some patches from Unicorn1 to Unicorn2
2021-11-03 20:59:42 +01:00
9818840f4e Add tests for UC_HOOK_TCG_OPCODE 2021-11-03 20:56:45 +01:00
58edb2abe7 Format 2021-11-03 13:28:12 +01:00
09aa0f944f Merge QDucasse:riscv_extension_d
Fix and close #1469

Fix test for riscv float points

Fix the riscv cpu config we left out
2021-11-03 13:20:46 +01:00
bcf85be86d Add a new hook type UC_HOOK_TCG_OPCODE 2021-11-03 01:46:24 +01:00
eb75d459f0 Add a regression test for invalidating empty TB and have a better solution 2021-11-03 01:07:06 +01:00
aaf340d9e4 Merge branch 'dev' into patch 2021-11-02 18:36:22 +08:00
c11b9aa5c3 Add a new hook type UC_HOOK_EDGE_GENERATED and corresponding sample 2021-11-01 23:27:35 +01:00
b7e82d460c Expose more TB related stuff 2021-11-01 22:11:43 +01:00
14e175394b Fix Win32 time function for test_ctl 2021-11-01 19:43:30 +01:00
9704618595 Fix test for Android due to clock() not working 2021-11-01 15:33:36 +01:00
cee44b0464 Add tests and samples to show how to control TB cache 2021-11-01 14:46:01 +01:00
fb45b287ba Add multiple exits mechanism and tests&samples 2021-11-01 14:00:43 +01:00
a888835962 Fix mingw64 and win32 build 2021-11-01 11:02:44 +01:00
fe3b798ba7 Remove unused args 2021-11-01 11:02:31 +01:00
f3cb4feec4 Fix build on Windows 2021-11-01 10:39:31 +01:00
147cb62240 Add uc_close 2021-11-01 10:23:47 +01:00
c60825bf6e Remove unused args 2021-11-01 10:22:30 +01:00
6c3960242b Format unicorn_arm and unicorn_aarch64 2021-11-01 10:17:58 +01:00
0a3e46bf4f Format 2021-11-01 09:41:25 +01:00
3dd2e0f95d Basic implementation of uc_ctl 2021-11-01 00:39:36 +01:00
b07baede63 Format 2021-10-31 21:07:30 +01:00
84abf1d3a4 A stronger test and handle addr_end = 0 2021-10-31 21:01:55 +01:00
4bcf1c4a7c Flush TB at exit with a better approach instead of flushing tlb in uc1 2021-10-31 19:43:56 +01:00
8e6f7e4fba Add a regression test 2021-10-31 15:56:58 +01:00
47113d5a83 Format 2021-10-31 10:42:07 +01:00
090686f8ed uc_ctl proposal (#1473)
* Add uc_ctl

* Add comments

* Slightly changed for bindings generation

* Generate bindings
2021-10-30 10:45:32 +08:00
1856e940e4 Merge pull request #1474 from unicorn-engine/clangfmt
Import clang-format
2021-10-29 13:43:35 +02:00
bd4741ea8c Add format.sh 2021-10-29 12:46:06 +02:00
e62b0ef255 Add clang-format and format code to qemu code style 2021-10-29 12:44:49 +02:00
9e1443013b Fix gen_const 2021-10-26 13:10:59 +02:00
9131856506 More tests 2021-10-26 11:32:57 +02:00
489b072fc3 Merge remote-tracking branch 'h33p/master' into dev
This is for binary search optmization on memory blocks.
2021-10-26 11:23:42 +02:00
e695686c15 Remove AFL Integration by reverting 2021-10-26 11:22:21 +02:00
7ac7c23c12 Fix Windows build for AFL integration 2021-10-25 16:11:58 +02:00
1fa2eb688b Fix UC_MODE_AFL and update config 2021-10-25 14:39:40 +02:00
d965c0f159 Use UCLOG and fix uc_afl_fuzz 2021-10-25 10:46:52 +02:00
17963ff4aa Update python bindings for afl 2021-10-25 01:27:51 +02:00