Simon Wörner
66df39ebc9
Improve Rust bindings ( #1367 )
...
* fixed tests
* constant readability
* HookType as bitflags
* Mode as bitflags
* improve bitflags
* cargo fmt
* removed unnecessary "as usize"
2021-05-08 18:48:50 +08:00
Nguyen Anh Quynh
1e457ecc66
cmake: enable UNICORN_HAS_ARMEB when ARM is on
2020-11-17 15:13:57 +08:00
Nguyen Anh Quynh
b2f253d732
copy .travis.yml from master branch
2020-11-17 13:09:22 +08:00
Nguyen Anh Quynh
fb667f5cdc
merge master & fix conflicts
2020-11-17 13:07:34 +08:00
Peter Meerwald-Stadler
770d5679c3
Fix some typos in include files ( #1350 )
2020-10-29 11:16:45 +08:00
smeng9
5e4423a419
Update binding list ( #1349 )
2020-10-28 09:47:59 +08:00
pkubaj
95bc0bdc21
Fix build with LLVM on powerpc64(le) ( #1347 )
...
Conflicting symbols need to be undefined before including altivec.h.
2020-10-25 07:34:57 +08:00
Nguyen Anh Quynh
4c054b9f0d
update SPONSORS.TXT
2020-10-23 00:03:54 +08:00
Nguyen Anh Quynh
886acbf599
add SPONSORS.TXT
2020-10-21 19:34:41 +08:00
Nguyen Anh Quynh
b1d7782c07
update pkgconfig.mk for 1.0.2
2020-10-21 13:42:20 +08:00
Nguyen Anh Quynh
eb38c5b2e5
update ChangeLog for 1.0.2
2020-10-20 22:13:43 +08:00
LAADHARI
e639d3fc93
FIX java binding compilation #1339 ( #1340 )
2020-10-07 11:43:26 +08:00
Brian Foley
dbc6cc27c7
Fix compile if HAS_ARM is defined but HAS_ARM_EB isn't ( #1338 )
2020-10-07 11:42:14 +08:00
Nguyen Anh Quynh
198e432a1d
update Changelog for 1.0.2-rc6
2020-09-24 22:55:14 +08:00
Nguyen Anh Quynh
0291ac7675
update CREDITS.TXT
2020-09-24 22:37:59 +08:00
Nguyen Anh Quynh
95e539f3e6
samples: make sample_x86.c to use uc_context_free() to free context (instead of uc_free())
2020-09-24 22:37:01 +08:00
lazymio
1044403d38
Implement uc_context_free ( #1336 )
...
* Implement uc_context_free
* Use uc_context_free for python bindings
* Format code
* Simplify code
* Move next,context inside while loop
* Add my name to CREDITS.TXT
2020-09-24 22:28:55 +08:00
lazymio
4441394258
Fix context saving ( #1335 )
...
* Fix context size
* Make UcContext convertible to bytes and picklable
Fix when updaing context
* Test context pickling
* Fix double free when the context is pickled from bytes
2020-09-24 00:53:23 +08:00
chfl4gs
21235916b9
removing testpypi ( #1332 )
...
* Adding Travis-CI cmake static
* fix 64-bit fstenv (#1300 )
* fix 64-bit fstenv
* fix fstenv
* safe_zip to false and travis adjustment
* Fixed zip_safe and cygwin setup
* Removing testpypi
Co-authored-by: liangjs <761232680@qq.com>
2020-09-22 03:36:07 +08:00
Nguyen Anh Quynh
6c63235ebe
be ready for 1.0.2-rc5
2020-09-22 02:11:43 +08:00
lazymio
644da9babc
Fix setjmp/longjmp on native Windows ( #1331 )
...
* Add setjmp wrapper
* Add to projects
* Use wrapper on x64
* Always build on x64 and exclude on win32
* Fix signature
* Add comments
* Add comments for os-win32.h
* Add extern decleration
* Support cmake Windows build
* Fix for MinGW
2020-09-22 02:02:43 +08:00
Jhe
19f8991cbb
fix HI/LO register read/write issue in MIPS ( #1319 )
...
* fix HI/LO register read/write issue in MIPS
* fix typo
2020-09-21 10:40:01 +08:00
liangjs
225f6f2889
Return 'indefinite integer value' for invalid SSE fp->int conversions ( #1306 )
...
Merge from qemu commit 1e8a98b53867f61da9ca09f411288e2085d323c4.
1e8a98b538
2020-09-21 10:39:00 +08:00
☃ Stephen Shkardoon ☃
b1459f7554
Fix failing test caused by removal of UC_ERR_TIMEOUT ( #1305 )
...
Caused by fbef45b18f
.
Now the code assumes if it completes without an error, it was
successful.
2020-09-21 10:37:38 +08:00
Nikolas Eller
473405797d
Improved Rust bindings: ( #1309 )
...
* Added basic block hooking
* Changed confusing struct naming. Before: Protection::All -> R,W,X, Now: Permission::All -> R,W,X
* Fixed issue with remove_hook(..). Implementation tried to remove hook from incorrect hashmap.
* Made unused private vmmap(..) public.
2020-09-21 10:36:58 +08:00
Chen Huitao
848d52033e
fix aarch64 cpu init error. ( #1307 )
2020-09-17 18:03:36 +08:00
mogoreanu
3f56323fef
Removed unused bitmap_set rename bitmap_clear to qemu_bitmap_clear. ( #1327 )
...
When unicorn and systemd are included into a single binary they conflict
on the bitmap_clear function which breaks unicorn. It seems that
long-term we can remove the qemu_bitmap_clear altogether and leave only
bitmap_zero_extend.
Co-authored-by: Nicolae Mogoreanu <mogo@google.com>
2020-09-16 21:47:08 +08:00
mogoreanu
748aceb760
Add qemu_ prefix to bitmap_set and bitmap_clear to avoid conflicts. ( #1326 )
...
When unicorn and systemd are combined into a single binary the 2
libraries conflict on bitmap_set and bitmap_clear functions which breaks
unicorn.
Co-authored-by: Nicolae Mogoreanu <mogo@google.com>
2020-09-16 17:09:10 +08:00
Sunho Kim
abe452babc
Fix enabled hooks even after deleting them ( #1315 )
2020-09-10 10:03:36 +08:00
lazymio
c1c0baec7d
Fix IP value for UC_MODE_16 ( #1321 )
2020-09-10 10:02:22 +08:00
chfl4gs
c03f50f76a
Fixing installation on cygwin, Travis-ci cache adjustment ( #1322 )
...
* Adding Travis-CI cmake static
* fix 64-bit fstenv (#1300 )
* fix 64-bit fstenv
* fix fstenv
* safe_zip to false and travis adjustment
* Fixed zip_safe and cygwin setup
Co-authored-by: liangjs <761232680@qq.com>
2020-09-10 10:01:13 +08:00
h01G3r
a9025c58a4
fixes an issue with ARM APSR register handling: ( #1317 )
...
- Q flag / GE flag were not included in APSR register (read/write)
- UC_ARM_REG_APSR_NZCV register constant was ignored completely.
- regression test added
2020-08-20 23:24:04 +08:00
liangjs
3134f33029
fix 64-bit fstenv ( #1300 )
...
* fix 64-bit fstenv
* fix fstenv
2020-06-28 01:43:14 +08:00
Nguyen Anh Quynh
b22d4cfbb2
uc_struct: remove current_cpu
2020-06-27 21:59:58 +08:00
Nguyen Anh Quynh
0f0bf3ed83
uc_struct: delete block_addr field
2020-06-25 14:44:25 +08:00
Nguyen Anh Quynh
acc0d6cc9b
restore MemoryRegion.enabled & delete io_mem_watch
2020-06-22 17:09:12 +08:00
Nguyen Anh Quynh
3db98ac1be
cleanup memory api
2020-06-22 12:49:12 +08:00
Nguyen Anh Quynh
cae6f80e5e
x86 cleanup
2020-06-21 11:48:14 +08:00
Nguyen Anh Quynh
ac30245e18
cleanup
2020-06-21 01:12:02 +08:00
Nguyen Anh Quynh
961fed7b11
clean cpus.h
2020-06-15 00:51:28 +08:00
Nguyen Anh Quynh
e0c89b7f2c
cleanup qemu/include/exec/
2020-06-15 00:45:58 +08:00
Nguyen Anh Quynh
38ddaf585f
cleanup RAMList & exec.c
2020-06-15 00:16:18 +08:00
Nguyen Anh Quynh
036306579a
simplify RAMBlock struct
2020-06-14 23:42:38 +08:00
Lukas Seidel
5a6344b8d8
Rust bindings ( #1295 )
...
* rust bindings init
* updated bindings/README
2020-06-14 21:39:59 +08:00
chfl4gs
a8a6a3fa9a
PyPI test check ( #1296 )
...
* Adding Travis-CI cmake static
* adding pypi test
2020-06-14 01:46:10 +08:00
Nguyen Anh Quynh
297a78990d
i386: remove hyperv stuff in X86CPU
2020-06-13 11:27:22 +08:00
Nguyen Anh Quynh
5b3a27721e
cleanup
2020-06-12 19:37:02 +08:00
Nguyen Anh Quynh
6b091b755a
i386: clean cpu.h
2020-06-12 13:48:56 +08:00
Nguyen Anh Quynh
8ce974b519
x86: remove eflags0 from CPUState
2020-06-12 13:05:27 +08:00
Nguyen Anh Quynh
d685bedac4
cleanup cpu.h of x86
2020-06-12 12:21:47 +08:00