Commit Graph

2829 Commits

Author SHA1 Message Date
mio
12a79192ee
Demand paging on Windows 2023-01-28 22:04:43 +01:00
lazymio
7e4754ad00
Merge pull request #1754 from edsky/master
Add arch list feature control in Rust
2023-01-24 21:49:18 +01:00
lazymio
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
lazymio
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
lazymio
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
mio
56f3bdedb4
Update ChangeLog 2022-11-22 21:55:02 +01:00
TSR Berry
dfea3f9e45
nuget: Build native libraries in jobs 2022-11-22 19:12:52 +01:00
lazymio
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
Nguyen Anh Quynh
896416b350
Update SECURITY.md 2022-10-29 01:32:05 +08:00
mio
fc193ffe24
Fix missing macros 2022-10-28 17:55:39 +02:00
mio
a40bf26263
Disable test_x86_unaligned_access on be hosts 2022-10-28 17:53:20 +02:00
mio
428ed8fd21
Fix test_x86_unaligned_access for big endian hosts 2022-10-28 17:47:55 +02:00
mio
563104fa91
IP register is 2 bytes 2022-10-28 17:44:17 +02:00
mio
9c5358c759
Respect QEMU ZMM_Q to work on big endian hosts 2022-10-28 17:37:02 +02:00
mio
3c18ddcc41
Fix PC write for PPC32/64 2022-10-28 16:23:50 +02:00
mio
4b961a8ef6
Apply fix for big endian hosts per #1710 2022-10-28 16:20:20 +02:00
mio
98980c904c
Pass the correct size integers 2022-10-28 15:59:14 +02:00
mio
47275c18f4
Fix a test bug 2022-10-28 15:02:59 +02:00
mio
d80cd54b0f
Revert test_ctl endian changes 2022-10-27 23:39:43 +02:00