Nguyen Anh Quynh
3b6779479e
cleanup uc_priv.h
2017-03-30 15:59:13 +08:00
Nguyen Anh Quynh
b9712f0a5d
add sample_armeb to sample_all.sh
2017-03-18 16:30:44 +08:00
fG!
1bef32fff6
Fix huge memory leak on uc_mem_protect() ( #787 )
...
A memory region is allocated inside split_region() that was only freed in error case but not on success case, leading to huge memory leak if the region size was significant.
2017-03-18 09:17:23 +08:00
Nguyen Anh Quynh
15b99f10d0
Merge branch 'armeb' of https://github.com/xizhizhang/unicorn into xizhizhang-armeb
2017-03-16 15:12:02 +08:00
zhangwm
ccdb0ff523
armeb: rename arm's and mips's *REGS_STORAGE_SIZE to avoid big-endian and little-endian's duplicated definition.
2017-03-15 22:25:35 +08:00
xizhizhang
3cd77904af
armeb: modify CREDITS.TXT. ( #781 )
2017-03-15 21:01:26 +08:00
zhangwm
f144870adb
armeb: modify CREDITS.TXT.
2017-03-15 20:23:05 +08:00
Nguyen Anh Quynh
a267af7d95
add arm_release to qemu/header_gen.py, and regenerate qemu/armeb.h
2017-03-14 23:41:31 +08:00
zhangwm
d2740b17ce
armeb: add C sample for armeb.
2017-03-13 23:19:09 +08:00
zhangwm
d8fe34a2e8
armeb: Add support for ARM big endian.
2017-03-13 22:32:44 +08:00
Stephen
ee89c4a421
add brew tests ( #779 )
2017-03-12 21:31:49 +08:00
Stephen
b19daa77e8
Homebrew ( #778 )
...
* add homebrew build
* update command and fix compiler
* allow failures on brew HEAD builds
mainly there to monitor
2017-03-12 11:11:06 +08:00
Stephen
403237206e
add trusty builds ( #777 )
...
* add trusty builds
* Update .travis.yml
* remove bad apt addon attempt
2017-03-12 10:04:27 +08:00
Nguyen Anh Quynh
f2e75422e8
samples: add all sample code to sample_all.sh
2017-03-10 21:02:29 +08:00
feliam
0150ca24b1
Add support for ARM application flags - APSR register ( #776 )
2017-03-09 22:28:03 +08:00
Matt Thomas
2749b8412e
fix register widths for MIPS64 reg_read/write ( #775 )
...
* fix register widths for MIPS64 reg_read/write
* fix preprocessor typedef error for qemu/target-mips
2017-03-08 08:40:30 +08:00
stevielavern
b3a5eae81c
uc_reg_read & uc_reg_write now support ARM64 Neon registers ( #774 )
...
* uc_reg_read & uc_reg_write now support ARM64 Neon registers
* Do not reuse uc_x86_xmm for uc_arm64_neon128. TODO: refactor both classes to use the same parent.
2017-03-07 21:29:34 +08:00
Nguyen Anh Quynh
117b48c33c
bindings: use diff -u in Makefile
2017-02-26 16:52:06 +08:00
Nguyen Anh Quynh
c3808179e1
another attempt to fix #766
2017-02-26 15:22:24 +08:00
Nguyen Anh Quynh
70db329749
regress: ignore arm_enable_vfp
2017-02-26 10:50:18 +08:00
Nguyen Anh Quynh
e65fef70dc
add missing TCG context arg to few functions in tcg.c. see #766
2017-02-26 09:47:40 +08:00
Nguyen Anh Quynh
d52f85d16e
add back missing ELF symbols reported in #766
2017-02-26 09:39:11 +08:00
Adrian Herrera
c090f198ad
Haskell bindings update ( #767 )
...
* haskell: Properly handle invalid memory access
* haskell: source cleanup
* haskell: added support for batch reg read/write
2017-02-26 09:27:35 +08:00
Nguyen Anh Quynh
a40e5aae09
regress: fix warning on compilation on eflags_noset.c. see #764
2017-02-25 11:20:26 +08:00
Nguyen Anh Quynh
b12ce92468
regress: eflags_noset.c should only asm x86 code on x86 platform. fix #764
2017-02-25 01:14:47 +08:00
Nguyen Anh Quynh
f4325f8c4e
bindings: update to support X86 MSR id
2017-02-24 21:51:01 +08:00
Neal Gompa (ニール・ゴンパ)
fc72622ba8
Makefile: Allow for overriding job threads for making 'qemu' dir ( #762 )
...
Providing a default level of parallelism is perfectly fine, but it
should also be possible to set higher or lower levels of parallelism
easily. This is particularly beneficial for people packaging the
software for Linux distributions.
2017-02-24 21:49:29 +08:00
Ahmed Samy
02e6c14e12
x86: add MSR API via reg API ( #755 )
...
Writing / reading to model specific registers should be as easy as
calling a function, it's a bit stupid to write shell code and run them
just to write/read to a MSR, and even worse, you need more than just a
shellcode to read...
So, add a special register ID called UC_X86_REG_MSR, which should be
passed to uc_reg_write()/uc_reg_read() as the register ID, and then a
data structure which is uc_x86_msr (12 bytes), as the value (always), where:
Byte Value Size
0 MSR ID 4
4 MSR val 8
2017-02-24 21:37:19 +08:00
radare
8acd6d47c9
Properly honor UNICORN_HAS_ ( #757 )
...
* Properly honor UNICORN_HAS_
* Oops missed that
2017-02-24 10:00:36 +08:00
Nguyen Anh Quynh
8f488a101c
Makefile: clean remove library *.{a,def}
2017-02-23 20:57:14 +08:00
Nguyen Anh Quynh
ed7e19e1b7
fix ChangeLog
2017-02-23 20:50:36 +08:00
Nguyen Anh Quynh
e7ecbf7889
m68k: fix a compilation warning
2017-02-23 20:34:17 +08:00
Nguyen Anh Quynh
714cf2c609
arm: fix a warning
2017-02-23 20:32:09 +08:00
Nguyen Anh Quynh
f3f2a4d7a9
prepare for v1.0
2017-02-23 20:17:02 +08:00
fG!
d5870ff47d
Update unicorn.h ( #753 )
...
Make it clear that only very few instructions can be hooked
2017-02-21 10:22:17 +08:00
Nguyen Anh Quynh
736d9857d2
recover some ELF symbols for building on Arm, PPC, Sparc & S390. issue #752
2017-02-20 15:16:50 +08:00
Chris Eagle
a03e908611
Fix initial state of segment registers ( #751 )
...
* Remove glib from samples makefile
* changes to 16 bit segment registers needs to update segment base as well as segment selector
* change how x86 segment registers are set in 16-bit mode
* more appropriate solution to initial state of x86 segment registers in 16-bit mode
* remove commented lines
2017-02-09 23:49:54 +08:00
Chris Eagle
f05984961b
Fix 16-bit address computations ( #747 )
...
* Remove glib from samples makefile
* changes to 16 bit segment registers needs to update segment base as well as segment selector
* change how x86 segment registers are set in 16-bit mode
2017-02-08 09:37:41 +08:00
Sascha Schirra
eb4dc61c66
Updated ruby bindings ( #744 )
...
* added methods for uc_context_save, uc_context_restore
* added test for context_save
* changed version of the lib
2017-01-29 08:13:17 +08:00
hedger
89d536df5a
Fixed build script for *BSD ( #743 )
2017-01-29 08:12:38 +08:00
Nguyen Anh Quynh
c961e1a4d5
bump package name to 1.0-rc3
2017-01-25 22:01:54 +08:00
Nguyen Anh Quynh
1d73d72c69
typo
2017-01-25 12:03:09 +08:00
Nguyen Anh Quynh
7854bf9e57
typo
2017-01-25 12:02:41 +08:00
Nguyen Anh Quynh
b616115df1
update ChangeLog
2017-01-25 12:00:18 +08:00
Parker Thompson
053ecd7bf4
Added ARM coproc registers ( #684 )
...
* Added ARM coproc registers
* Added regression test for vfp
2017-01-25 11:56:19 +08:00
Nguyen Anh Quynh
a735576dd3
python: support uc_mem_regions() API
2017-01-24 12:47:27 +08:00
Nguyen Anh Quynh
e4c7c3dbe4
cleanup Sparc unused code
2017-01-23 12:33:39 +08:00
Nguyen Anh Quynh
55d472c62c
cleanup Monitor related code
2017-01-23 00:53:31 +08:00
Nguyen Anh Quynh
b3faed1df9
cleanup
2017-01-23 00:30:13 +08:00
Nguyen Anh Quynh
0c55648dee
make.sh: build_linux32() appends, but does not overwrite UNICORN_QEMU_FLAGS
2017-01-22 23:53:28 +08:00