tbodt
f71bc1a115
Several bugfixes ( #2049 )
...
* Remove global variable from aarch64 tcg target
This obviously breaks trying to run two unicorn instances at once on
aarch64. It appears a similar variable had already been moved to the
state struct for i386 tcg target.
* Reenable writing to jit region while calling tb_add_jump
On arm macs, every place that writes to jit code needs to have
tb_exec_unlock called first. This is already in most necessary places,
but not this one.
* Don't forget to call restore_jit_state in uc_context_restore
Every time UC_INIT is used, restore_jit_state must be used on the return
path, or occasional assertion failures will pop up on arm macs.
* Restore pc before calling into tlb fill hook
In my application it is important to have correct pc values available
from this hook.
2024-11-04 12:53:26 +08:00
BitMaskMixer
8e6499fb0b
gcc compiler warning fixes ( #1977 )
...
* fix for enum-int-mismatch
* fix for unused-variable
2024-07-19 11:09:57 +08:00
71c729a9d7
Define HAVE_SPRR
2024-02-13 19:09:35 +08:00
a4ba7c9dd5
Add inline
2024-02-13 11:48:24 +08:00
591b562721
Fix defined
2024-02-13 11:38:49 +08:00
a6fb2a6870
Save jit state before/after callback
2024-02-13 11:13:01 +08:00
822bb527f3
M1 W^X fully supported
2024-02-12 00:10:44 +08:00
StalkR
db63f2d9d7
qemu: fix UBSAN errors in tcg and arm translation
2023-11-14 10:23:50 +01:00
3d5b2643f0
Support demand paging via closures and seh
...
Reverts 12a79192ee which exploits normal tcg mechanism
This uses a trampoline to pass extra data to seh handlers
2023-06-10 14:04:56 +02:00
a25adf84f0
Rename flags to avoid confusion
2023-01-28 22:18:39 +01:00
513e797d46
Update comments of the page count
2023-01-28 22:10:39 +01:00
12a79192ee
Demand paging on Windows
2023-01-28 22:04:43 +01:00
Eric Poole
cfee2139a0
TriCore Support ( #1568 )
...
* TriCore Support
python sample
* Update sample_tricore.py
Correct attribution
* Update sample_tricore.py
Fixed byte code to execute properly.
* Update sample_tricore.py
Removed testing artifact
* Added tricore msvc config-file.h
* Added STATIC to tricore config and added helper methods to symbol file generation.
* Update op_helper.c
Use built in crc32
* Fix tricore samples and small code blocks are now handled properly
* Add CPU types
* Generate bindings
* Format code
Co-authored-by: lazymio <mio@lazym.io >
2022-04-29 23:11:34 +02:00
7e6d21d27c
Fix memory leak in code_gen_buffer
2022-04-03 21:44:09 +02:00
55b4865945
Fix memory leak of custom helpers
2022-01-20 19:50:57 +01:00
faa689c0f0
Merge systemz to the latest uc2 codebase
2021-12-26 22:58:32 +01:00
Nguyen Anh Quynh
09b0c66f11
move all static vars in translate.c to tcg.h
2021-12-07 04:53:32 +08:00
87a391d549
Inline uc_tracecode when there is only exactly one hook
2021-11-21 16:44:39 +01:00
640251e1aa
Leave out size parameter in callback
2021-11-09 00:21:34 +01:00
bcf85be86d
Add a new hook type UC_HOOK_TCG_OPCODE
2021-11-03 01:46:24 +01:00
e695686c15
Remove AFL Integration by reverting
2021-10-26 11:22:21 +02:00
dd7476a9bd
Initial import unicornafl
2021-10-25 00:51:16 +02:00
Nguyen Anh Quynh
aaaea14214
import Unicorn2
2021-10-03 22:14:44 +08:00