32bca0bd02
regress: fix some compilation warnings on printf format
2016-01-10 23:45:02 +08:00
a0aa26d6ee
c89
2016-01-10 23:34:36 +08:00
cd6c98f5df
sample: make hook_out() of sample_x86.c more deterministic
2016-01-10 23:25:05 +08:00
580bc7b56a
cleanup
2016-01-10 23:10:00 +08:00
036763d6ae
Fix memory leaks as reported by DrMemory and Valgrind.
...
ARM and probably the rest of the arches have significant memory leaks as
they have no release interface.
Additionally, DrMemory does not have 64-bit support and thus I can't
test the 64-bit version under Windows. Under Linux valgrind supports
both 32-bit and 64-bit but there are different macros and code for Linux
and Windows.
2016-01-08 01:42:56 +02:00
13726b3d40
Merge branch 'master' into cygwin
2016-01-07 23:17:32 +07:00
57cf585d4c
Merge pull request #361 from farmdve/fix_bugs2
...
Remove more instances of tcg_register_jit.
2016-01-07 22:48:25 +07:00
2304bbfc96
Remove more instances of tcg_register_jit
2016-01-07 16:39:41 +02:00
bfeb08d1ba
fix some compilation warning
2016-01-06 14:11:21 +08:00
e8a295991f
update qemu/header_gen.py
2016-01-06 00:44:29 +07:00
443e9de61a
Merge branch 'master' of https://github.com/unicorn-engine/unicorn
2016-01-06 00:19:29 +07:00
399b4c2382
Merge pull request #360 from farmdve/fix_bugs2
...
Add some fixes to mem_unmap and mem_nofree tests.
2016-01-06 00:04:52 +07:00
264c4c1b54
Add some fixes to the tests.
...
My mem_nofree test fails on the latest code as apparently my address and
sizes overlap each other.
The mem_unmap test failed as the invalid memory hook case was incorrect.
2016-01-05 18:02:54 +02:00
e0cb02569e
remove unused tcg_register_jit() and related code
2016-01-05 16:02:34 +07:00
e70d471266
Merge pull request #357 from enkomio/master
...
Updated dotnet binding
2016-01-05 15:32:31 +07:00
2c54f1a969
Solution refactoring and bug fixing
2016-01-04 16:59:05 +01:00
272fb8524f
Fixed spacing in dotnet comment
2016-01-04 16:55:20 +01:00
2952d255c2
Fixed spacing in constants files generation for .NET
2016-01-04 11:31:17 +01:00
5d3aac30e6
refactored code and minor bug fixing
2016-01-04 11:30:11 +01:00
075ccadbe9
x86: set s->pc in disas_insn() early to fix uninitialized read issue. bug reported by @farmdve
2016-01-03 08:25:51 +07:00
232cff02d2
Implemented IDisposable in order to disposed allocated unmanaged memory
2016-01-02 14:13:47 +01:00
19930b0514
spaces
2016-01-01 14:15:01 +08:00
092752fa58
80 columns
2016-01-01 14:14:03 +08:00
b3ebd1b7cb
Merge branch 'master' of https://github.com/iroiro123/unicorn into iroiro123-master
2016-01-01 14:01:39 +08:00
06108ea908
regress: add rep_hook.py
2016-01-01 10:44:08 +08:00
91501bc2d1
unit: modify the testcase #349 to reflect the recent change on the semantics of uc_mem_map()
2015-12-30 09:19:34 +08:00
7e16f7a50d
disallow mapping memory range that is already mapped. this fixes issue #350
2015-12-30 09:17:47 +08:00
6e534417f1
unit: change clang -> CC
2015-12-30 08:50:58 +08:00
fa2da819b6
added test for unmap of doubly mapped region
2015-12-28 22:02:31 +01:00
53a989a751
Merge branch 'master' of https://github.com/unicorn-engine/unicorn
2015-12-29 01:35:24 +08:00
39d3992512
update CREDITS
2015-12-29 01:35:02 +08:00
10228dcb12
link shared library with option -Bsymbolic-functions. proposed by @egberts. this fixes issue #187
2015-12-29 01:11:37 +08:00
f935469658
mips: handle memory redirect for all APIs. this fixes issue #347
2015-12-28 15:19:30 +08:00
f10d79e95f
x86: fix a compilation warning on unused variable
2015-12-28 13:06:25 +08:00
b5feddbf1e
indentation
2015-12-28 13:04:59 +08:00
99b401c609
Merge branch 'la-fixed' of https://github.com/JCYang/unicorn into JCYang-la-fixed
2015-12-28 12:21:31 +08:00
de197ffab4
Merge pull request #347 from metrzero/master
...
Regression test for MIPS kernel mode execution
2015-12-28 08:50:28 +08:00
9da93af861
Removed commented out code from MIPS kernel MMU test
2015-12-28 00:36:56 +00:00
822198ad16
Added new regression test for ability to execute MIPS at KSEG0 and higher when in kernel mode
2015-12-28 00:34:26 +00:00
bb375e4fa9
Reset correctly the register CR0 in protected mode by calling cpu_x86_update_cr0 instead of setting it manually.
2015-12-25 04:55:15 +01:00
9ca993d8aa
Restore the protected mode check.
2015-12-24 18:39:19 +01:00
c9f6648877
Add sysenter_hook_x86 to tests/regress/Makefile and sysenter_hook_x86 to .gitignore.
2015-12-24 18:25:35 +01:00
4c3ad139ea
( Fix #341 ) SYSENTER instruction is not properly hooked with uc_hook_add in x86 emulation.
...
helper_sysenter in qemu/target-i386/seg_helper.c didn't check properly if a call interrupt callback was registred.
It has been fixed by copying the helper_syscall behavior.
2015-12-24 16:00:22 +01:00
ed319bda0b
x86: identity map guest address to host address. this fixes issue #300
2015-12-24 09:51:17 +08:00
8a29acd0de
Merge pull request #338 from michalmalik/patch-2
...
fix #337
2015-12-23 10:27:43 +08:00
8548ffe6b5
fix #337
...
https://github.com/unicorn-engine/unicorn/issues/337
2015-12-23 00:19:34 +01:00
2984901f62
regress: fix testcase hook_code_add_del.py
2015-12-23 01:45:29 +08:00
b29ce1c4fd
chmod +x hook_code_add_del.py
2015-12-23 01:44:02 +08:00
0f6d27cc88
Merge branch 'xorstream-mips_branch_likely_issue'
2015-12-23 01:40:51 +08:00
24d344bf61
Merge branch 'master' of https://github.com/unicorn-engine/unicorn
2015-12-23 01:40:42 +08:00