Sascha Schirra
09784d85c1
bugfix read_reg -> reg_read
2016-03-27 11:26:57 +02:00
Nguyen Anh Quynh
90cefeb167
regress: adapt all C code to latest change in uc_hook_add() API
2016-03-26 00:33:24 +08:00
Nguyen Anh Quynh
08bd4b3f61
regress chmod +x x86_gdt.py tcg_liveness_analysis_bug_issue-287.py
2016-03-25 11:11:32 +08:00
Sascha Schirra
0c49f83cb5
GDT test added
2016-03-22 20:08:15 +01:00
Nguyen Anh Quynh
ad6bb8c9f8
unit: fix test_hookcounts.c
2016-03-20 01:54:37 +08:00
Nguyen Anh Quynh
0af4baac31
unit: fix warnings in printing uint64_t in test_hookcounts.c
2016-03-17 17:49:22 +08:00
egberts
ac21e74641
Issues #465
...
Pull Request #466
Added one more test case
Fixed two test case into passing (for a total of 3 passing out of 7)
2016-03-16 11:49:25 -07:00
egberts
ab5ed15044
Issue #465 - Enhanced test for more scenarios; fixed some semantic bugs.
2016-03-16 10:54:20 -07:00
egberts
347d863365
Issue #465 hook_count_cb doesn't stop at n instructions; unit test file
2015-10-03 22:52:15 -07:00
Nguyen Anh Quynh
9c91a6ec28
fix a typo in tests/regress/LICENSE
2016-03-08 08:55:55 +08:00
Hoang-Vu Dang
9d9056c474
Add a license for regression tests
2016-03-07 12:22:20 -06:00
Nicolas PLANEL
1087ba9dea
[query] add UC_QUERY_PAGE_SIZE uc_query helper
...
Return the current page size used by the current arch.
Useful to call uc_mem_map() with memory/size aligned.
Signed-off-by: Nicolas PLANEL <nplanel@redhat.com>
2016-03-04 15:54:24 +11:00
Nguyen Anh Quynh
aabcb95f01
unit: remove ^M from test_x86_soft_paging.c
2016-02-22 14:02:28 +08:00
Nguyen Anh Quynh
2f28f3f210
unit: make test_x86_soft_paging.c compilable. also update .gitignore for its binary
2016-02-22 14:01:00 +08:00
Ramirez57
2ab2b229ce
test case: x86 guest paging
...
Test case for x86 paging using virtual addresses mapped by Unicorn, as well as unmapped.
Attempting to read/write from virtual address ranges unmapped by Unicorn wrongly causes protection faults, even when the virtual address points to read/write regions of Unicorn memory.
2016-02-22 00:03:14 -05:00
emdel
f010219a0f
zf set to 1
2016-02-18 06:29:59 -08:00
emdel
0383db9d27
Added assert
2016-02-18 06:26:01 -08:00
Nguyen Anh Quynh
6e5a3a6d5b
regress: chmod +x jumping.py
2016-02-18 21:58:48 +08:00
emdel
de5a887ed2
testcase to set ZF and modify eflags
2016-02-17 13:56:20 -08:00
Nguyen Anh Quynh
871cdb692f
Merge branch 'hook'
2016-02-17 09:37:17 +08:00
coco
bfbe91834e
two more testcases
2016-02-11 15:02:14 +01:00
Nguyen Anh Quynh
a7a1dcc661
uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change
2016-02-11 08:02:13 +08:00
Nguyen Anh Quynh
6478a24404
Merge branch 'gdt_idt' of https://github.com/cseagle/unicorn into cseagle-gdt_idt
2016-02-06 17:31:42 +08:00
Chris Eagle
49b9f4f8da
uc_x86_mmr type available in qemu/target-i386/unicorn.c
2016-02-04 19:09:41 -08:00
Nguyen Anh Quynh
07e8f2f60d
Merge pull request #423 from lunixbochs/master
...
add regress for #421
2016-02-05 09:45:01 +08:00
Ryan Hileman
bcfa41c90d
add regress for #421
2016-02-05 02:35:17 +01:00
Nguyen Anh Quynh
9b6d1bf324
regress: fix compilation warning for mem_fuzz.c
2016-02-05 08:54:52 +08:00
Nguyen Anh Quynh
a5d9daaef4
Merge branch 'mem_fuzzing' of https://github.com/eqv/unicorn into eqv-mem_fuzzing
2016-02-05 08:49:18 +08:00
Chris Eagle
59f7bf3be7
file perms
2016-02-04 16:48:27 -08:00
Chris Eagle
e59382e030
updated gdtr/idtr/ldtr/tr read/write code
2016-02-04 16:44:52 -08:00
coco
1e13777c91
added memory fuzzer and 2 resulting testcases
2016-02-04 19:57:20 +01:00
Chris Eagle
9977054a15
add support for setting gdtr, idtr, ldtr, and tr programatically
2016-02-03 09:22:29 -08:00
Nguyen Anh Quynh
101f14285a
chmod +x arm_init_input_crash.py
2016-02-03 09:20:15 +08:00
McLovi9
ac806d3bfb
Create arm_init_input_crash.py
2016-02-02 20:36:36 +01:00
Nguyen Anh Quynh
e42aba760f
fix a typo in test_tb_x86.c
2016-01-31 14:07:35 +08:00
Nguyen Anh Quynh
32b9deca04
unit: use UC_HOOK_MEM_VALID for test_tb_x86.c
2016-01-31 13:14:11 +08:00
Nguyen Anh Quynh
1fb5416f4a
unit: simplify test_tb_x86.c
2016-01-31 13:06:42 +08:00
Nguyen Anh Quynh
a5020c69bb
Merge pull request #408 from egberts/master
...
Pull Request for Issue #364 : Invalidating Translation Cache after self-modifying code
2016-01-31 10:37:04 +08:00
steve
fc22a359e2
Issue #364 - Move RIP/PC closer next to the offending self-modifying code
...
which modified the 2nd next instruction (imul) in which that escaped
our wonderful ability to invalidate the
instruction translation cache in which we badly need to pick up the
self-modification being made.
2016-01-30 19:30:17 -05:00
Nguyen Anh Quynh
5a04bcb115
allow to change PC during callback. this solves issue #210
2016-01-28 14:06:17 +08:00
Nguyen Anh Quynh
48ab148d1c
Merge branch 'hook'
2016-01-26 22:52:29 +08:00
xorstream
7973f6b4c9
Added mode endian flags for sparc tests and fixed mode in sparc_jump_to_zero.c
2016-01-25 13:50:26 +11:00
xorstream
26d3b1e7d6
Added ppc 32bit mode and added sparc mode checks to bring it in line with other archs
2016-01-24 22:27:33 +11:00
Nguyen Anh Quynh
249e2ac0a0
Merge branch 'hook-refactor' of https://github.com/lunixbochs/unicorn into lunixbochs-hook-refactor
2016-01-23 10:58:37 +08:00
Nguyen Anh Quynh
d79925f477
sparc: add SPARC32 mode (= UC_MODE_32)
2016-01-23 10:48:18 +08:00
Ryan Hileman
33180b5afa
add test for multiple basic block hooks
2016-01-22 18:42:14 -08:00
Nguyen Anh Quynh
5c6c67bb3a
regress: fix Sparc mode for sparc_reg.py
2016-01-23 10:17:42 +08:00
xorstream
8763d426c2
Fix uc_mode usage in source code
2016-01-23 12:08:49 +11:00
Nguyen Anh Quynh
840eb54f05
Revert "arm64: fix the access to tcg_op_defs[] in arm64 backend (issue #387 )"
...
This reverts commit 3000ca6abf
.
2016-01-22 11:33:36 +08:00
Nguyen Anh Quynh
3000ca6abf
arm64: fix the access to tcg_op_defs[] in arm64 backend (issue #387 )
2016-01-22 11:33:28 +08:00