Commit Graph

70 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
2fac7fc2e4 x86: better support for 16bit mode 2015-08-26 00:39:46 +08:00
Nguyen Anh Quynh
cd0fe763ab update .gitignore 2015-08-25 16:21:18 +08:00
Nguyen Anh Quynh
39d3856871 when block size is unknown because the translation cache is full, assign it value 0 2015-08-25 16:10:05 +08:00
Nguyen Anh Quynh
c3e95ec34e x86: do not generate basic-block callback when translation is broken in the middle due to full cache 2015-08-25 14:50:55 +08:00
Nguyen Anh Quynh
e426ba78ee fix some warnings in regress/block_test.c 2015-08-25 12:05:30 +08:00
Nguyen Anh Quynh
c7d08d77b5 Merge pull request #36 from cseagle/master
Added basic block hook regression test
2015-08-25 09:40:11 +08:00
Chris Eagle
7273013263 Added basic block hook regression test 2015-08-24 18:36:58 -07:00
Nguyen Anh Quynh
793e258890 Merge pull request #35 from JonathonReinhart/fix-srcfile-mode
restore mode of .[ch] files
2015-08-25 09:26:53 +08:00
Jonathon Reinhart
9163bba812 restore mode of .[ch] files
These were marked as executable in 5c3b6819, likely due to a Windows
filesystem being involved. This can be avoided:
http://stackoverflow.com/q/1580596/119527
2015-08-24 21:19:12 -04:00
Nguyen Anh Quynh
fc6712ee02 Merge pull request #34 from cseagle/master
Add const to uc_reg_write and derivitives
2015-08-25 01:08:50 +08:00
Chris Eagle
5c3b681945 Add const to uc_reg_write and derivitives 2015-08-24 09:42:50 -07:00
Chris Eagle
f221195bf6 Merge remote-tracking branch 'upstream/master' 2015-08-24 09:15:23 -07:00
Nguyen Anh Quynh
9d9c0d1a25 uc_emu_start() report error on illegal instruction at the output 2015-08-25 00:02:31 +08:00
Nguyen Anh Quynh
84e01e6c05 Merge branch 'use-more-const' of https://github.com/radare/unicorn into radare-use-more-const 2015-08-24 23:20:26 +08:00
Nguyen Anh Quynh
9448477129 Merge pull request #33 from JonathonReinhart/update-credits
update CREDITS.TXT
2015-08-24 23:13:37 +08:00
Nguyen Anh Quynh
5ebf85ff09 Merge pull request #32 from radare/add-sigill
Test for ilegal instruction exception
2015-08-24 23:11:05 +08:00
pancake
11c20418d7 Test for ilegal instruction exception 2015-08-24 17:07:33 +02:00
pancake
c5d99777f4 Use const in uc_mem_write and derivates 2015-08-24 17:02:14 +02:00
Nguyen Anh Quynh
62908b96eb update .gitignore 2015-08-24 22:25:28 +08:00
Nguyen Anh Quynh
ebaa542702 revert regress/map_crash.c back to original code 2015-08-24 20:21:57 +08:00
Nguyen Anh Quynh
79effb2df5 fix regress/map_crash.c so it does not crash any more 2015-08-24 20:07:36 +08:00
Nguyen Anh Quynh
36f30bbf50 Merge pull request #30 from radare/add-regression
Add regression test for the map crash
2015-08-24 19:42:44 +08:00
pancake
ba39dd3374 Add regression test for the map crash 2015-08-24 13:02:01 +02:00
Nguyen Anh Quynh
ab29b5a514 Merge pull request #29 from radare/patch-1
Update CREDITS.TXT
2015-08-24 18:18:59 +08:00
radare
cae6a93e1b Update CREDITS.TXT 2015-08-24 12:11:59 +02:00
Nguyen Anh Quynh
c55ad00e2a samples: use -e rather than -a to check for file existence in Makefile 2015-08-24 17:48:30 +08:00
Chris Eagle
2998c125de Merge remote-tracking branch 'upstream/master' 2015-08-24 00:50:59 -07:00
Chris Eagle
dffdf8d3f7 Merge branch 'master' of https://github.com/cseagle/unicorn 2015-08-24 00:49:48 -07:00
Chris Eagle
73bc268036 Fix 8k alignment mask computation 2015-08-24 00:41:56 -07:00
Chris Eagle
c8f60221fa Fix 8k alignment mask computation in uc_mem_map 2015-08-24 00:04:36 -07:00
Nguyen Anh Quynh
783b68c85b handle SYSCALL for shellcode.py 2015-08-24 15:02:06 +08:00
Nguyen Anh Quynh
60099d1d69 x86: add back 2 registers X86_REG_FCW & X86_REG_FPIP 2015-08-24 13:58:52 +08:00
Nguyen Anh Quynh
d64ef59871 python: update consts after the latest change in the core 2015-08-24 13:16:22 +08:00
mothran
2516de7ed8 renamed m68k enum constants 2015-08-23 21:56:24 -07:00
mothran
1dd3334f87 changed the constants in the newest regression and sample files 2015-08-23 21:51:53 -07:00
mothran
995924176a Merge branch 'const_rename' 2015-08-23 21:42:02 -07:00
mothran
a167f7c456 renames the register constants so unicorn and capstone can compile together 2015-08-23 21:36:33 -07:00
Nguyen Anh Quynh
c5775a371e Merge pull request #25 from JonathonReinhart/fix-lib64-install
Fix make.sh for systems with /usr/lib64 path
2015-08-24 10:27:53 +08:00
Jonathon Reinhart
9778e65b44 Fix make.sh for systems with /usr/lib64 path
The ${MAKE} was superfluous, causing an unnecessary invocation of make,
and causing LIBDIRARCH=lib64 to not actually be set for the
'make install'. This now matches the uninstall() function.
2015-08-23 22:22:57 -04:00
Nguyen Anh Quynh
557e004426 add 'make uninstall'. this should fix issue #23 2015-08-24 09:57:01 +08:00
Nguyen Anh Quynh
033a44361b python: rename API uc_support to uc_arch_supported 2015-08-24 09:53:16 +08:00
Nguyen Anh Quynh
bb34eebd24 verify hardware mode for ARM. this fixes issue #16 2015-08-24 09:50:55 +08:00
Nguyen Anh Quynh
cd072b4e20 Merge pull request #22 from JonathonReinhart/supported-arch-api
clean-up uc_support() API
2015-08-24 09:32:22 +08:00
Nguyen Anh Quynh
4dc80eb4cf Merge pull request #18 from lunixbochs/map_null_check
check for mem_map size=0 (#14)
2015-08-24 09:16:38 +08:00
Nguyen Anh Quynh
52dba21c33 Merge pull request #17 from lunixbochs/master
add regression test from issue #16
2015-08-24 09:16:11 +08:00
Jonathon Reinhart
11cc9ec9ba clean-up uc_support() API
- rename to more obviously-named uc_arch_supported()
- remove UC_ARCH_ALL and associated test -- There's no point in having this
  API, and it was improperly implemented anyway.
- remove now unneeded archs_enable() and all_arch
- add UNICORN_HAS_PPC test -- This seems to be only partially implemented
2015-08-23 21:10:47 -04:00
Jonathon Reinhart
51eab33d06 update CREDITS.TXT 2015-08-23 18:38:28 -04:00
Ryan Hileman
76d8541717 add check for mem_map(size=0) (#14) 2015-08-23 14:16:40 -07:00
Ryan Hileman
220fa08a3a add regression test from issue #16 2015-08-23 14:01:58 -07:00
Nguyen Anh Quynh
ee9e2d6a12 Merge pull request #15 from zardus/regress/memmap_weirdness
added memmap regression scripts
2015-08-24 04:17:10 +08:00