Commit Graph

2558 Commits

Author SHA1 Message Date
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
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
42e52cd4c7
Merge remote-tracking branch 'origin/dev' into mrexodia-msvc-find-lib 2022-05-03 00:08:47 +02:00
lazymio
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
lazymio
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
lazymio
9691059c5b
Move forwards dev cmd setup 2022-05-02 19:04:24 +02:00
lazymio
7c5e9e70f4
Fix typo 2022-05-02 18:30:57 +02:00
lazymio
e3dc67e1ea
Setup x64 msvc dev cmd 2022-05-02 18:12:25 +02:00
lazymio
7bc6e9a265
Fix syntax error 2022-05-02 17:53:35 +02:00
lazymio
bc056727af
Fix MSVC build 2022-05-02 17:51:03 +02:00
lazymio
7dfecbcb4a
Fix mingw archiver 2022-05-02 17:40:57 +02:00
lazymio
b70ab41422
Update CI for static builds 2022-05-02 16:29:47 +02:00
lazymio
b660ce5c8d
Reset the default to build_unicorn_cmake 2022-04-30 11:13:33 +02:00
lazymio
a8e602801d
Merge pull request #1569 from AfoHT/rustbindreadme
Fix Rust bindings readme example code
2022-04-30 11:12:31 +02:00
lazymio
b364d91893
Merge origin/dev 2022-04-30 11:11:04 +02:00
lazymio
6d5000fe42
Format code 2022-04-30 11:07:48 +02:00
lazymio
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
lazymio
95d72e2db3
Update docs 2022-04-30 00:30:06 +02:00
lazymio
f3ce0fdb33
Generate both shared lib and static archive by default 2022-04-30 00:25:27 +02:00
lazymio
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
lazymio
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
lazymio
f49f62ecef
Add dynamic_linage feature 2022-04-28 15:35:06 +02:00
lazymio
8fb4b45f57
Resume CPU for writing PC 2022-04-26 01:53:02 +02:00
lazymio
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
lazymio
d3f1ec1345
Add a test for count hook cache 2022-04-26 01:17:59 +02:00
lazymio
aab93926dc
Fix a bug when nested uc_emu_start deletes a hook 2022-04-26 01:17:59 +02:00
lazymio
f9bb1ba505
Add python bindings for ctl_flush_tb 2022-04-26 01:17:59 +02:00