Commit Graph

1437 Commits

Author SHA1 Message Date
Andrew Dutcher
42949408ca Added test for real self-modifying code 2016-08-14 23:21:38 -07:00
Andrew Dutcher
b1f03a02f2 Add tests for xmm register read/write 2016-08-14 19:26:32 -07:00
Andrew Dutcher
9c720092d3 Add xmm register read/write samples in C and python 2016-08-14 18:45:59 -07:00
Nguyen Anh Quynh
cd86da383b Merge pull request #613 from lunixbochs/master
convert more allocs to glib
2016-08-11 23:18:58 +08:00
Ryan Hileman
cc57ba951f convert more allocs to glib 2016-08-11 08:16:14 -07:00
Nguyen Anh Quynh
6b353fd7a8 Merge pull request #612 from lunixbochs/master
fix free() -> g_free()
2016-08-11 22:57:48 +08:00
Ryan Hileman
f99030179c fix free() -> g_free() 2016-08-11 07:49:19 -07:00
Andrew Dutcher
3a1f231e8f eflags patch 2016-08-09 19:38:44 -07:00
Andrew Dutcher
97b10da133 Undo the disaster that was the patch to unicorn github issue #266 and fix it correctly. makes normal self-modifying code work. 2016-08-09 19:35:20 -07:00
Andrew Dutcher
4a8f52ae7f support xmm registers 2016-08-09 19:34:34 -07:00
Nguyen Anh Quynh
236b6e9085 Merge pull request #605 from zchee/readme-ex
Fix document file extension
2016-08-08 18:07:46 +08:00
Koichi Shiraishi
adcedea8e4
Fix document file extension
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
2016-08-08 17:33:49 +09:00
Nguyen Anh Quynh
3e8b9ca2e5 Merge pull request #604 from starfleetcadet75/master
Fix issue #603
2016-08-08 12:41:07 +08:00
starfleetcadet75
12a809624a Fix issue #603 2016-08-07 23:49:36 -04:00
Hoang-Vu Dang
d15b128ef3 Fix issue #601 2016-08-06 21:26:47 -05:00
Nguyen Anh Quynh
7b47ab6b66 Merge pull request #595 from samothtronicien/master
Added unit tests for X86 (SHL bug with the Parity Flag + ENTER)
2016-08-01 21:41:53 +08:00
samothtronicien
edd37f7a1c removing tests/regress/test_x86_shl.cpp 2016-08-01 10:31:10 +02:00
samothtronicien
92f97da49f bit of refactoring 2016-07-31 19:45:46 +02:00
samothtronicien
f1041a2615 renamed to test_x86_shl_enter_leave.c 2016-07-31 03:23:00 +02:00
samothtronicien
ae8e34173a added tests with enter/leave 2016-07-31 03:19:52 +02:00
samothtronicien
1ecc5abdbc fixed typo: test_x86_shl_pf -> test_x86_shl 2016-07-30 16:44:54 +02:00
samothtronicien
8120b7732e added test_x86_shl_pf to makefile 2016-07-30 16:42:51 +02:00
samothtronicien
c1cd06ec52 ported test to C 2016-07-30 16:41:40 +02:00
Nguyen Anh Quynh
fd39ec465b arm: sync env.uc->thumb with env.thumb in arm_reg_write() 2016-07-30 13:21:44 +08:00
Nguyen Anh Quynh
a59f54ca72 Merge branch 'master' of https://github.com/esanfelix/unicorn into esanfelix-master 2016-07-30 13:18:37 +08:00
samothtronicien
6c3eecb2a3 added unit test for x86
This test highlight the issue with the SHL instruction in the form (SHL r, CL), the flags values retrieved in the code hook are not correct.
2016-07-30 04:18:12 +02:00
samothtronicien
6fc1f27492 completed the test
The issue noticed before only occurs while we are in the hook_code (eflags is not correctly updated after the execution of the SHL instruction using CL).
Once the emulation has finished executing the code the value of eflags is correct.
2016-07-29 18:52:53 +02:00
samothtronicien
2ba32922e4 Moved test_x86_shl.cpp to tests/regress 2016-07-29 12:00:48 +02:00
Nguyen Anh Quynh
38758d7689 Merge pull request #596 from andrew-d/andrew/fix-python
Get Python samples running on Python 3
2016-07-29 16:58:19 +08:00
Andrew Dunham
c87a487fec Get Python samples running on Python 3 2016-07-29 00:28:43 -07:00
samothtronicien
8ec8c85e0b added regress test for X86
Test a bug with the SHL instruction.
2016-07-28 22:35:58 +02:00
Nguyen Anh Quynh
608cb1d943 Merge pull request #593 from lunixbochs/master
Go bindings: fix concurrent hook updates
2016-07-28 00:20:51 +08:00
Ryan Hileman
5ade2fa627 Go bindings: fix concurrent hook updates 2016-07-27 05:16:12 -07:00
Nguyen Anh Quynh
07426d324b regress: chmod +x x86_fldt_fsqrt.py 2016-07-16 22:31:39 +08:00
Nguyen Anh Quynh
c127df0ed0 Merge pull request #590 from niklasb/master
Add regression test for fsqrt hang
2016-07-16 22:26:35 +08:00
Niklas Baumstark
3eaceec07e add regression test for fsqrt hang 2016-07-16 15:19:44 +02:00
Nguyen Anh Quynh
f8942f5987 docs: note on glib universal format for MacOS 2016-07-15 16:46:09 +08:00
Nguyen Anh Quynh
6f5e59be73 make.sh: add new option 'macos-universal' to build MacOS universal binaries 2016-07-15 16:34:16 +08:00
Nguyen Anh Quynh
c61aff1dbe mips: remove an unused variable 2016-07-15 15:12:15 +08:00
Nguyen Anh Quynh
eea0b2d520 build MacOS binaries in universal format. based on suggestion of @ThomasKing2014 at issue #482 2016-07-15 14:12:30 +08:00
Nguyen Anh Quynh
7af728bb0c appveyor: build for both 32bit & 64bit 2016-07-14 11:20:15 +08:00
Nguyen Anh Quynh
020d8b9608 appveyor: use Cygwin to build 2016-07-14 10:59:00 +08:00
Nguyen Anh Quynh
0a4544c82c Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2016-07-12 10:29:31 +08:00
danghvu
bb8f894872 windows: Remove unnecessary mman inclusion (issue #587) 2016-07-11 13:35:49 -05:00
Nguyen Anh Quynh
579560e712 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2016-07-11 23:37:12 +08:00
Hoang-Vu Dang
b9a10152f1 memleak: code_gen_buffer using g_free for non-linux 2016-07-11 10:13:13 -05:00
Nguyen Anh Quynh
b806469f14 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2016-07-10 09:40:53 +08:00
danghvu
27e0699ef5 mips: Fix memleak 2016-07-09 20:16:00 -05:00
Nguyen Anh Quynh
0a4ca0d365 regress: make some tests less noisy 2016-07-09 10:50:21 +08:00
danghvu
117a318188 memleak: missing from refactoring 2016-07-08 12:49:43 -05:00