* - Fix JAVA binding compilation:
Apparently, the pointer there is a leftover from the previous implementation.
Fails to build on OSX.
* - Fix m68k regression test, probably needs updating as a result of #2161.
* - Fix the Java regression testing, probably as a result of fixing #2161.
---------
Co-authored-by: mac <[email protected]>
* Python bindings:
- Enable ABI wheel building
- Rework the workflow in order to build ABI3 wheels for all python versions without any separations
- Bump cibuildwheel to v2.23.3
* more memory
* revert to previous value
* Smaller tcg buffer size for this test
* Migrate the action
Reviewed-by: Antelox <[email protected]>
* Add concurrency control
* reduce because 32bit process may run-out-of virtual addresses
* Revert "Add concurrency control"
This reverts commit 79d76a9f5b.
* use macos-14 tempporarily
---------
Co-authored-by: mio <[email protected]>
Co-authored-by: ReenigneArcher <[email protected]>
* Fix `read_sprr_perm` for Apple real CPUs and GitHub Actions; enable Apple ARM64 wheel builds on PyPI. Fixes#2033.
* Guard `assert_executable` with `pthread_jit_write_protect_supported_np`
There has a hidden danger in g_hash_table_resize function:
The g_hash_table_resize, it seems to resize the has table, and write the
old value to the new hash table. It seems look for the empty items in
the new_nodes, and if the new_nodes is not be cleared, it maybe naver
found the empty items. So I added a line under the g_new0 function, and
I think clearing new_nodes every time may improve the performance.
Added a memset to clear the new_nodes to fix this problem.
REF: https://github.com/intel/unicorn-for-efi/pull/13
Signed-off-by: Chao Li <[email protected]>
Signed-off-by: Dongyan Qian <[email protected]>
* x86 mmu allow probe requests
* add api to access memory by virtuall addresses
New api to read from, translate, or write to a virtual address. When
using the MMU it's useful to direct use the virtual addresses.
* fixup! add api to access memory by virtuall addresses
* modify uc_priv.h to use 64 bit hwaddr type for length for uc_write_mem_t and uc_read_mem_t
* propogate 64 bit address support to memory function inside unicorn.h
* modify physical memory functions to ensure 64 bit support for size parameters
* apply uint64_t size handling inside the memory handling main functions
* remove INT_MAX size check as we now use a 64 bit address
* add @secretnonempty unit test for large memory addresses to avoid regression
* replace size_t in python3 bindings with u64
* adjust rust bindings
* use format.sh script to improve formatting
* small adjustments to java bindings, because jlong type is sometimes already used
* adjust dotnet bindings to reflect new type sizes
* adjust pascal bindings
* adjust ruby bindings
* adjust vb6 bindings
* adjust zig bindings for 64 bit size support
* fix build.zig.zon for newer zig versions
* add haskell binding support for 64 bit sizes
* use mlugg/setup-zig instead of goto-bus-stop/setup-zig github action to get access to current zig releases
* use uint64_t instead of size_t for uc_mem_unmap
* add whitespace between functions to preserver formatting
* add precompiler check for android and abort execution of testcase to avoid infinite low memory killer loop
* downgrade zig version to 0.14.0 again to ensure that pipeline can run through
* adjust rust mmio_unwrap type to use u64
* change ffi size type of uc_mem_map_ptr into u64
* add warning to rust slicing
* return read_mem_as_vec to earlier state, leave usize as argument because there cannot be larger vec![] anyway
* adjust regions inside MmioCallbackScope to use u64 for region sizes
* adjust regions inside MmioCallbackScope to use u64 for region sizes inside search vec
* finalize dotnet bindings inside IBinding.fs
* fix typo
* adjust types inside Unicorn.fs
* finalize type wrangling inside F# bindings, setting MemRead and MemWrite to correct types
* fix missing bracket inside bindings/rust/src/lib.rs
* replace ffi interface to hook interface inside rust lib
* fix testcases to use u64 for longer references
Co-authored-by: r0b0t <[email protected]>