Commit Graph

3137 Commits

Author SHA1 Message Date
Amarachi Omereife
dfdf7e7cd1 create artifacts folder 2023-10-15 13:02:15 +01:00
Amarachi Omereife
f9a1b49c2b refactor 2023-10-15 12:46:18 +01:00
Amarachi Omereife
efc9d9ad8e workflow dispatch 2023-10-15 12:38:02 +01:00
Amarachi Omereife
a5f7059a34 attach-release 2023-10-15 12:21:50 +01:00
ca65964e78 Merge pull request #1886 from hamarituc/modern_c
Fix deprecated C syntax
2023-10-15 16:03:06 +08:00
Mario Haustein
9a2583e967 fix deprecated storage-class declarations 2023-10-08 13:40:23 +02:00
Mario Haustein
5983b399d8 use full prototypes for functions without parameters 2023-10-08 13:39:13 +02:00
9c4f8a8123 Merge pull request #1873 from mlgiraud/fix/vtlb_snapshots
fix: Use correct addresses during memory cow
2023-09-01 18:07:45 +08:00
Mark Giraud
ce1ee5ac4d refactor: Make clippy happy 2023-08-25 15:40:00 +02:00
Mark Giraud
f081af002a test: Add test to reproduce cow+vtlb error 2023-08-24 11:44:21 +02:00
Mark Giraud
e189e1fb8b fix: Use correct addresses during memory cow 2023-08-23 10:18:42 +02:00
da47173d8a Merge pull request #1872 from mlgiraud/feat/uc_ctl_context_mode
Add uc_ctl_context_mode to rust bindings
2023-08-17 12:09:04 +08:00
67765012f6 Merge pull request #1871 from mlgiraud/refactor/rustify
Refactor/rustify
2023-08-17 12:08:05 +08:00
8254890b24 Merge pull request #1868 from mlgiraud/fix/from_handle_unsafe
Fix/from handle unsafe
2023-08-17 11:58:18 +08:00
Mark Giraud
fbe1b4421a feat: Add ctl_context_mode to rust bindings 2023-08-16 14:13:50 +02:00
Mark Giraud
fd3b7082b4 refactor: Make rust bindings more rusty 2023-08-15 11:04:50 +02:00
Mark Giraud
5fd12af68a formating: Use rustfmt style for rust bindings 2023-08-14 13:55:24 +02:00
Mark Giraud
5318fcda33 fix: Make from handle function unsafe 2023-08-14 13:38:26 +02:00
44ca44ea1e Merge pull request #1867 from mlgiraud/fix/no_ffi_in_api
fix: Wrap uc_hook to not expose ffi types in public api
2023-08-14 18:06:14 +08:00
Mark Giraud
bb7df65a1c fix: Wrap uc_hook to not expose ffi types in public api 2023-08-14 10:38:27 +02:00
19a794b97e Merge pull request #1866 from mlgiraud/fix/unsafe_ptr_deref
fix: Make functions that deref ptr unsafe
2023-08-13 14:36:50 +08:00
Mark Giraud
4e194a54d9 fix: Make functions that deref ptr unsafe 2023-08-11 13:18:04 +02:00
3c89d0c3ce Fix ctl_remove_cache for python2 2023-08-09 14:11:21 +08:00
6ae0c97226 Merge pull request #1815 from kassane/zig-build
Zig - Sample build
2023-08-06 22:14:55 +08:00
6801e156aa Format code 2023-08-06 21:53:42 +08:00
30bc08611b Add a unit test for #1717 2023-08-06 21:53:04 +08:00
c889258d8e Avoid overwriting tmp0 2023-08-06 21:25:37 +08:00
Matheus C. França
4fb4b3e4b0 Zig binding
* zig binding - sample added
* zig build CI
* split mingw (shared/static) CI/CD
* unicorn log added
* build C/C++ samples
2023-08-04 11:24:00 -03:00
0619deeafd Merge pull request #1861 from basavesh/dev
Backport qemu/qemu@75b208c
2023-08-04 11:18:49 +08:00
basavesh
cf5e75953d Backport qemu/qemu@75b208c
target/i386: fix operand order for PDEP and PEXT

For PDEP and PEXT, the mask is provided in the memory (mod+r/m)
operand, and therefore is loaded in s->T0 by gen_ldst_modrm.
The source is provided in the second source operand (VEX.vvvv)
and therefore is loaded in s->T1. Fix the order in which
they are passed to the helpers.
2023-08-03 13:12:39 +02:00
6e97e59f54 Fix building on Apple Sillicon 2023-08-03 13:17:26 +08:00
6074150ebe Merge pull request #1850 from mlgiraud/fix/clippy_warnings
Fix clippy warnings
2023-07-26 19:53:52 +08:00
Mark Giraud
c43ab92326 fix: Add missing Copy derive 2023-07-26 09:58:09 +02:00
Mark Giraud
5a5b1bbb05 fix: update bitflags dependency and fix flippy warnings 2023-07-26 09:55:04 +02:00
239766aa66 Merge pull request #1849 from mlgiraud/fix/rust_compiler_warnings
Fix rust compiler warnings
2023-07-26 15:35:33 +08:00
1e0930d478 Merge pull request #1847 from lockbox/dev
Add CpuModel's for architectures to rust bindings
2023-07-26 15:35:01 +08:00
34cca20877 Merge pull request #1848 from PhilippTakacs/vtlb-perms
vtlb only cache access permisions required for the operation
2023-07-26 15:32:45 +08:00
Mark Giraud
546561f3cc fix: Remove unnecessary use statement that causes warnings 2023-07-18 11:49:18 +02:00
Takacs, Philipp
f6cfe1092b vtlb only cache access permisions required for the operation
see #1845
2023-07-17 12:54:38 +02:00
elicn
0a876d30ea Allow setting CPU model on Uc initialization 2023-07-14 00:44:58 +03:00
elicn
cef2b3394d Fix MMIO hooks prototypes 2023-07-14 00:43:42 +03:00
elicn
b1605d4006 Fix TCG opcode hook prototype 2023-07-14 00:42:40 +03:00
Eli
922c1e6333 Merge branch 'dev' into uc-py-next 2023-07-13 23:00:01 +03:00
lockbox
2f2bf8d96f add cpu model to architectures for rust bindings 2023-07-13 13:58:14 -04:00
lockbox
84fe5d1756 expose ffi in rust bindings 2023-07-13 13:57:04 -04:00
e88264c658 Merge pull request #1820 from PhilippTakacs/cow
add memory snapshots
2023-07-11 19:24:00 +08:00
Takacs, Philipp
ab5938b3f6 Update CREDITS.TXT 2023-07-11 11:51:44 +02:00
Takacs, Philipp
df18756234 implement uc_mem_unmap with snapshots
still has todos and need tests
2023-07-11 11:51:44 +02:00
Takacs, Philipp
716c8f1c4c handle snapshots over context_save context_restore 2023-07-11 11:51:44 +02:00
Takacs, Philipp
e54cf7ee03 find_ram_offset optimization
The ram_offset allocator searches the smalest gap in the ram_offset address space.
This is slow especialy in combination with many allocation (i.e. snapshots). When
it is known that there is no gap, this is now optimized.
2023-07-11 11:51:44 +02:00