Commit Graph

2769 Commits

Author SHA1 Message Date
lazymio
2af821953d
Merge pull request #1809 from kassane/zig-bindgen
Zig bindings - Generator
2023-03-26 12:18:25 +08:00
lazymio
5e2074da6a
Merge pull request #1808 from kallisti5/haiku-fix-2023
build: Fixes for Haiku
2023-03-26 12:17:23 +08:00
Matheus C. França
e9e7e0b6cf
Merge branch 'dev' into zig-bindgen 2023-03-23 16:17:55 -03:00
Matheus C. França
81a8536841
Update Cargo.toml
exclude new binding on rust build
2023-03-23 16:16:18 -03:00
Matheus C. França
48ce4164b3
new binding 2023-03-23 16:15:33 -03:00
Matheus C. França
c6158b8628 zig consts 2023-03-23 10:09:41 -03:00
Alexander von Gluck IV
d504e3a004 build: Fixes for Haiku
* Haiku is fully posix, so can be lumped together with most unix cases
2023-03-22 13:58:10 -05:00
lazymio
d9dcfc1264
Merge pull request #1806 from tunz/tunz/cache
Cache index for find_memory_region
2023-03-21 19:20:50 +08:00
Choongwoo Han
0a38a0bf17 Fix test failure 2023-03-20 18:41:59 -07:00
Choongwoo Han
8f2841ecdb Cache index for find_memory_region 2023-03-20 17:07:15 -07:00
lazymio
a0ff413830
Merge pull request #1800 from PhilippTakacs/emu_stop
difference between stop_request and quit_request
2023-03-12 20:28:29 +01:00
mio
11fcbad9ff
Remove redundant printf 2023-03-12 20:28:01 +01:00
lazymio
f442203628
Merge pull request #1802 from tunz/tunz/hook-del
[dotnet] Use native binding calls whenever possible
2023-03-12 20:03:46 +01:00
lazymio
fb78016127
Merge pull request #1794 from tunz/tunz/dotnet-nuget
[dotnet] Add /MT flag for nuget package build
2023-03-12 20:02:10 +01:00
Choongwoo Han
b4b6caf57c [dotnet] Support HookDel with native bindings call 2023-03-11 08:51:01 -08:00
Takacs, Philipp
b7b1a4d6b4 difference between stop_request and quit_request
quit_request is for internal use. This means the IP register was updated and
qemu needs to rebuild the translation blocks.

stop_request is set by the user (uc_emu_stop) to indecate that unicorn sould
stop emulating.
2023-03-07 14:38:49 +01:00
lazymio
ca7e0e7f42
Merge pull request #1795 from rhelmot/dev
Use libunicorn.so.2 as fallback path
2023-03-02 20:15:52 +01:00
Audrey Dutcher
cef7d7d0fb Use libunicorn.so.2 as fallback path 2023-03-02 19:14:25 -07:00
lazymio
f7c841db84
Merge pull request #1793 from tunz/tunz/dotnet-fixes
[dotnet] Fix garbage collected hooks and wrong signature
2023-03-01 17:41:19 +01:00
Choongwoo Han
545c9ed24e [dotnet] Add /MT flag for nuget package build 2023-02-28 20:25:19 -08:00
Choongwoo Han
03a793e934 [dotnet] Fix garbage collected hooks and wrong signature 2023-02-28 19:35:38 -08:00
lazymio
c75f3743d4
Merge pull request #1790 from tunz/tunz/dotnet-binding-hook
[dotnet] Set begin > end address for hooks
2023-02-27 20:20:46 +01:00
lazymio
04d020449a
Merge pull request #1791 from PhilippTakacs/cpuid
[x86] don't hardcode cpuid results
2023-02-27 20:19:33 +01:00
Takacs, Philipp
14404ef04b [x86] don't hardcode cpuid results
The cpuid results are set by the selected cpu.

CLOSES #1787
2023-02-27 12:34:38 +01:00
Choongwoo Han
b961ebc9cb [dotnet] Set begin > end address for hooks 2023-02-26 08:41:01 -08:00
mio
a91319908d
Remove obsolete Brewfile 2023-02-20 20:57:50 +01:00
mio
8a6f4e54c2
Install pkg-config for other workflows 2023-02-20 20:53:52 +01:00
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
lazymio
7b8c63dfe6
Exclude enhancement and bug issues 2023-02-07 10:44:36 +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
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