Commit Graph

2610 Commits

Author SHA1 Message Date
aab035e8c3 Annotate uc_hook_add and import annotations for forward reference 2022-05-10 23:03:06 +02:00
3ea5d8885d Better annotation 2022-05-10 22:30:55 +02:00
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
64050aafb1 Fix python setup.py on macOS 2022-05-07 15:48:28 +02:00
a221e378bf Add typing 2022-05-07 15:46:32 +02:00
b827ebf4c3 Format code 2022-05-07 00:30:18 +02:00
f4f726d7fc Add test for ensuring hooks are get called only once 2022-05-07 00:23:04 +02:00
345b63ee96 Only exit TB if pc is within the memory range 2022-05-07 00:16:31 +02:00
20c0a4b643 Remove use_system_unicorn and build_with_cmake 2022-05-06 14:47:15 +02:00
a54dfda14d Depend on SONAME dylib 2022-05-06 14:47:14 +02:00
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
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
347dbb35e2 Merge pull request #1605 from LABurn/fix-python-binding-compilation-error
Fix Python bindings build
2022-05-03 09:45:30 +02:00
Luke Burnett
84849bdfe3 Fix Python bindings build 2022-05-02 20:41:54 -07:00
42e52cd4c7 Merge remote-tracking branch 'origin/dev' into mrexodia-msvc-find-lib 2022-05-03 00:08:47 +02:00
95ecfead48 Update PyPI CI 2022-05-03 00:03:48 +02:00
Duncan Ogilvie
1f4bdaf6e0 Make sure setjmp-setjmp-wrapper-win32 participates in the build
See: https://stackoverflow.com/a/49446994/1806760
2022-05-03 00:01:30 +02:00
fc2683c973 Fix cmake typo to correctly only set archive output name 2022-05-02 23:34:08 +02:00
Duncan Ogilvie
7b80294606 Fix finding the lib program when using the Visual Studio generator 2022-05-02 21:02:45 +02:00
9691059c5b Move forwards dev cmd setup 2022-05-02 19:04:24 +02:00
7c5e9e70f4 Fix typo 2022-05-02 18:30:57 +02:00
e3dc67e1ea Setup x64 msvc dev cmd 2022-05-02 18:12:25 +02:00
7bc6e9a265 Fix syntax error 2022-05-02 17:53:35 +02:00
bc056727af Fix MSVC build 2022-05-02 17:51:03 +02:00
7dfecbcb4a Fix mingw archiver 2022-05-02 17:40:57 +02:00
b70ab41422 Update CI for static builds 2022-05-02 16:29:47 +02:00
b660ce5c8d Reset the default to build_unicorn_cmake 2022-04-30 11:13:33 +02:00
a8e602801d Merge pull request #1569 from AfoHT/rustbindreadme
Fix Rust bindings readme example code
2022-04-30 11:12:31 +02:00
b364d91893 Merge origin/dev 2022-04-30 11:11:04 +02:00
6d5000fe42 Format code 2022-04-30 11:07:48 +02:00
b9e7c78ae8 Revert to rc7 behaviour 2022-04-30 11:07:23 +02:00
Nguyen Anh Quynh
088ff9add7 samples: cleanup sample_tricore.c 2022-04-30 10:16:48 +08:00
Nguyen Anh Quynh
5eca31c822 Update README.md 2022-04-30 10:13:59 +08:00
Nguyen Anh Quynh
659a62a001 Update README.md 2022-04-30 10:13:26 +08:00
95d72e2db3 Update docs 2022-04-30 00:30:06 +02:00
f3ce0fdb33 Generate both shared lib and static archive by default 2022-04-30 00:25:27 +02:00
ba132b974d Move tests to root directory
Reference: https://doc.rust-lang.org/stable/cargo/guide/project-layout.html
2022-04-29 23:40:03 +02:00
098f93709a Update README 2022-04-29 23:13:16 +02:00
Eric Poole
cfee2139a0 TriCore Support (#1568)
* TriCore Support

python sample

* Update sample_tricore.py

Correct attribution

* Update sample_tricore.py

Fixed byte code to execute properly.

* Update sample_tricore.py

Removed testing artifact

* Added tricore msvc config-file.h

* Added STATIC to tricore config and added helper methods to symbol file generation.

* Update op_helper.c

Use built in crc32

* Fix tricore samples and small code blocks are now handled properly

* Add CPU types

* Generate bindings

* Format code

Co-authored-by: lazymio <mio@lazym.io>
2022-04-29 23:11:34 +02:00
f49f62ecef Add dynamic_linage feature 2022-04-28 15:35:06 +02:00
8fb4b45f57 Resume CPU for writing PC 2022-04-26 01:53:02 +02:00
ed90e98d81 Generate a TB at least to make sure cahce is not cleared for ADD and DEC 2022-04-26 01:18:00 +02:00
d3f1ec1345 Add a test for count hook cache 2022-04-26 01:17:59 +02:00