Simon Gorchakov
76a3ebdc03
Fix no return value error.
2020-05-10 22:31:20 +03:00
Simon Gorchakov
a6c9b41c68
Initial update for PPC
2020-05-08 21:54:29 +03:00
BAYET
881e08da01
Fix UAF when deleting hook while in hook callback #1127 ( #1130 )
...
* Handle the cpu context save in a more pythonic way, so the context can be serialized and reuse in an other process using the same emulator architecture and modes
* Fix type error ; mistakes a size_t uint64_t ; breaks in 32bit...
* Fix the UAF situation when deleting a hook while being in a hook callback. Added an attribute 'to_delete' to hooks, and a list hooks_to_del to delay the free of the hooks
* Minor fixes ; forgot return type of clear_deleted_hooks ; do not declare variable in for predicate
2020-05-07 14:24:48 +08:00
Chen Huitao
f435efd4a7
fix some oss-fuzz ( #1249 )
...
* fix oss-fuzz 21012.
* fix oss-fuzz 21741.
* fix oss-fuzz 21743.
2020-05-05 11:11:59 +08:00
Dominik Maier
625399774c
X64 base regs ( #1166 )
...
* x86: setup FS & GS base
* Fixed base register writes for x64, removed then for x16/x32 (the don't exist there?)
* FS reg comes before GS so the base regs do so, too
* added shebang to const_generator.py
* Added base regs to and added 'all' support to const_generator
Co-authored-by: naq <aquynh@gmail.com>
2020-05-05 08:34:51 +08:00
Charles Ferguson
b7e64f3c99
Fix block hooks being called twice after an early exit from execution. ( #1194 )
...
Ensure the TCG exit flag is cleared at the end of cpu_exec. This ensures
that subsequent calls are not polluted by the prior call to request an
early exit. The symptoms of the problem being addressed here are that
after a cpu_exit call triggered within a hook there may still be a
pending tcg_exit_req flag set. This then causes a block to start its
execution and then be aborted (from which point it'll continue because
there's no other condition to service). The start of the execution
causes the block hook to be called, no actual code to be run, and then
the block started again with another block hook call.
This change is discussed in ticket 1193:
https://github.com/unicorn-engine/unicorn/issues/1193
2020-05-05 08:32:12 +08:00
Nguyen Anh Quynh
0cd66bab8a
fix qemu/scripts/qapi-build.sh
2020-04-30 14:00:48 +08:00
Nguyen Anh Quynh
00bbe2ce7d
we do not need Python to build anymore
2020-04-30 13:58:33 +08:00
Nguyen Anh Quynh
27167a8ccb
delete unused qemu/scripts/qapi-event.py
2020-04-30 11:13:28 +08:00
Nguyen Anh Quynh
0d93f055b4
cleanup qemu/configure
2020-04-28 16:46:41 +08:00
Nguyen Anh Quynh
2b13230a4d
qemu/Makefile cleanup
2020-04-28 13:50:50 +08:00
Nguyen Anh Quynh
21b5c122a3
qemu/Makefile cleanup
2020-04-28 13:34:16 +08:00
Nguyen Anh Quynh
06d741242d
qemu/Makefile cleanup
2020-04-28 13:30:18 +08:00
Chen Huitao
414c230b59
fix m68k func name ( #1245 )
...
* fix finding python path which only has python3.
* fix m68k func name.
2020-04-28 09:51:45 +08:00
Nguyen Anh Quynh
9a70675975
qemu/Makefile cleanup
2020-04-28 09:39:10 +08:00
Nguyen Anh Quynh
49473d7780
Merge branch 'master' of github.com:unicorn-engine/unicorn
2020-04-28 08:58:41 +08:00
Nguyen Anh Quynh
709d081972
more qemu/Makefile* cleanup
2020-04-28 02:38:51 +08:00
Nguyen Anh Quynh
dd28727e99
more qemu/Makefile* cleanup
2020-04-28 01:53:39 +08:00
Nguyen Anh Quynh
cdd9340113
cleanup qemu Makefile*
2020-04-27 23:01:26 +08:00
Nguyen Anh Quynh
d2c66b8386
cleanup qemu/configure
2020-04-27 20:44:11 +08:00
Chen Huitao
8905ecd5e4
move some operations after hook callback ( #1243 )
...
* fix finding python path which only has python3.
* move some operations after hook callback.
2020-04-27 19:54:58 +08:00
Nguyen Anh Quynh
5826b1fa54
Merge branch 'master' of github.com:unicorn-engine/unicorn
2020-04-27 01:51:59 +08:00
Nguyen Anh Quynh
cc5bfbc844
delete unused file i386-softmmu.mak
2020-04-27 01:31:39 +08:00
Nguyen Anh Quynh
0ac28359a3
Makefile cleanup
2020-04-25 17:54:14 +08:00
Nguyen Anh Quynh
d947b5f76f
cleanup qemu Makefile
2020-04-24 18:06:21 +08:00
Nguyen Anh Quynh
dff96a24a1
cleanup qemu/Makefile*
2020-04-24 15:34:06 +08:00
Nguyen Anh Quynh
d4b9f436f0
more ppc cleanup
2020-04-13 17:55:16 +08:00
Nguyen Anh Quynh
148fa4d66d
cleanup: we do not support PowerPC
2020-04-13 17:37:06 +08:00
Chen Huitao
b5f9441689
fix some oss-fuzz bugs ( #1233 )
...
* fix oss-fuzz 18138.
* fix oss-fuzz 20079.
* fix oss-fuzz 20209.
* fix oss-fuzz 20210.
* fix oss-fuzz 20262.
* rollback.
* rollback.
* fix oss-fuzz 20079.
* fix oss-fuzz 20179.
* fix oss-fuzz 20195.
* fix oss-fuzz 20206.
* fix oss-fuzz 20207.
* fix oss-fuzz 20265.
* fix oss-fuzz 20285.
* fix oss-fuzz 20868.
* fix oss-fuzz 20908.
* fix oss-fuzz 20909.
* fix oss-fuzz 20914.
* fix oss-fuzz 20922.
* fix oss-fuzz 20928.
* remove warnigs.
* fix oss-fuzz 20961.
* fix oss-fuzz 21005.
* remove clang warnings.
* fix oss-fuzz 21043.
* fix oss-fuzz 21047.
* fix oss-fuzz 21050.
* fix oss-fuzz 21219.
* fix oss-fuzz 21380.
* fix oss-fuzz 21455.
* fix oss-fuzz 21458.
* fix oss-fuzz 21650.
* fix oss-fuzz 21651.
2020-04-13 16:34:07 +08:00
Chen Huitao
4d7193eeb3
fix some oss-fuzz ( #1229 )
...
* fix oss-fuzz 18138.
* fix oss-fuzz 20079.
* fix oss-fuzz 20209.
* fix oss-fuzz 20210.
* fix oss-fuzz 20262.
* rollback.
* rollback.
* fix oss-fuzz 20079.
* fix oss-fuzz 20179.
* fix oss-fuzz 20195.
* fix oss-fuzz 20206.
* fix oss-fuzz 20207.
* fix oss-fuzz 20265.
* fix oss-fuzz 20285.
* fix oss-fuzz 20868.
* fix oss-fuzz 20908.
* fix oss-fuzz 20909.
* fix oss-fuzz 20914.
* fix oss-fuzz 20922.
* fix oss-fuzz 20928.
* remove warnigs.
* fix oss-fuzz 20961.
* fix oss-fuzz 21005.
* remove clang warnings.
* fix oss-fuzz 21043.
* fix oss-fuzz 21047.
* fix oss-fuzz 21050.
* fix oss-fuzz 21219.
* fix oss-fuzz 21380.
* fix oss-fuzz 21455.
* fix oss-fuzz 21458.
2020-04-08 03:37:12 +08:00
Chen Huitao
930cb9ada8
fix some oss-fuzz ( #1224 )
...
* fix oss-fuzz 18138.
* fix oss-fuzz 20079.
* fix oss-fuzz 20209.
* fix oss-fuzz 20210.
* fix oss-fuzz 20262.
* rollback.
* rollback.
* fix oss-fuzz 20079.
* fix oss-fuzz 20179.
* fix oss-fuzz 20195.
* fix oss-fuzz 20206.
* fix oss-fuzz 20207.
* fix oss-fuzz 20265.
* fix oss-fuzz 20285.
* fix oss-fuzz 20868.
* fix oss-fuzz 20908.
* fix oss-fuzz 20909.
* fix oss-fuzz 20914.
* fix oss-fuzz 20922.
* fix oss-fuzz 20928.
* remove warnigs.
* fix oss-fuzz 20961.
* fix oss-fuzz 21005.
* remove clang warnings.
* fix oss-fuzz 21043.
* fix oss-fuzz 21047.
* fix oss-fuzz 21050.
* fix oss-fuzz 21219.
2020-03-24 16:23:04 +08:00
Chen Huitao
4ca2c7f0b0
fix some oss-fuzz ( #1218 )
...
* fix oss-fuzz 18138.
* fix oss-fuzz 20079.
* fix oss-fuzz 20209.
* fix oss-fuzz 20210.
* fix oss-fuzz 20262.
* rollback.
* rollback.
* fix oss-fuzz 20079.
* fix oss-fuzz 20179.
* fix oss-fuzz 20195.
* fix oss-fuzz 20206.
* fix oss-fuzz 20207.
* fix oss-fuzz 20265.
* fix oss-fuzz 20285.
* fix oss-fuzz 20868.
* fix oss-fuzz 20908.
* fix oss-fuzz 20909.
* fix oss-fuzz 20914.
* fix oss-fuzz 20922.
* fix oss-fuzz 20928.
* remove warnigs.
2020-03-02 09:44:53 +08:00
Chen Huitao
65614075d2
fix some oss-fuzz ( #1213 )
...
* fix oss-fuzz 18138.
* fix oss-fuzz 20079.
* fix oss-fuzz 20209.
* fix oss-fuzz 20210.
* fix oss-fuzz 20262.
* rollback.
* rollback.
* fix oss-fuzz 20079.
* fix oss-fuzz 20179.
* fix oss-fuzz 20195.
* fix oss-fuzz 20206.
* fix oss-fuzz 20207.
* fix oss-fuzz 20265.
* fix oss-fuzz 20285.
* fix oss-fuzz 20868.
2020-02-26 17:58:19 +08:00
Chen Huitao
c520307959
fix some oss-fuzz ( #1206 )
...
* fix oss-fuzz 18138.
* fix oss-fuzz 20079.
* fix oss-fuzz 20209.
* fix oss-fuzz 20210.
* fix oss-fuzz 20262.
* rollback.
* rollback.
* fix oss-fuzz 20079.
* fix oss-fuzz 20179.
* fix oss-fuzz 20195.
* fix oss-fuzz 20206.
* fix oss-fuzz 20207.
* fix oss-fuzz 20265.
2020-02-25 11:36:06 +08:00
Chen Huitao
393a5641fd
fix mips ops bugs. ( #1209 )
2020-02-19 19:57:22 +08:00
kickass156
e54eea00ec
The expression(args[i] < 0) always returns false ( #1207 )
...
* Update optimize.c
typedef uint64_t tcg_target_ulong;
typedef tcg_target_ulong TCGArg;
TCGArg *args
The expression(args[i] < 0) always returns false
* Update tcg.c
typedef uint64_t tcg_target_ulong;
typedef tcg_target_ulong TCGArg;
TCGArg *args
The expression(args[i] < 0) always returns false
2020-02-15 08:11:40 +08:00
Chen Huitao
901efc4bd4
fix some oss-fuzz ( #1200 )
...
* fix oss-fuzz 10419.
* fix oss-fuzz 10427.
* fix oss-fuzz 10421.
* fix oss-fuzz 10422.
* fix oss-fuzz 10425.
* fix oss-fuzz 10426.
* fix oss-fuzz 10426.
* fix oss-fuzz 10422.
* fix oss-fuzz 10426.
* fix oss-fuzz 10456.
* fix oss-fuzz 10428.
* fix oss-fuzz 10429.
* fix oss-fuzz 10431.
* fix oss-fuzz 10435.
* fix oss-fuzz 10430.
* fix oss-fuzz 10436.
* remove unused var.
* fix oss-fuzz 10449.
* fix oss-fuzz 10452.
* fix oss-fuzz 11792.
* fix oss-fuzz 10457.
* fix oss-fuzz 11737.
* fix oss-fuzz 10458.
* fix oss-fuzz 10565.
* fix oss-fuzz 11651.
* fix oss-fuzz 10497.
* fix oss-fuzz 10515.
* fix oss-fuzz 10586.
* fix oss-fuzz 10597.
* fiz oss-fuzz 11721.
* fix oss-fuzz 10718.
* fix oss-fuzz 15610.
* fix oss-fuzz 10512.
* fix oss-fuzz 10545.
* fix oss-fuzz 10598.
* fix oss-fuzz 11112.
* fix oss-fuzz 11589.
* fix oss-fuzz 10674.
* git fix oss-fuzz 19610.
* fix oss-fuzz 19848.
* fix oss-fuzz 19851.
* fix oss-fuzz 19852.
* fix oss-fuzz 10878.
* fix oss-fuzz 11655.
* fix oss-fuzz 19849.
* fix oss-fuzz 11765.
* fix oss-fuzz 10337.
* fix oss-fuzz 10575.
* fix oss-fuzz 19877.
* fix oss-fuzz 19895.
* fix oss-fuzz 19896.
* fix oss-fuzz 19897.
* remove verbose fprintf output.
* fix oss-fuzz 19943.
* fix oss-fuzz 20026.
* fix oss-fuzz 20027.
* fix oss-fuzz 19967.
* fix oss-fuzz 19946.
* fix oss-fuzz 20069.
* fix oss-fuzz 20071.
* fix oss-fuzz 20073.
* fix oss-fuzz 20075.
* fix oss-fuzz 20076.
* fix a operation mistake.
* fix oss-fuzz 20101.
* fix oss-fuzz 20152.
* fix oss-fuzz 20101.
* fix oss-fuzz 20154.
* fix oss-fuzz 20166.
* fix oss-fuzz 14042.
* fix oss-fuzz 10578.
* fix oss-fuzz 11328.
* fix oss-fuzz 10602.
2020-02-10 22:33:00 +08:00
Ryan Houdek
1eabe2ffaa
Fixes LM flag for CPUID extended feature mask ( #1202 )
2020-02-10 10:57:46 +08:00
Haruka Ma
63ebcf41a8
Python 3.8 compatibility ( #1201 )
2020-02-09 01:03:56 +08:00
Chen Huitao
8b99637f77
fix some oss-fuzz ( #1192 )
...
* fix oss-fuzz 10419.
* fix oss-fuzz 10427.
* fix oss-fuzz 10421.
* fix oss-fuzz 10422.
* fix oss-fuzz 10425.
* fix oss-fuzz 10426.
* fix oss-fuzz 10426.
* fix oss-fuzz 10422.
* fix oss-fuzz 10426.
* fix oss-fuzz 10456.
* fix oss-fuzz 10428.
* fix oss-fuzz 10429.
* fix oss-fuzz 10431.
* fix oss-fuzz 10435.
* fix oss-fuzz 10430.
* fix oss-fuzz 10436.
* remove unused var.
* fix oss-fuzz 10449.
* fix oss-fuzz 10452.
* fix oss-fuzz 11792.
* fix oss-fuzz 10457.
* fix oss-fuzz 11737.
* fix oss-fuzz 10458.
* fix oss-fuzz 10565.
* fix oss-fuzz 11651.
* fix oss-fuzz 10497.
* fix oss-fuzz 10515.
* fix oss-fuzz 10586.
* fix oss-fuzz 10597.
* fiz oss-fuzz 11721.
* fix oss-fuzz 10718.
* fix oss-fuzz 15610.
* fix oss-fuzz 10512.
* fix oss-fuzz 10545.
* fix oss-fuzz 10598.
* fix oss-fuzz 11112.
* fix oss-fuzz 11589.
* fix oss-fuzz 10674.
* git fix oss-fuzz 19610.
* fix oss-fuzz 19848.
* fix oss-fuzz 19851.
* fix oss-fuzz 19852.
* fix oss-fuzz 10878.
* fix oss-fuzz 11655.
* fix oss-fuzz 19849.
* fix oss-fuzz 11765.
* fix oss-fuzz 10337.
* fix oss-fuzz 10575.
* fix oss-fuzz 19877.
* fix oss-fuzz 19895.
* fix oss-fuzz 19896.
* fix oss-fuzz 19897.
* remove verbose fprintf output.
* fix oss-fuzz 19943.
* fix oss-fuzz 20026.
* fix oss-fuzz 20027.
* fix oss-fuzz 19967.
* fix oss-fuzz 19946.
* fix oss-fuzz 20069.
* fix oss-fuzz 20071.
* fix oss-fuzz 20073.
* fix oss-fuzz 20075.
* fix oss-fuzz 20076.
* fix a operation mistake.
* fix oss-fuzz 20101.
* fix oss-fuzz 20152.
* fix oss-fuzz 20101.
* fix oss-fuzz 20154.
* fix oss-fuzz 20166.
* fix oss-fuzz 14042.
2020-01-18 23:49:36 +08:00
Chen Huitao
6398248534
fix some oss-fuzz ( #1191 )
...
* fix oss-fuzz 10419.
* fix oss-fuzz 10427.
* fix oss-fuzz 10421.
* fix oss-fuzz 10422.
* fix oss-fuzz 10425.
* fix oss-fuzz 10426.
* fix oss-fuzz 10426.
* fix oss-fuzz 10422.
* fix oss-fuzz 10426.
* fix oss-fuzz 10456.
* fix oss-fuzz 10428.
* fix oss-fuzz 10429.
* fix oss-fuzz 10431.
* fix oss-fuzz 10435.
* fix oss-fuzz 10430.
* fix oss-fuzz 10436.
* remove unused var.
* fix oss-fuzz 10449.
* fix oss-fuzz 10452.
* fix oss-fuzz 11792.
* fix oss-fuzz 10457.
* fix oss-fuzz 11737.
* fix oss-fuzz 10458.
* fix oss-fuzz 10565.
* fix oss-fuzz 11651.
* fix oss-fuzz 10497.
* fix oss-fuzz 10515.
* fix oss-fuzz 10586.
* fix oss-fuzz 10597.
* fiz oss-fuzz 11721.
* fix oss-fuzz 10718.
* fix oss-fuzz 15610.
* fix oss-fuzz 10512.
* fix oss-fuzz 10545.
* fix oss-fuzz 10598.
* fix oss-fuzz 11112.
* fix oss-fuzz 11589.
* fix oss-fuzz 10674.
* git fix oss-fuzz 19610.
* fix oss-fuzz 19848.
* fix oss-fuzz 19851.
* fix oss-fuzz 19852.
* fix oss-fuzz 10878.
* fix oss-fuzz 11655.
* fix oss-fuzz 19849.
* fix oss-fuzz 11765.
* fix oss-fuzz 10337.
* fix oss-fuzz 10575.
* fix oss-fuzz 19877.
* fix oss-fuzz 19895.
* fix oss-fuzz 19896.
* fix oss-fuzz 19897.
* remove verbose fprintf output.
* fix oss-fuzz 19943.
* fix oss-fuzz 20026.
* fix oss-fuzz 20027.
* fix oss-fuzz 19967.
* fix oss-fuzz 19946.
* fix oss-fuzz 20069.
* fix oss-fuzz 20071.
* fix oss-fuzz 20073.
* fix oss-fuzz 20075.
* fix oss-fuzz 20076.
* fix a operation mistake.
* fix oss-fuzz 20101.
* fix oss-fuzz 20152.
* fix oss-fuzz 20101.
* fix oss-fuzz 20154.
2020-01-17 17:23:39 +08:00
Chen Huitao
2776bc1db7
fix some oss-fuzz ( #1189 )
...
* fix oss-fuzz 10419.
* fix oss-fuzz 10427.
* fix oss-fuzz 10421.
* fix oss-fuzz 10422.
* fix oss-fuzz 10425.
* fix oss-fuzz 10426.
* fix oss-fuzz 10426.
* fix oss-fuzz 10422.
* fix oss-fuzz 10426.
* fix oss-fuzz 10456.
* fix oss-fuzz 10428.
* fix oss-fuzz 10429.
* fix oss-fuzz 10431.
* fix oss-fuzz 10435.
* fix oss-fuzz 10430.
* fix oss-fuzz 10436.
* remove unused var.
* fix oss-fuzz 10449.
* fix oss-fuzz 10452.
* fix oss-fuzz 11792.
* fix oss-fuzz 10457.
* fix oss-fuzz 11737.
* fix oss-fuzz 10458.
* fix oss-fuzz 10565.
* fix oss-fuzz 11651.
* fix oss-fuzz 10497.
* fix oss-fuzz 10515.
* fix oss-fuzz 10586.
* fix oss-fuzz 10597.
* fiz oss-fuzz 11721.
* fix oss-fuzz 10718.
* fix oss-fuzz 15610.
* fix oss-fuzz 10512.
* fix oss-fuzz 10545.
* fix oss-fuzz 10598.
* fix oss-fuzz 11112.
* fix oss-fuzz 11589.
* fix oss-fuzz 10674.
* git fix oss-fuzz 19610.
* fix oss-fuzz 19848.
* fix oss-fuzz 19851.
* fix oss-fuzz 19852.
* fix oss-fuzz 10878.
* fix oss-fuzz 11655.
* fix oss-fuzz 19849.
* fix oss-fuzz 11765.
* fix oss-fuzz 10337.
* fix oss-fuzz 10575.
* fix oss-fuzz 19877.
* fix oss-fuzz 19895.
* fix oss-fuzz 19896.
* fix oss-fuzz 19897.
* remove verbose fprintf output.
* fix oss-fuzz 19943.
* fix oss-fuzz 20026.
* fix oss-fuzz 20027.
* fix oss-fuzz 19967.
* fix oss-fuzz 19946.
* fix oss-fuzz 20069.
* fix oss-fuzz 20071.
* fix oss-fuzz 20073.
* fix oss-fuzz 20075.
* fix oss-fuzz 20076.
2020-01-15 22:18:00 +08:00
Chen Huitao
ec2e454481
fix some oss-fuzz ( #1188 )
...
* fix oss-fuzz 10419.
* fix oss-fuzz 10427.
* fix oss-fuzz 10421.
* fix oss-fuzz 10422.
* fix oss-fuzz 10425.
* fix oss-fuzz 10426.
* fix oss-fuzz 10426.
* fix oss-fuzz 10422.
* fix oss-fuzz 10426.
* fix oss-fuzz 10456.
* fix oss-fuzz 10428.
* fix oss-fuzz 10429.
* fix oss-fuzz 10431.
* fix oss-fuzz 10435.
* fix oss-fuzz 10430.
* fix oss-fuzz 10436.
* remove unused var.
* fix oss-fuzz 10449.
* fix oss-fuzz 10452.
* fix oss-fuzz 11792.
* fix oss-fuzz 10457.
* fix oss-fuzz 11737.
* fix oss-fuzz 10458.
* fix oss-fuzz 10565.
* fix oss-fuzz 11651.
* fix oss-fuzz 10497.
* fix oss-fuzz 10515.
* fix oss-fuzz 10586.
* fix oss-fuzz 10597.
* fiz oss-fuzz 11721.
* fix oss-fuzz 10718.
* fix oss-fuzz 15610.
* fix oss-fuzz 10512.
* fix oss-fuzz 10545.
* fix oss-fuzz 10598.
* fix oss-fuzz 11112.
* fix oss-fuzz 11589.
* fix oss-fuzz 10674.
* git fix oss-fuzz 19610.
* fix oss-fuzz 19848.
* fix oss-fuzz 19851.
* fix oss-fuzz 19852.
* fix oss-fuzz 10878.
* fix oss-fuzz 11655.
* fix oss-fuzz 19849.
* fix oss-fuzz 11765.
* fix oss-fuzz 10337.
* fix oss-fuzz 10575.
* fix oss-fuzz 19877.
* fix oss-fuzz 19895.
* fix oss-fuzz 19896.
* fix oss-fuzz 19897.
* remove verbose fprintf output.
* fix oss-fuzz 19943.
* fix oss-fuzz 20026.
* fix oss-fuzz 20027.
* fix oss-fuzz 19967.
* fix oss-fuzz 19946.
2020-01-14 10:08:58 +08:00
Chen Huitao
7e4ac9e86e
fix some oss-fuzz ( #1184 )
...
* fix oss-fuzz 10419.
* fix oss-fuzz 10427.
* fix oss-fuzz 10421.
* fix oss-fuzz 10422.
* fix oss-fuzz 10425.
* fix oss-fuzz 10426.
* fix oss-fuzz 10426.
* fix oss-fuzz 10422.
* fix oss-fuzz 10426.
* fix oss-fuzz 10456.
* fix oss-fuzz 10428.
* fix oss-fuzz 10429.
* fix oss-fuzz 10431.
* fix oss-fuzz 10435.
* fix oss-fuzz 10430.
* fix oss-fuzz 10436.
* remove unused var.
* fix oss-fuzz 10449.
* fix oss-fuzz 10452.
* fix oss-fuzz 11792.
* fix oss-fuzz 10457.
* fix oss-fuzz 11737.
* fix oss-fuzz 10458.
* fix oss-fuzz 10565.
* fix oss-fuzz 11651.
* fix oss-fuzz 10497.
* fix oss-fuzz 10515.
* fix oss-fuzz 10586.
* fix oss-fuzz 10597.
* fiz oss-fuzz 11721.
* fix oss-fuzz 10718.
* fix oss-fuzz 15610.
* fix oss-fuzz 10512.
* fix oss-fuzz 10545.
* fix oss-fuzz 10598.
* fix oss-fuzz 11112.
* fix oss-fuzz 11589.
* fix oss-fuzz 10674.
* git fix oss-fuzz 19610.
* fix oss-fuzz 19848.
* fix oss-fuzz 19851.
* fix oss-fuzz 19852.
* fix oss-fuzz 10878.
* fix oss-fuzz 11655.
* fix oss-fuzz 19849.
* fix oss-fuzz 11765.
* fix oss-fuzz 10337.
* fix oss-fuzz 10575.
* fix oss-fuzz 19877.
* fix oss-fuzz 19895.
* fix oss-fuzz 19896.
* fix oss-fuzz 19897.
* remove verbose fprintf output.
2020-01-10 23:05:44 +08:00
Chen Huitao
8621bca537
fix some oss-fuzz bugs ( #1182 )
...
* fix oss-fuzz 10419.
* fix oss-fuzz 10427.
* fix oss-fuzz 10421.
* fix oss-fuzz 10422.
* fix oss-fuzz 10425.
* fix oss-fuzz 10426.
* fix oss-fuzz 10426.
* fix oss-fuzz 10422.
* fix oss-fuzz 10426.
* fix oss-fuzz 10456.
* fix oss-fuzz 10428.
* fix oss-fuzz 10429.
* fix oss-fuzz 10431.
* fix oss-fuzz 10435.
* fix oss-fuzz 10430.
* fix oss-fuzz 10436.
* remove unused var.
* fix oss-fuzz 10449.
* fix oss-fuzz 10452.
* fix oss-fuzz 11792.
* fix oss-fuzz 10457.
* fix oss-fuzz 11737.
* fix oss-fuzz 10458.
* fix oss-fuzz 10565.
* fix oss-fuzz 11651.
* fix oss-fuzz 10497.
* fix oss-fuzz 10515.
* fix oss-fuzz 10586.
* fix oss-fuzz 10597.
* fiz oss-fuzz 11721.
* fix oss-fuzz 10718.
* fix oss-fuzz 15610.
* fix oss-fuzz 10512.
* fix oss-fuzz 10545.
2020-01-05 19:20:29 +08:00
Chen Huitao
68eb357984
fix some oss-fuzz bugs ( #1180 )
...
* fix oss-fuzz 10419.
* fix oss-fuzz 10427.
* fix oss-fuzz 10421.
* fix oss-fuzz 10422.
* fix oss-fuzz 10425.
* fix oss-fuzz 10426.
* fix oss-fuzz 10426.
* fix oss-fuzz 10422.
* fix oss-fuzz 10426.
* fix oss-fuzz 10456.
* fix oss-fuzz 10428.
* fix oss-fuzz 10429.
* fix oss-fuzz 10431.
* fix oss-fuzz 10435.
* fix oss-fuzz 10430.
* fix oss-fuzz 10436.
* remove unused var.
2020-01-04 23:42:02 +08:00
Charles Ferguson
99097cab4c
Add implementation of access to the ARM SPSR register. ( #1178 )
...
The SPSR register is named within the Unicorn headers, but the code
to access it is absent. This means that it will always read as 0 and
ignore writes. This makes it harder to work with changes in processor
mode, as the usual way to return from a CPU exception is a
`MOVS pc, lr` for undefined instructions or `SUBS pc, lr, #4`
for most other aborts - which implicitly restores the CPSR from SPSR.
This change adds the access to the SPSR so that it can be read and
written as the caller might expect.
2020-01-02 09:42:01 +08:00
Nguyen Anh Quynh
fc8a42aeb8
spacing
2020-01-01 09:56:55 +08:00
Charles Ferguson
b59632fb64
Ensure that PC is not fixed up when code tracing or timing. ( #1179 )
...
Under some circumstances, the PC is not fixed up properly when
returning from the execution of a block in cpu_tb_exec. This appears
to be caused by the resetting of the PC from the tb.
This change removes the additional fixup in the cases where there
is code tracing or timing active. Either of these cases would result
in the wrong PC being reported.
Closes unicorn-engine#1105.
2020-01-01 09:55:08 +08:00
Chen Huitao
95890d593f
fix oss-fuzz issue 10578. ( #1159 )
2019-12-29 00:14:05 +08:00