Commit Graph

2122 Commits

Author SHA1 Message Date
Bet4 c400924fe1
Merge branch 'dev' into patch 2021-10-17 18:18:09 +08:00
mio 15bcdf7cbc
Add documentation link 2021-10-17 03:36:58 +02:00
mio a11cd9c43f
Ready for rust bindings release 2021-10-17 03:26:40 +02:00
mio 6d0d0897f8
Fix Rust build and CI.
Add a test for ppc and fix ppc on windows.
2021-10-17 02:11:38 +02:00
mio f7bc485819
Fix wrong directory 2021-10-16 21:41:54 +02:00
mio 46d3b05394
Use github.sha instead 2021-10-16 21:37:52 +02:00
mio b7a530fda5
Remove wrong tags-ignore 2021-10-16 21:35:09 +02:00
mio 304b94cfbb
Specify the version 2021-10-16 21:33:19 +02:00
mio 9e447fca1a
Fix syntax 2021-10-16 21:26:22 +02:00
mio 671f22287f
Add CI for rust 2021-10-16 21:25:07 +02:00
mio c8eea0bcb3
Fix build.rs and tests 2021-10-16 21:21:12 +02:00
mio daf16749bc
Add a comment in adb.sh 2021-10-16 20:43:34 +02:00
mio 5b67b34d65
Merge chfl4gs/dev to unicorn/dev 2021-10-16 20:37:16 +02:00
mio bc5efc9ee5
Fix Android x86_64 build
Note: At this time, both arm32 and arm64 emulation doesn't work on either macOS and Ubuntu so we could only have x86_64
2021-10-16 20:35:23 +02:00
mio 9954763c02
Add MSVC 32bit and Android x86_64 CI. 2021-10-16 20:32:34 +02:00
lazymio fde59f38ce
Merge pull request #1462 from bet4it/const
Update Rust constants to Unicorn2
2021-10-16 17:10:59 +02:00
Bet4 5a97bf7f8f Update Rust constants to Unicorn2 2021-10-15 09:17:43 +08:00
lazymio 0b7873f5a6
Merge pull request #1461 from bet4it/java
Improve Java bindings
2021-10-14 15:40:11 +02:00
Bet4 fe296d1c9e Improve Java bindings 2021-10-14 18:39:38 +08:00
Wu ChenXu 4e155b3d22
Update Documentation Version (#1459)
* Update Documentation version

* Update documentation links in docs/README
2021-10-14 00:00:10 +08:00
Sun Daowen 5eab884244 compile on VS2008/VS2010 (#1397)
Compiling with Win32 Release/MinSizeRel/RelWithDebInfo in VS2008 will cause "fatal error C1063: compiler limit: compiler stack overflow" problem.
Compiling with Win32 Debug or x64 does not have this problem.
You can easily bypass this problem by changing the optimization options /O1 and /O2 to /Od.
In VS2010, when _INTPTR is 0 or 1, UINTPTR_MAX is 0xFFFFFFFF.
2021-10-12 08:50:22 +08:00
Sven Almgren f27c6fa655 X86 instruction FTST was incorrectly overwriting ST0 instead of FT0 (#1372)
* X86 instruction FTST was incorrectly overwriting ST0 instead of FT0

* credits update
2021-10-12 08:41:57 +08:00
insane-shane 47ecfc1b2c Handle exceptions raised in Python hook functions (#1387) 2021-10-12 08:35:52 +08:00
Bet4 5f40667d91 Support querying architecture mode besides arm (#1389) 2021-10-11 11:39:23 +08:00
David CARLIER e2a924a32b qemu_getauxval FreeBSD implementation backport (#1366) 2021-10-11 11:22:16 +08:00
Peter Meerwald-Stadler 00b4a17c1b Fix some typos in include files (#1350) 2021-10-11 11:18:27 +08:00
smeng9 d1496f3700 Update binding list (#1349) 2021-10-11 11:17:49 +08:00
mio 8f7ecfe48b
Support configure threads by environment variable 2021-10-10 23:46:22 +02:00
lazymio b133e4e7c3
Merge pull request #1454 from bet4it/dep
Update dependencies of rust bindings
2021-10-08 10:11:42 +02:00
mio 5148d93e40
Sync with build-uc2.yml 2021-10-06 23:24:02 +02:00
mio d3a0afe8fd
Make sure workflow triggered for pull requests 2021-10-06 23:22:02 +02:00
Bet4 8120a11f24 Update dependencies of rust bindings 2021-10-06 22:43:14 +08:00
lazymio 0c976ec704
Don't build samples and tests to save time when fuzzing 2021-10-06 16:24:52 +02:00
lazymio 5572c3db43
Make oss-fuzz happy 2021-10-06 15:46:25 +02:00
lazymio 8540b64211
Force static linkage for fuzz executables 2021-10-06 15:36:12 +02:00
lazymio df5df118db
Update TODO 2021-10-06 12:52:52 +02:00
lazymio c9c685af51
Remove cmocka since we don't need it anymore 2021-10-06 12:52:20 +02:00
lazymio b24240118f
Don't trigger on tags and docs 2021-10-06 12:51:52 +02:00
lazymio ad3c0a5b32
Bump python bindings version 2021-10-06 12:37:13 +02:00
lazymio a4c6298302
Support building fuzz targets 2021-10-06 12:06:59 +02:00
lazymio 8ab7e0626d
To make dockcross-x86 happy 2021-10-06 11:53:34 +02:00
lazymio 3cbad9556a
Fix name typo 2021-10-06 11:07:55 +02:00
lazymio 76a1b4661c
Fix a memory leak due to wrong free order 2021-10-06 10:11:04 +02:00
mio db821ad005
Sync documents 2021-10-06 04:53:05 +08:00
mio fd4c6ef082
Update README to add Android 2021-10-06 04:49:18 +08:00
mio ae1b6ad89b
Support building on Android arm aarch64 x86 x86_64
1. Add cmake support in CMakeLists.txt according to https://developer.android.com/ndk/guides/other_build_systems

2. Resolve symbols errors

3. Backport fixes from 438ed42311

   > QEMU relies on two optimization for ppc64 and arm:
   >
   > 1. if(0) /* optimized code */
   > 2. assert(0); /* optimized code */
   >
   > But the assert on mingw32 doesn't have noreturn attribute which prevents
   > the second optimization and some code is reverted to the original code
   > to fit in the first optimization.
   >
   > The assert implementation is copied from glib as qemu did.

   Unfortunately, NDK also doesn't have an assert implementation qemu prefers.
2021-10-06 04:42:44 +08:00
lazymio 04f538e151
Delete stale.yml 2021-10-05 19:50:41 +02:00
mio 4c438e7774
Update comments for UC_HOOK_INSN 2021-10-05 18:15:31 +02:00
mio 9d8a309fbf
Allow user to instrument cpuid instruction 2021-10-05 17:15:49 +02:00
mio af60b4dfab
Add stale bot 2021-10-05 17:05:24 +02:00