Commit Graph

2531 Commits

Author SHA1 Message Date
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
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
aab93926dc Fix a bug when nested uc_emu_start deletes a hook 2022-04-26 01:17:59 +02:00
f9bb1ba505 Add python bindings for ctl_flush_tb 2022-04-26 01:17:59 +02:00
cdae57fb3d Generate bindings 2022-04-26 01:17:58 +02:00
4e22744679 Support flushing translation blocks and flush when we don't need count hook 2022-04-26 01:17:58 +02:00
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
0c975caf09 Add -static-libgcc for mingw64-32 2022-04-24 00:10:12 +02:00
1cce884c40 Format 2022-04-23 22:41:59 +02:00
f4ab42d930 By default try to find global installed unicorn if not specified 2022-04-23 22:41:34 +02:00
185a6fec9e Bump bindings version to 2.0.0-rc7 2022-04-17 16:48:12 +02:00
8fd9ee3dd0 Bump unicorn version 2022-04-17 16:47:37 +02:00
290f8d48bd Update docs 2022-04-17 16:44:21 +02:00
6672ef5f2d Update changelog for uc2 rc releases 2022-04-17 16:43:05 +02:00
d661173ecf Pick #1594 2022-04-17 16:16:11 +02:00
656dde9f60 Fix MSVC build 2022-04-16 23:37:52 +02:00
3d3deac5e6 Fix crash when mapping a big memory and calling uc_close 2022-04-16 19:17:41 +02:00
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
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
5a79d7879c Generate bindings 2022-04-16 17:50:32 +02:00
c379d1bfe4 Format code 2022-04-16 17:50:12 +02:00
b136f08f2d Check CPU model for uc_ctl 2022-04-16 17:49:47 +02:00
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
9620514b68 Rename x32 to x86 2022-04-12 22:41:50 +02:00
53e31363f5 Fix windows build for rust 2022-04-12 22:39:44 +02:00
30ff407e67 Fix typo in CI name 2022-04-12 21:10:19 +02:00
a6f9fd17d5 Search cmake build root directory 2022-04-12 21:05:46 +02:00