Commit Graph

92 Commits

Author SHA1 Message Date
d6d4131873 Added x86Msr functions for the go bindings (#986) 2019-03-07 08:39:38 +08:00
07cafff76a bindings: update for latest ARM registers addition 2019-03-07 08:38:41 +08:00
6d47b38b7f bindings: update after recent addition of ARM_REG_IPSR 2019-02-28 09:56:29 +08:00
738d102989 bindings: add newly added register MXCSR 2019-02-15 13:01:27 +08:00
9a01ae8379 Fix tests when using go 1.10 (#949) 2018-03-21 00:36:37 +08:00
41cc047b87 bindings: update after #922 2017-12-20 22:13:29 +08:00
3fdb2d2442 add architecture query (#842) 2017-05-21 09:47:02 +08:00
014ccfb94a Aarch64 add thread registers (#834)
* add thread registers to AArch64

* update bindings to add AArch64 thread registers

* fix indentation for register read/write switch-case in unicorn_aarch64.c
2017-05-14 14:42:49 +07:00
4b50ca5cec Go: improve hook callback speed by 30% and add a HOOK_CODE benchmark (#835)
* add x86 hook benchmark

* Go: improve hook callback speed by 30%
2017-05-14 00:12:57 +07:00
d39c20acfe Go: fix NewRegBatch([]int{}) (#831) 2017-05-12 09:39:04 +07:00
37edadedec go: add faster RegBatch type (#822) 2017-05-06 22:32:35 +08:00
187b470245 add arm64 CPACR_EL1 register support (#814) 2017-05-02 14:51:19 +08:00
09d14704a5 bindings: update after UC_VERSION_EXTRA change 2017-04-25 12:41:00 +08:00
5dbc640b9a bump UC_VERSION_EXTRA to 1 2017-04-20 14:14:24 +08:00
f4325f8c4e bindings: update to support X86 MSR id 2017-02-24 21:51:01 +08:00
b616115df1 update ChangeLog 2017-01-25 12:00:18 +08:00
ab3828222a go: fix uc_free, free uc_mem_regions pointer 2017-01-10 16:54:54 -05:00
bc569f5a54 rename API uc_mem_free() to uc_free(). see #662 2017-01-10 20:59:14 +08:00
fdbbdc6216 rename uc_context_free() to uc_mem_free(). see #373 2017-01-09 20:52:14 +08:00
7287f2a82f Go: fix Travis test on Mac 2016-12-25 18:40:23 +08:00
af4c29c57f Go: attempt to fix compilation issue on missing clock_gettime() 2016-12-25 01:34:59 +08:00
e46545f722 remove glib dependency by provide compatible replacements 2016-12-18 14:56:58 -08:00
75d90aff52 Make cleanup (#666)
* make cleanup

* Update .travis.yml
Update eflags_nosync.c
Update sigill2.c
Update ro_mem_test.c
Update ro_mem_test.c
Update nr_mem_test.c
Update mem_fuzz.c
Update mem_double_unmap.c
Update emu_stop_in_hook_overrun.c
Update eflags_nosync.c
remove unused
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update mem_64_c.c
Update mem_64_c.c
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update Makefile
Update .travis.yml
try android ndk build
Update unicorn.py
Update unicorn.py
Update Makefile
Update unicorn.py
Update unicorn.py
remove an untrue comment

if a dll/so/dylib gets loaded at runtime is dependent on many different factors, primarily the LD/DYLD paths. Those do not always include the current working directory
Update Makefile
Update .appveyor.yml
Update .travis.yml
Update Makefile
Update .appveyor.yml
Fix bad sample

* Update Makefile

* Update Makefile

* Update install-cmocka-linux.sh

* remove verbose option from tar

* add upgrade to pacman for cmake

* pacman double update, needed to get new packages

* enable cmocka unit testing

* rejigger commands to fail on any step

should get fails in msys builds for cmocka

* fix quote

* make cmocka in cygwin only

* add msys cache
2016-11-19 17:17:48 +08:00
64f4692c22 Go: add context api (#668) 2016-10-31 16:00:57 +08:00
7a1930a879 add UC_VERSION_{MAJOR, MINOR, EXTRA} 2016-10-25 14:37:47 +08:00
4083b87032 add new hook type UC_HOOK_MEM_READ_AFTER, adapted from PR #399 by @farmdve. updated all bindings, except Ruby & Haskell 2016-10-22 11:19:55 +08:00
5ade2fa627 Go bindings: fix concurrent hook updates 2016-07-27 05:16:12 -07:00
9a2a5b15d8 Rename unhandled CPU exception 2016-07-05 11:10:39 -05:00
9cdca5a32b Unhandled interrupt will halt execution 2016-07-04 17:07:57 -05:00
5fd4c8719d improve go binding memory leaks 2016-05-28 16:02:12 -07:00
4021b635b1 fixed go bindings typo 2016-05-10 23:18:08 +02:00
20e089a774 Go bindings: fix HookAdd in sample 2016-04-07 12:09:26 -07:00
4e9dc1d8e6 fix Go binding C99 regression 2016-04-05 20:02:07 -07:00
acd88856e1 add batched reg access 2016-04-04 20:51:38 -07:00
79ec6145db expose version from Go bindings 2016-03-24 08:56:44 -07:00
2a9a794bff tweak Go bindings for 32-bit 2016-03-14 17:44:02 -07:00
28b94d10b8 bindings: add X86 FPTAGS & FPCW registers after recent change in the core 2016-03-14 09:14:48 +08:00
2031f7cbdd [query] update bindings UC_QUERY_PAGE_SIZE
Signed-off-by: Nicolas PLANEL <nplanel@redhat.com>
2016-03-04 15:54:24 +11:00
4f1c88e70c Go: add RegReadMmr and test 2016-02-28 12:01:24 -08:00
43eb9ec351 Go: add uc_query api 2016-02-27 11:15:06 -08:00
9f1603c157 Go: add MemRegions 2016-02-27 11:10:15 -08:00
74f783a274 Go: add x86 RegWriteMmr method 2016-02-27 10:56:04 -08:00
475c8de3de Go: update test hooks 2016-02-27 10:56:04 -08:00
693719e732 Go: update hook interface 2016-02-27 10:55:59 -08:00
0822c0af85 bump API version to 1.0 2016-02-11 08:05:15 +08:00
6986fa3947 x86: add new register enums for IDT, LDT, GDT & TR 2016-02-06 17:35:45 +08:00
a2ef52172c add combination hook type UC_HOOK_MEM_VALID to intercept all valid memory access 2016-01-31 13:12:34 +08:00
9ec2163571 bindings: add UC_MODE_PPC32 constant after recent update on unicorn.h 2016-01-24 20:50:26 +08:00
6f3d48077e rename UC_QUERY_ARM_MODE to a more generic name UC_QUERY_MODE. make all bindings support this new constant 2016-01-24 01:08:23 +08:00
d79925f477 sparc: add SPARC32 mode (= UC_MODE_32) 2016-01-23 10:48:18 +08:00