f9c57cd364
Update install-cmocka-linux.sh
2016-11-14 14:47:27 -08:00
6bce28c946
Update Makefile
2016-11-11 08:40:22 -08:00
a931761dad
Update Makefile
2016-11-11 08:31:16 -08:00
9f0cdc4be9
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
2016-11-11 07:45:06 -08:00
5d14cb350a
Merge branch 'master' of https://github.com/unicorn-engine/unicorn into make-cleanup
...
Conflicts:
bindings/python/unicorn/unicorn.py
2016-11-06 16:30:26 -08:00
186540e160
make cleanup
2016-11-06 16:27:24 -08:00
876570c8d7
Fixes to make python distribution for windows work
2016-11-05 09:18:50 -07:00
b7da7eb8bc
python: change VERSION in setup.py to 1.0.0
2016-11-05 23:07:38 +08:00
f8e82485da
python: print out _path_list with next line
2016-11-05 01:55:12 +08:00
88bd6453d5
python: add a debug code to print out _path_list
2016-11-05 01:51:13 +08:00
200f0d195e
fix some Msys complains
2016-11-04 21:40:35 +08:00
d46911d301
Merge pull request #661 from lowlyw/ruby_binding_fix
...
fix signedness issue with reg read/write in ruby bindings
2016-11-02 15:58:59 +08:00
1cbf6bf8fc
Merge pull request #673 from chubbymaggie/master
...
changed '%02hhx' to '%02x' in sample_x86_32_gdt_and_seg_regs.c
2016-11-02 08:36:35 +08:00
83c9eb9c2c
changed 02hhx —> 02x in sample_x86_32_gdt_and_seg_regs.c
2016-11-02 03:50:53 +08:00
04b103164d
fix Brew installation in issue #663
2016-11-01 20:30:55 +08:00
9e5b9d746c
Mingw compile with --disable-stack-protector option by default
2016-11-01 19:48:34 +08:00
ffa36b9001
python: remove redundant free() prototype. bug reported by Mahin
2016-11-01 08:57:33 +08:00
ed6060737d
Merge pull request #669 from adrianherrera/improvement/uc_context_sample
...
Added uc_context_* sample
2016-10-31 19:54:48 +08:00
eccef31651
[haskell] Added testI386ContextSave function
...
Based on test_i386_context_save function in samples/sample_x86.c
2016-10-31 11:57:13 +01:00
e1a2cb5fe8
[samples] Added uc_context_* sample
2016-10-31 11:56:32 +01:00
64f4692c22
Go: add context api ( #668 )
2016-10-31 16:00:57 +08:00
19028f41f6
Updates to Haskell bindings ( #667 )
...
* [haskell] Added uc_context_* support
As per issue #662
* [haskell] Updated bindings for commit 4083b87032
Updated for introduction of UC_HOOK_MEM_READ_AFTER.
* [haskell] Style fixes
2016-10-30 10:51:02 +08:00
4d5738eeb5
python: revert the changes on APIs made by @mrphrazer
2016-10-27 16:45:10 +08:00
e79e87fccb
Merge branch 'python_unsigned_fix' of https://github.com/mrphrazer/unicorn into mrphrazer-python_unsigned_fix
2016-10-27 16:30:47 +08:00
23ffa91cee
Merge branch 'master' of https://github.com/unicorn-engine/unicorn
2016-10-26 17:06:59 +08:00
1f65b76fbd
fix some compilation warnings regarding typcase of (CPUState *)
2016-10-26 17:05:26 +08:00
df497a9502
fix signedness issue with reg read/write in ruby bindings
2016-10-26 00:30:22 -07:00
17fd89a27b
python bindings: updated signed reg fix
2016-10-26 09:13:19 +02:00
632f3aaa71
fixed python bindings signed/unsigned regs/mem
2016-10-25 20:43:01 +02:00
7660768942
Fix leak and style in map_write.c ( #658 )
...
Fix potential leak, wrong text in log, and restyle
to a cleaner exit path
2016-10-25 23:47:55 +08:00
44ab083d9b
Merge branch 'master' of https://github.com/unicorn-engine/unicorn
2016-10-25 14:38:24 +08:00
7a1930a879
add UC_VERSION_{MAJOR, MINOR, EXTRA}
2016-10-25 14:37:47 +08:00
522e89eb28
Merge pull request #656 from sashs/master
...
add new constants to ruby binding
2016-10-22 23:06:22 +08:00
2f15e2119d
add new constants
2016-10-22 17:02:46 +02:00
2c82671704
add command to create constants file for ruby
2016-10-22 17:02:35 +02:00
c59e06d798
mips: fix some compilation warnings
2016-10-22 13:36:37 +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
7e9fe53f19
remove LEAK_VALGRIND
2016-10-22 00:29:34 +08:00
867cd92c40
update CREDITS.TXT
2016-10-22 00:24:59 +08:00
bc08bfda67
Unit testing in CI ( #651 )
...
- in appveyor, install clang and cmake in cygwin, enable package upgrades, and build cmocka and enable testing for gcc only
- in `gitignore`, ignore generated cmocka folder
- in travis, use brew in osx to install cmocka, and enable testing for gcc and clang on os x and linux
- in `Makefile`, change to use `uname -s` to determine os type
- make `install-cmocka-linux.sh`, a simple shell script to download and install cmocka on linux
- in `bindings/Makefile`, enable `make -c` to call subdirectory makefiles instead of `cd [dir] && make` and include environment variables for runtime access to generated libraries
- in `samples/Makefile`, change to use `uname -s` to determine os type, remove `clean_bins` from `all` command, and include `Werror` for compile strictness
- in `tests/unit/Makefile`, add `cflags` for compile time access to cmocka headers and library, include execute vars for runtime access to cmocka and unicorn libs
- in `tests/unit/test_tb_x86.c`, comment out assert that would not compile
2016-10-22 00:21:10 +08:00
2a608c778e
sparc: fix an compilation warning
2016-10-21 22:32:02 +08:00
99f3647d2e
Merge pull request #655 from angr/fix/slow_mem_mapping
...
Remove unmapped/freed memory regions from the object property list.
2016-10-21 00:04:35 +08:00
ad7ae63e92
Remove unmapped/freed memory regions from the object property list.
...
This commit fixes the following issues:
- Any unmapped/free'd memory regions (MemoryRegion instances) are not
removed from the object property linked list of its owner (which is
always qdev_get_machine(uc)). This issue makes adding new memory
mapping by calling mem_map() or mem_map_ptr() slower as more and more
memory pages are mapped and unmapped - yes, even if those memory pages
are unmapped, they still impact the speed of future memory page
mappings due to this issue.
- FlatView is not reconstructed after a memory region is freed during
unmapping, which leads to a use-after-free the next time a new memory
region is mapped in address_space_update_topology().
2016-10-20 03:48:58 -07:00
67905ab147
python: rename test_i386_reg_save() to test_i386_context_save()
2016-10-13 20:57:34 +08:00
756f148038
typo
2016-10-12 11:10:20 +08:00
b991b71cf5
update CREDITS.TXT
2016-10-12 11:07:11 +08:00
8f99d20695
turn cpu_context_size() into static function
2016-10-12 11:05:32 +08:00
bfa51bb5dc
rename another saved regs to saved context
2016-10-11 13:07:53 -07:00
80f35d3b2b
remove safety checks, for some reason
2016-10-11 13:07:14 -07:00
ea54204952
Tweak some names in a few places, encapsulate the uc_context struct to hide it from users for some reason
2016-10-10 14:04:51 -07:00