Commit Graph

1001 Commits

Author SHA1 Message Date
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
1ddebc7304 travis: do not need to install pkg-config 2016-03-03 23:41:03 +08:00
Nguyen Anh Quynh
3ebb5d3a2e travis: fix brew install 2016-03-03 23:33:07 +08:00
Nguyen Anh Quynh
cf08670a1c Travis: install dependencies for OSX 2016-03-03 23:25:29 +08:00
Nguyen Anh Quynh
feb7b8e1ae travis: support OSX & Linux 2016-03-03 23:14:25 +08:00
Nguyen Anh Quynh
6ee06f79ce Merge pull request #449 from iroiro123/write-byte-high
fix WRITE_BYTE_H() macro
2016-03-02 11:54:38 +08:00
Hiroyuki UEKAWA
c5888e5670 move macros in qemu/target-*/unicorn*.c to uc_priv.h 2016-03-02 12:43:02 +09:00
Hiroyuki UEKAWA
1cd3c3093b fix WRITE_BYTE_H 2016-03-02 10:51:50 +09:00
Nguyen Anh Quynh
d6fee1fd6a add Travis build status to README.md 2016-03-01 13:54:32 +08:00
Nguyen Anh Quynh
9eb1c57c34 add Travis support for automated tests 2016-03-01 13:49:27 +08:00
Nguyen Anh Quynh
5a4d9609d6 Merge pull request #448 from zaddach/jonas/load_eflags_after_helper
Fixed restoring of eflags after helper call
2016-03-01 08:53:27 +08:00
Jonas Zaddach
5fa6705d7a Fixed restoring of eflags after helper call 2016-02-29 22:57:41 +01:00
Nguyen Anh Quynh
df98b7c88b Merge pull request #445 from lunixbochs/master
Go: add RegReadMmr and test
2016-02-29 09:59:03 +08:00
Ryan Hileman
4f1c88e70c Go: add RegReadMmr and test 2016-02-28 12:01:24 -08:00
Nguyen Anh Quynh
5ede98abec Merge pull request #444 from lunixbochs/master
catch up on Go bindings
2016-02-28 03:45:42 +08:00
Ryan Hileman
43eb9ec351 Go: add uc_query api 2016-02-27 11:15:06 -08:00
Ryan Hileman
9f1603c157 Go: add MemRegions 2016-02-27 11:10:15 -08:00
Ryan Hileman
74f783a274 Go: add x86 RegWriteMmr method 2016-02-27 10:56:04 -08:00
Ryan Hileman
475c8de3de Go: update test hooks 2016-02-27 10:56:04 -08:00
Ryan Hileman
693719e732 Go: update hook interface 2016-02-27 10:55:59 -08: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
Nguyen Anh Quynh
b7d55e2d67 update CREDITS.TXT 2016-02-21 21:21:15 +08:00
Nguyen Anh Quynh
4ba29a4ed3 Merge pull request #435 from emdel/master
Added assert and set zf to 1
2016-02-18 22:35:36 +08: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
Nguyen Anh Quynh
72f929da64 Merge pull request #434 from emdel/master
Testcase to set ZF and modify eflags in x86/x86_64
2016-02-18 16:08:09 +08:00
emdel
de5a887ed2 testcase to set ZF and modify eflags 2016-02-17 13:56:20 -08:00
Nguyen Anh Quynh
8bf1257ac7 update CREDITS.TXT 2016-02-17 23:24:10 +08:00
Nguyen Anh Quynh
871cdb692f Merge branch 'hook' 2016-02-17 09:37:17 +08:00
Nguyen Anh Quynh
0190d359c6 Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2016-02-15 15:51:33 +08:00
Nguyen Anh Quynh
8962adc9c5 sparc: use power_down to terminate emulation, rather than using trap. this fix hangup issue of tests/regress/sparc_reg.py 2016-02-15 15:51:14 +08:00
Nguyen Anh Quynh
f267ff2b17 Update unicorn.h
remove an outdated line on UC_QUERY_MODE
2016-02-15 10:27:20 +08:00
Nguyen Anh Quynh
3bd7fa4bfe chmod -x qemu/target-i386/unicorn.c 2016-02-12 13:48:58 +08:00
Nguyen Anh Quynh
2ef30fc2d0 Merge branch 'mem_fuzzing' of https://github.com/eqv/unicorn into eqv-mem_fuzzing 2016-02-12 00:36:42 +08:00
coco
95beec805c fixed memcpy that should be memmove 2016-02-11 16:38:50 +01:00
Nguyen Anh Quynh
1ae511d3ad Merge pull request #431 from eqv/mem_fuzzing
two more testcases
2016-02-11 23:11:28 +08:00
coco
bfbe91834e two more testcases 2016-02-11 15:02:14 +01:00
Nguyen Anh Quynh
c7a97ac0be Merge branch 'master' of https://github.com/unicorn-engine/unicorn 2016-02-11 17:53:57 +08:00
Nguyen Anh Quynh
5719481e3f move memory_overlap() around from mem_map() to mem_map_check(). this fixes test_mem_map.c in issue #420 2016-02-11 17:53:51 +08:00
Nguyen Anh Quynh
80b0356a86 fix a comment in uc_hook_add() for UC_HOOK_INSN 2016-02-11 09:27:30 +08:00
Nguyen Anh Quynh
1768408637 update CREDITS.TXT 2016-02-11 09:13:45 +08:00
Nguyen Anh Quynh
0822c0af85 bump API version to 1.0 2016-02-11 08:05:15 +08: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
55a6874a08 Merge pull request #428 from cseagle/bindings
Bindings
2016-02-08 10:15:19 +08:00
Chris Eagle
9b8098bf63 file perms 2016-02-07 07:24:34 -08:00
Chris Eagle
84fbe5aa5d add x86 mmr handling to java binding 2016-02-07 07:23:07 -08:00
Chris Eagle
a5b1ae47c3 remove unnecessary file 2016-02-06 19:19:55 -08:00