Commit Graph

2740 Commits

Author SHA1 Message Date
mio
2d5d72e6c7 Install deps for macos 2023-02-20 20:51:37 +01:00
mio
5e5075b4b9 Install pkg-config on macos runners 2023-02-20 20:27:31 +01:00
mio
133504b504 Fix wrong IP in x86_16 because of cs_base not substracted 2023-02-20 20:21:56 +01:00
mio
9c9356da6c Bump to 2.0.2-rc1 for csharp 2023-02-07 10:40:30 +01:00
mio
3af2775039 Merge branch 'cs_dev' into dev 2023-02-07 10:08:09 +01:00
mio
3199dd88de Detect AVX2 correctly for MSVC 2023-02-07 01:07:53 +01:00
Nguyen Anh Quynh
eb118528b1 rename memory_mapping() to find_memory_region() and simplify mem_map() 2023-02-06 17:59:16 +08:00
Nguyen Anh Quynh
7ca4769f2a bindings: update version to 2.0.2 2023-02-04 13:01:33 +08:00
Nguyen Anh Quynh
6e9c6aea5f bump version to 2.0.2 2023-02-04 13:00:58 +08:00
TSR Berry
cee8e6b5da gha: Add steps to upload nupkg as artifact & publish to Nuget 2023-01-29 00:47:46 +01:00
mio
a25adf84f0 Rename flags to avoid confusion 2023-01-28 22:18:39 +01:00
mio
513e797d46 Update comments of the page count 2023-01-28 22:10:39 +01:00
mio
12a79192ee Demand paging on Windows 2023-01-28 22:04:43 +01:00
7e4754ad00 Merge pull request #1754 from edsky/master
Add arch list feature control in Rust
2023-01-24 21:49:18 +01:00
a07a83ac75 Merge pull request #1767 from PhilippTakacs/rustcallback
rust only add mmio callback funktion, if callback is requested
2023-01-24 21:46:40 +01:00
fb8eee8094 Merge pull request #1765 from PhilippTakacs/split
Do not search for the RAMBlock in split_region
2023-01-24 21:08:04 +01:00
df2e75b65a Merge pull request #1764 from LG3696/fix-memory-leak
Fix Rust binding memory leak
2023-01-24 21:05:42 +01:00
Takacs, Philipp
ed9164e47a rust only add mmio callback funktion, if callback is requested
The C function uc_mmio_map() allows to add seperate callback functions
and userdata for read and write. When the callback functions are NULL
unicorn don't try to call this functions.

Previous this patch, when i.e. read_callback was None the callback was set
to mmio_read_callback_proxy and the userdata was set to NULL. On a callback
the mmio_read_callback_proxy then tried to dereference the userdata and
caused a segfault.

fixes #1762
2023-01-23 13:22:55 +01:00
Luca Gladiator
aded30f5a8 Fix insn_in_hook_proxy return type 2023-01-21 13:50:11 +01:00
Takacs, Philipp
a490ece557 Do not search for the RAMBlock in split_region
The MemoryRegion already contains a pointer to the RAMBlock. So it is
not necesary to search for it.
2023-01-18 16:24:06 +01:00
Luca Gladiator
014cee5bd1 Fix Rust binding memory leak 2023-01-18 10:52:35 +01:00
Dominik Maier
549f34f098 Fix warning for ./setup.py (#1756) 2023-01-06 01:10:09 +08:00
deadash
ca74497911 Add arch list feature control in Rust
Signed-off-by: deadash <dead.ash@hotmail.com>
2022-12-29 15:13:31 +08:00
TSRBerry
81baee2b1c gha: Fix master branch check 2022-12-15 17:24:53 +01:00
Nguyen Anh Quynh
1f2da9c717 Merge branch 'dev' of github.com:unicorn-engine/unicorn into dev 2022-12-07 01:36:58 +08:00
Nguyen Anh Quynh
9dc001d686 remove unused code in PPC & dis-asm.h 2022-12-07 01:36:44 +08:00
TSR Berry
dfea3f9e45 nuget: Build native libraries in jobs 2022-11-22 19:12:52 +01:00
5625102285 Merge pull request #1736 from ks0777/dev
add riscv constants to python binding module
2022-11-22 14:31:36 +01:00
mio
e9c1c17f6d Fix endianess detection 2022-11-16 15:16:49 +01:00
mio
5f5ef1546c Update CMakeLists versions 2022-11-16 15:01:49 +01:00
mio
6954396ae5 Merge branch 'master' into dev 2022-11-16 15:01:09 +01:00
Kevin Schneider
8edffe048e add riscv constants to python binding module 2022-11-14 19:59:38 +01:00
TSR Berry
d5ea8f6750 gha: Get correct file name before renaming 2022-11-05 18:34:25 +01:00
TSR Berry
331c11fea1 gha: Fix unzip extracting to the wrong directory 2022-11-05 16:45:48 +01:00
TSR Berry
8275b05ff4 gha: Try to fix 7zip extraction errors 2022-11-05 15:40:56 +01:00
TSR Berry
9bb45741b0 gha: Fix 7zip extraction arguments 2022-11-05 03:38:27 +01:00
TSR Berry
a810da7095 gha: List all native libs before packing .Net distribution 2022-11-05 02:56:31 +01:00
TSR Berry
2e6a888052 dotnet: Add native unicorn libraries to nuget package 2022-11-05 02:40:50 +01:00
TSR Berry
5d41b3346f gh: Publish new packages if bindings get modified 2022-11-02 14:46:08 +01:00
TSR Berry
9928600584 gh: Publish Nuget for dotnet bindings 2022-11-02 14:46:08 +01:00
TSR Berry
1d12e8778b bindings: Rename dotnet project to UnicornEngine
Add a few more properties to prepare a nuget package
2022-11-02 14:46:08 +01:00
Nguyen Anh Quynh
a16f4ff911 python: update list of supported archs in setup.py 2022-11-02 00:28:40 +08:00
Nguyen Anh Quynh
241a391cec Merge branch 'dev' 2022-11-01 23:36:54 +08:00
mio
db9ddabf9e Update bindings 2022-11-01 10:06:34 +01:00
mio
bdd9f4fa9a Bump version to 2.0.1 2022-11-01 10:06:22 +01:00
mio
d9c241d5f4 Update FAQ 2022-11-01 10:04:59 +01:00
Nguyen Anh Quynh
3c53a64e30 Merge branch 'dev' 2022-11-01 13:56:59 +08:00
mio
e6da816803 Update changelog 2022-10-31 16:09:06 +01:00
Nguyen Anh Quynh
8ac20e2012 python: add some more comments for samples 2022-10-31 12:37:18 +08:00
Nguyen Anh Quynh
951f155f0a Update SECURITY.md 2022-10-31 12:35:37 +08:00