feliam
ff66a72d7b
GDT/LDT/IDT/FPU access from python bingings
2016-03-09 18:07:38 -03:00
Nguyen Anh Quynh
2cfe6fb9c0
appveyor: no need to initialize MSVC env for Msys2
2016-03-09 11:53:59 +08:00
Nguyen Anh Quynh
dca32a875e
appveyor: try without pacman installs
2016-03-09 09:54:09 +08:00
Nguyen Anh Quynh
26261be244
improve Appveyor config
2016-03-09 09:35:00 +08:00
Nguyen Anh Quynh
276775f5cc
more fix for Appveyor CI
2016-03-08 13:41:24 +08:00
Nguyen Anh Quynh
861d5e1ad8
fix appveyor.yml
2016-03-08 13:06:16 +08:00
Nguyen Anh Quynh
86e2127af1
add Appveyor CI
2016-03-08 12:52:13 +08:00
Nguyen Anh Quynh
9c91a6ec28
fix a typo in tests/regress/LICENSE
2016-03-08 08:55:55 +08:00
Nguyen Anh Quynh
93f6d8bade
Merge pull request #453 from danghvu/master
...
Add a license for regression tests
2016-03-08 08:49:09 +08:00
Hoang-Vu Dang
9d9056c474
Add a license for regression tests
2016-03-07 12:22:20 -06:00
Nguyen Anh Quynh
eec9aa8c57
Merge pull request #452 from Spl3en/master
...
Fix a typo in uc_hook_add documentation.
2016-03-08 01:20:09 +08:00
Spl3en
338fb0e81b
Fix a typo in uc_hook_add documentation.
2016-03-07 17:52:08 +01:00
Nguyen Anh Quynh
eb5a762452
python: add __version__
2016-03-06 21:21:39 +08:00
Nguyen Anh Quynh
0950f2e18b
python: 0.9 -> 1.0 in setup.py
2016-03-06 17:28:32 +08:00
Nguyen Anh Quynh
bf7dc4293b
python: README -> README.md in setup.py
2016-03-06 17:27:50 +08:00
Nguyen Anh Quynh
ddba377bd8
Merge pull request #450 from nplanel/query-page-size
...
[query] add UC_QUERY_PAGE_SIZE uc_query helper
2016-03-04 12:59:48 +08:00
Nicolas PLANEL
2031f7cbdd
[query] update bindings UC_QUERY_PAGE_SIZE
...
Signed-off-by: Nicolas PLANEL <nplanel@redhat.com>
2016-03-04 15:54:24 +11: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
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
Egbert
dbdc2b3715
Issue #465 hook_count_cb doesn't stop at n instructions; unit test file
2015-10-03 22:46:25 -07:00
Nguyen Anh Quynh
9410b8fbe7
regress: add shebang for ensure_typedef_consts_generated.py
2015-10-04 11:21:37 +08:00
Nguyen Anh Quynh
d93210ad5a
python: better support for Python3 (adapted from Capstone code)
2015-10-04 10:55:29 +08:00
Nguyen Anh Quynh
d13a4197f1
Merge pull request #163 from lunixbochs/master
...
add composite const generator (fix #161 )
2015-10-04 10:40:29 +08:00
Ryan Hileman
7e7c6512f5
add composite const generator ( fix #161 )
2015-10-03 10:41:19 -07:00
Nguyen Anh Quynh
b7c4031ed2
update CREDITS.TXT
2015-10-03 16:02:49 +08:00
Nguyen Anh Quynh
600a1af710
Merge branch 'master' of https://github.com/unicorn-engine/unicorn
2015-10-03 15:46:19 +08:00
Nguyen Anh Quynh
e1e0946f65
Merge pull request #162 from SeanHeelan/master
...
Regression test for issue #161
2015-10-03 14:58:32 +08:00
Sean Heelan
fd6b510038
Added a comment explaining what is being tested for
2015-10-03 12:36:17 +07:00
Sean Heelan
f62418fc07
Regression test for issue #161
2015-10-03 12:22:41 +07:00
Nguyen Anh Quynh
9e64cba6ec
Rename some hook related enums:
...
- UC_ERR_READ_INVALID -> UC_ERR_READ_UNMAPPED
- UC_ERR_WRITE_INVALID -> UC_ERR_WRITE_UNMAPPED
- UC_ERR_FETCH_INVALID -> UC_ERR_FETCH_UNMAPPED
- UC_MEM_READ_INVALID -> UC_MEM_READ_UNMAPPED
- UC_MEM_WRITE_INVALID -> UC_MEM_WRITE_UNMAPPED
- UC_MEM_FETCH_INVALID -> UC_MEM_FETCH_UNMAPPED
- UC_HOOK_MEM_READ_INVALID -> UC_HOOK_MEM_READ_UNMAPPED
- UC_HOOK_MEM_WRITE_INVALID -> UC_HOOK_MEM_WRITE_UNMAPPED
- UC_HOOK_MEM_FETCH_INVALID -> UC_HOOK_MEM_FETCH_UNMAPPED
- UC_HOOK_MEM_INVALID -> UC_HOOK_MEM_UNMAPPED
This also renames some newly added macros to use _INVALID postfix:
- UC_HOOK_MEM_READ_ERR -> UC_HOOK_MEM_READ_INVALID
- UC_HOOK_MEM_WRITE_ERR -> UC_HOOK_MEM_WRITE_INVALID
- UC_HOOK_MEM_FETCH_ERR -> UC_HOOK_MEM_FETCH_INVALID
- UC_HOOK_MEM_ERR -> UC_HOOK_MEM_INVALID
Fixed all the bindings Java, Go & Python.
2015-09-30 14:46:55 +08:00
Nguyen Anh Quynh
3ca8774f1a
arm: properly handle the case when first insn in block is until address
2015-09-30 14:42:08 +08:00
Nguyen Anh Quynh
4a42041a83
handle 'bad ram pointer' case. this fixes issue #159
2015-09-29 18:22:22 +08:00
Nguyen Anh Quynh
976950d3c3
chmod +x tests/regress/bad_ram.py
2015-09-29 15:24:30 +08:00
Nguyen Anh Quynh
283ff544ac
Merge pull request #159 from mothran/badram_regress
...
added bad_ram regress
2015-09-29 13:59:40 +08:00
mothran
0e258b9587
updated a few small errors in the script
2015-09-28 22:50:27 -07:00
mothran
eeebcc5a44
added bad_ram regress
2015-09-28 21:41:38 -07:00
Nguyen Anh Quynh
8b4d274c34
regress: convert some mips tests to use unittest
2015-09-28 11:57:24 +08:00
Nguyen Anh Quynh
2b0b4169bc
mips: advance PC for SYSCALL instruction. this fixes issue #157
2015-09-28 10:58:43 +08:00
Nguyen Anh Quynh
0b971a4413
Merge pull request #158 from lunixbochs/master
...
add regress for #157
2015-09-27 16:29:08 +08:00
Ryan Hileman
13be3435c9
add regress for #157
2015-09-27 01:08:46 -07:00
Nguyen Anh Quynh
53ce8f217d
mips: handle delay slot better for branch instructions. this should fix issue #155
2015-09-27 15:05:40 +08:00
Nguyen Anh Quynh
4a2092fa10
Merge pull request #156 from lunixbochs/master
...
add regress for #155
2015-09-27 13:46:23 +08:00
Nguyen Anh Quynh
5055899514
clarify that UC_HOOK_INTR is also for handling syscall events
2015-09-27 11:29:19 +08:00
Nguyen Anh Quynh
728fe750b9
Merge pull request #140 from cherepanov74/master
...
Fixes crash on Windows 64bit
2015-09-27 11:10:02 +08:00