Commit graph

1282 commits

Author SHA1 Message Date
petevine 1bf85461c2 Add getauxval.c back 2016-01-18 12:47:32 +01:00
Nguyen Anh Quynh 6f0a01293d unit: fix some compilation warnings in test_tb_x86.c 2016-01-17 10:06:00 +08:00
steve f0dac63b69 In response to issue #364, a unit test case has been created
for exercising proper flushing of the instruction translation cache.
2016-01-16 18:05:32 -05:00
Nguyen Anh Quynh f5fa84d985 consistent style for docs of unicorn.h 2016-01-16 18:31:24 +08:00
Nguyen Anh Quynh 978f671fa5 fix some comments in unicorn.h 2016-01-16 18:17:13 +08:00
Nguyen Anh Quynh 3d8f413ce8 new API uc_mem_regions() to retrieve the list of memory regions mapped by uc_mem_map_*() 2016-01-16 16:57:17 +08:00
Nguyen Anh Quynh d0125eb8bf regress: add invalid_write.py to test issue #371 2016-01-13 11:35:09 +08:00
Nguyen Anh Quynh 97e8d9f80b fix link to Github issues in README.md 2016-01-12 09:53:01 +08:00
Nguyen Anh Quynh a5dba24f3e more readable README.md 2016-01-12 09:50:17 +08:00
Nguyen Anh Quynh 7906021037 rename docs/README to docs/README.md 2016-01-12 09:43:40 +08:00
Nguyen Anh Quynh 2542e963a8 update README 2016-01-12 09:39:24 +08:00
Nguyen Anh Quynh 3a8ad6f944 java: add .class & .jar files to .gitignore 2016-01-12 01:03:44 +08:00
Nguyen Anh Quynh 7de48f2f75 regress: add emu_clear_errors to .gitignore 2016-01-12 01:02:45 +08:00
Nguyen Anh Quynh 7695fb1578 x86: no need to reset env->invalid_error in x86_reg_reset() as we always do that in cpu_exec() 2016-01-12 01:01:11 +08:00
Nguyen Anh Quynh 71ad9310fc sanity check on arguments of uc_mem_map_ptr() 2016-01-12 00:59:56 +08:00
Nguyen Anh Quynh b85f0c38d1 Merge branch 'williballenthin-test/issue-351' into farmdve-fix_bugs2 2016-01-12 00:45:26 +08:00
Nguyen Anh Quynh e1fe63ae13 regress: fix compilation warnings for emu_clear_errors.c 2016-01-12 00:37:15 +08:00
farmdve 89eac66bf7 Move sanity checks before uc->memory_map is called. 2016-01-11 18:26:23 +02:00
Nguyen Anh Quynh fa430b4ad4 Merge branch 'test/issue-351' of https://github.com/williballenthin/unicorn into williballenthin-test/issue-351 2016-01-12 00:22:33 +08:00
farmdve c9f4bd27cc Reset env->invalid_error before executing a translation block. 2016-01-11 18:12:57 +02:00
Willi Ballenthin a9d4b4cfa7 add test case in C demonstrating issue 351 2016-01-11 09:57:13 -05:00
Nguyen Anh Quynh f4a5273ce7 Merge pull request #365 from williballenthin/test/issue-351
add test case demonstrating issue 351
2016-01-11 16:13:52 +08:00
Nguyen Anh Quynh b3f05c75d6 Merge pull request #367 from lunixbochs/master
add regress for #366
2016-01-11 16:12:32 +08:00
Ryan Hileman b6db70808d add regress for #366 2016-01-10 23:51:11 -08:00
Willi Ballenthin b2b1d0be01 add test case demonstrating issue 351 2016-01-10 23:56:34 -05:00
Nguyen Anh Quynh 7c9f851e72 sample: remove memleak test code in sample_x86.c 2016-01-11 00:08:04 +08:00
Nguyen Anh Quynh 2a269acac1 regress: add memleak_xxx.c to test memleak issue 2016-01-10 23:56:14 +08:00
Nguyen Anh Quynh ec4a47fc19 regress: fix 1 more compilation warning on printf format 2016-01-10 23:55:19 +08:00
Nguyen Anh Quynh 32bca0bd02 regress: fix some compilation warnings on printf format 2016-01-10 23:45:02 +08:00
Nguyen Anh Quynh a0aa26d6ee c89 2016-01-10 23:34:36 +08:00
Nguyen Anh Quynh cd6c98f5df sample: make hook_out() of sample_x86.c more deterministic 2016-01-10 23:25:05 +08:00
Nguyen Anh Quynh 580bc7b56a cleanup 2016-01-10 23:10:00 +08:00
farmdve 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
Nguyen Anh Quynh 13726b3d40 Merge branch 'master' into cygwin 2016-01-07 23:17:32 +07:00
Nguyen Anh Quynh 57cf585d4c Merge pull request #361 from farmdve/fix_bugs2
Remove more instances of tcg_register_jit.
2016-01-07 22:48:25 +07:00
farmdve 2304bbfc96 Remove more instances of tcg_register_jit 2016-01-07 16:39:41 +02:00
Nguyen Anh Quynh bfeb08d1ba fix some compilation warning 2016-01-06 14:11:21 +08:00
Nguyen Anh Quynh e8a295991f update qemu/header_gen.py 2016-01-06 00:44:29 +07:00
Nguyen Anh Quynh 443e9de61a Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2016-01-06 00:19:29 +07:00
Nguyen Anh Quynh 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
farmdve 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
Nguyen Anh Quynh e0cb02569e remove unused tcg_register_jit() and related code 2016-01-05 16:02:34 +07:00
Nguyen Anh Quynh e70d471266 Merge pull request #357 from enkomio/master
Updated dotnet binding
2016-01-05 15:32:31 +07:00
enkomio 2c54f1a969 Solution refactoring and bug fixing 2016-01-04 16:59:05 +01:00
enkomio 272fb8524f Fixed spacing in dotnet comment 2016-01-04 16:55:20 +01:00
enkomio 2952d255c2 Fixed spacing in constants files generation for .NET 2016-01-04 11:31:17 +01:00
enkomio 5d3aac30e6 refactored code and minor bug fixing 2016-01-04 11:30:11 +01:00
Nguyen Anh Quynh 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
enkomio 232cff02d2 Implemented IDisposable in order to disposed allocated unmanaged memory 2016-01-02 14:13:47 +01:00
Nguyen Anh Quynh 19930b0514 spaces 2016-01-01 14:15:01 +08:00