Commit Graph

2528 Commits

Author SHA1 Message Date
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
Duncan Ogilvie 7b80294606 Fix finding the lib program when using the Visual Studio generator 2022-05-02 21:02:45 +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
lazymio cdae57fb3d
Generate bindings 2022-04-26 01:17:58 +02:00
lazymio 4e22744679
Support flushing translation blocks and flush when we don't need count hook 2022-04-26 01:17:58 +02:00
lazymio fbf4078d65
Fix wrong python binding for UC_CTL_TB_REMOVE_CACHE 2022-04-26 01:17:57 +02:00
JeroenRobbenFirmalyzer1 36011e145c
Add Java binding for ctl set_cpu_model (#1600)
Add Java binding for ctl set_cpu_model
2022-04-24 13:29:48 +02:00
lazymio 0c975caf09
Add -static-libgcc for mingw64-32 2022-04-24 00:10:12 +02:00
lazymio 1cce884c40
Format 2022-04-23 22:41:59 +02:00
lazymio f4ab42d930
By default try to find global installed unicorn if not specified 2022-04-23 22:41:34 +02:00
lazymio 185a6fec9e
Bump bindings version to 2.0.0-rc7 2022-04-17 16:48:12 +02:00
lazymio 8fd9ee3dd0
Bump unicorn version 2022-04-17 16:47:37 +02:00
lazymio 290f8d48bd
Update docs 2022-04-17 16:44:21 +02:00
lazymio 6672ef5f2d
Update changelog for uc2 rc releases 2022-04-17 16:43:05 +02:00
lazymio d661173ecf
Pick #1594 2022-04-17 16:16:11 +02:00
lazymio 656dde9f60
Fix MSVC build 2022-04-16 23:37:52 +02:00
lazymio 3d3deac5e6
Fix crash when mapping a big memory and calling uc_close 2022-04-16 19:17:41 +02:00
lazymio cf18982e1c
Add two tests for mem map wrap 2022-04-16 18:19:41 +02:00
lazymio e8129b6f66
Revert "Fix https://github.com/unicorn-engine/unicorn/issues/1590" 2022-04-16 17:59:15 +02:00
lazymio 034844f7f9
Merge pull request #1592 from liyansong2018/mybranch1
Fix https://github.com/unicorn-engine/unicorn/issues/1590
2022-04-16 17:52:30 +02:00
lazymio 5a79d7879c
Generate bindings 2022-04-16 17:50:32 +02:00
lazymio c379d1bfe4
Format code 2022-04-16 17:50:12 +02:00
lazymio b136f08f2d
Check CPU model for uc_ctl 2022-04-16 17:49:47 +02:00
lazymio a60db86144
Move static linkage flags to Libs.private 2022-04-16 15:57:54 +02:00
shuffle2 2912cd1e29
fix rust bindings build on windows (#1584)
Refine rust bindings.
2022-04-16 13:40:04 +02:00
liyansong2018 88f4eba072 Fix https://github.com/unicorn-engine/unicorn/issues/1590 2022-04-13 21:53:58 +08:00
lazymio 9620514b68
Rename x32 to x86 2022-04-12 22:41:50 +02:00
lazymio 53e31363f5
Fix windows build for rust 2022-04-12 22:39:44 +02:00
lazymio 30ff407e67
Fix typo in CI name 2022-04-12 21:10:19 +02:00
lazymio a6f9fd17d5
Search cmake build root directory 2022-04-12 21:05:46 +02:00
lazymio ae3d529830
Update CI test name 2022-04-12 20:36:52 +02:00
lazymio d12cffa015
Fix bundle static for NOT_FOUND dep 2022-04-12 20:24:16 +02:00
lazymio 8a86851804
Add win32 static CI test 2022-04-12 19:26:47 +02:00