about summary refs log tree commit diff stats
path: root/src/libtools/signals.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added a new memExist helper function and use it instead of getMmapped were ↵ptitSeb2024-11-301-2/+2
| | | | it make sense
* [TRACE] Show backtrace on emit_signal too if askedptitSeb2024-11-291-0/+30
|
* Improved Signal handling ([ARM4_DYNAREC] too)ptitSeb2024-11-181-8/+17
|
* Smal adjustment in singal handling for no-execution errorptitSeb2024-11-161-2/+2
|
* [TRACE] More info on signalptitSeb2024-11-151-3/+4
|
* [DYNAREC] Small chnage o hotpage detection to make it less sensitiveptitSeb2024-11-091-2/+4
|
* Improved getcontext/setcontext ([BOX32] too)ptitSeb2024-11-081-3/+6
|
* Removed a debug leftoverptitSeb2024-11-071-1/+0
|
* [BOX32] Improve errno handling, and added a few more libc wrapped functionsptitSeb2024-11-071-0/+1
|
* A bit more trace for emited signalsptitSeb2024-11-061-0/+2
|
* Silenced a signal messageptitSeb2024-11-051-1/+1
|
* Disabling memory bit test when pagesize is not 4KptitSeb2024-11-051-0/+2
|
* Improve handling of memory protection, and excution bitptitSeb2024-11-041-22/+71
|
* Various box32 wrapped libs and script fixes (#1889)rajdakin2024-09-301-3/+1
| | | | | | | * [WRAPPED32] Fixed the rebuild_wrappers_32 script, fixed some libc signatures * [WRAPPED32] Added back xdr functions * [WRAPPED32] Forgot to regenerate wrappers
* When showing opcode on SEGFAULT/SIGBUS, show if it's x86 or x64ptitSeb2024-09-091-1/+1
|
* [DYNAREC] Simplified a bit getX64Address utility functionptitSeb2024-09-091-7/+4
|
* Show x86opcode at segfault if segfault address is not pcptitSeb2024-09-081-1/+1
|
* Added a small fix in signe handler ucntx constructionptitSeb2024-09-071-0/+1
|
* Added preliminary Box32 support (#1760)ptitSeb2024-08-261-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve the ReserveHigMemory helper function * [BOX32] Added some wrapping infrastructure * [BOX32] More wrapped 32bits lib infrastructure * [BOX32] Added callback and tls 32bits handling * [BOX32] Added more 32bits, around wrappers and elfs * [BOX32] Added the 32bits version of myalign * [BOX32] More wrapped libs and 32bits fixes and imrpovments * [BOX32] Added some 32bits tests * [BOX32] Try to enable some Box32 build and test on the CI * [BOX32] Disable Box32 testing on CI platform that use qemu * [BOX32] Another attempt to disable Box32 testing on CI platform that use qemu * [BOX32] Small fix for another attempt to disable Box32 testing on CI platform that use qemu * [BOX32] Yet another fix for another attempt to disable Box32 testing on CI platform that use qemu * [BOX32] Fixed a typo in CI script * [BOX32] Better scratch alighnment and enabled more tests * [BOX32] Added (partial) wrapped 32bits librt * [BOX32] Added mention of Box32 in README * [BOX32] Added phtread handling, and numerous fixes to 32bits handling. [ARM64_DYNAREC] Fixed access to segment with negative offset * [BOX32] Added system libs and cpp testing, plus some more fixes * [BOX32] Fix previous commit * [BOX32] Better stack adjustment for 32bits processes * [BOX32] Added getenv wrapped 32bits function and friends * [BOX32] Don't look for box86 for a Box32 build * [BOX32] Don't do 32bits cppThreads test for now on CI * [BOX32] Enabled a few more 32bits tests * [BOX32] For ld_lib_path for both CppThreads tests * [BOX32] [ANDROID] Some Fixes for Android Build * [BOX32] Still need to disable cppThread_32bits test on CI for some reason * [BOX32] [ANDROID] Don't show PreInit Array Warning (#1751) * [BOX32] [ANDROID] One More Fix for Android Build That I forgotten to … (#1752) * [BOX32] [ANDROID] One More Fix for Android Build That I forgotten to push before * [BOX32] [ANDROID] Try to Create __libc_init * [BOX32] [ANDROID] Try to disable NEEDED_LIBS for now (libdl is not wrapped) * [BOX32] Updated generated files * [BOX32] Added 32bits context functions * [BOX32] Added 32bits signal handling * [BOX32] Added some missing 32bits elfloader functions * [BOX32] Fix build on x86_64 machine * [BOX32] Better fix for x86_64 build * [BOX32] Actually added missing libs, and re-enabled cppThreads_32bits test * [BOX32] Added wrapped 32bits libdl * [BOX32] Try to re-enabled Box32 test on CI for ARM64 builds * [BOX32] fine-tuning Box32 test on CI for ARM64 builds * [BOX32] More fine-tuning to Box32 test on CI for ARM64 builds * [BOX32] Enabled Box32 test on CI for LA64 and RV64 builds too * [BOX32] re-Disabled Box32 test on CI for LA64 and RV64 builds, not working for now * [BOX32] Temporarily disabled cppThreads_32bits test on CI --------- Co-authored-by: KreitinnSoftware <pablopro5051@gmail.com> Co-authored-by: KreitinnSoftware <80591934+KreitinnSoftware@users.noreply.github.com>
* Improved exception/int 3 handlingptitSeb2024-07-211-4/+5
|
* Changed how TRAPNO 12 is triggeredptitSeb2024-07-161-4/+5
|
* Fix signal stack handling on reentrant signal when using SigAltStackptitSeb2024-07-131-3/+1
|
* [TRACE] Fixed some issue with function name printingptitSeb2024-07-131-12/+12
|
* Removed debug leftoverptitSeb2024-07-121-2/+2
|
* Fixed flaky signal handler on 32bits code (mainly for Wine with new Wow64)ptitSeb2024-07-121-4/+17
|
* fix some spelling (#1668)josch2024-07-101-1/+1
|
* Fixes (#1659)rajdakin2024-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replaced some tabs with spaces * Fixed some signedness warnings * Added more debug info * Fixed an improper alignment * [WRAPPEDWAYLAND] Added return statements to wrappers * [EMU] [AVX] Fixed some issues * [ARM DYNAREC] Fixed some minor warnings * [ARM DYNAREC] Removed unused macro arguments * [EMU] Fixed a noisy warning * [ARM DYNAREC] Removed "empty body" warnings * [EMU] Fixed an opcode in dynarec, non-cosim builds * [LA64 DYNAREC] Minor warning fixes * [LA64 DYNAREC] Fixed empty body warnings * [LA64 DYNAREC] Added parenthesis around assignments in if statements * [LA64 DYNAREC] Fixed missing parenthesis in macro definitions * [RV64 DYNAREC] Fixed minor warnings * [RV64 DYNAREC] Fixed wrong/missing parentheses * [WRAPPER] Fixed the WaylandClient callback signatures
* [INTERPRETER] my first avx opcodeptitSeb2024-05-261-6/+7
|
* [ARM64] Add 1 more case of unaligned device memory access handling, plus ↵ptitSeb2024-05-041-1/+35
| | | | better tracking
* [DYNAREC] Re-introduce a simple HotPage handling, to speedup heavily ↵ptitSeb2024-05-031-0/+1
| | | | obfuscated program loading
* Fixed a few warning here and there...ptitSeb2024-04-131-1/+2
|
* [TRACE] Slighlty better log when emiting SIGILLptitSeb2024-03-101-0/+5
|
* [ARM64_DYNAREC][RV64_DYNAREC] Fixed some case where MOVS/B/W/D/Q is used on ↵ptitSeb2024-03-081-0/+51
| | | | a protected page of code, and SI gets wrongly incremented (for #1347)
* [ARM64] Added 1 more special case of SIGBUS when accessing device memory ↵ptitSeb2024-03-071-0/+16
| | | | (Help Planet Coaster on NVidia)
* [LA64_DYNAREC] Added more opcodes and more fixes, SuperHexagon is working ↵Yang Liu2024-03-031-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#1319) * Made printer slightly better * [SIGNAL] Fixed a typo * Removed useless comma * Another typo * Keep'em in order * Added more opcodes and more fixes * A big fix of GOCOND macro * [LA64_DYNAREC] Added E8 CALL opcode * [LA64_DYNAREC] Added C6 MOV opcode * [LA64_DYNAREC] Added 39 CMP opcode * [LA64_DYNAREC] Added 0F 1F NOP opcode * BEWARE: shift instructions are NOT sign-extended! * More fixes * Try to be safe * Fixed printer * Fixed emitter & printer for B, briing superhexagon back
* [LONGAARCH] Renamed arch to LA64, as LA464 is code name for 3a5000, so that ↵ptitSeb2024-02-281-9/+9
| | | | way it's more generic (and sorry about that late minute change)
* LARCH64 dynarec (#1295)Haichen Wu2024-02-281-0/+15
| | | | | * LARCH64_DYNAREC dynarec * [LARCH64_DYNAREC] Change mapping for the registers
* Small changes in signal safe function handlingptitSeb2024-02-241-2/+2
|
* Hardened the my_sigaltstack wrapped functionptitSeb2024-02-221-10/+23
|
* [TRACE] Slightly better trace for dynarec block writing on own pageptitSeb2024-02-201-1/+1
|
* [ELFLOADER] Huge refactor of elfloader and symbol resolution. Some more ↵ptitSeb2024-02-151-4/+5
| | | | cleaning need to be done, but that's a first step (should help #422, #360, #1046 and probably others)
* [ANDROID] BOX64_SHOWBT Now show Emulated BT on Android (#1258)KreitinnSoftware2024-02-101-2/+5
| | | Co-authored-by: Pablo Carlos <pablo@localhost.localdomain>
* Fixed a warningptitSeb2024-02-071-1/+1
|
* [DYNAREC] Reworked a bit the Strange SEGSIGV handlingptitSeb2024-02-031-2/+8
|
* [TRACE] Slightly better trace for some dynarec runtime issuesptitSeb2024-01-291-2/+2
|
* [DYNAREC] Narrow the cases for Strange SIGSEGV to protextion with READ & WIRTEptitSeb2024-01-281-1/+1
|
* Make sure Stack is aligned properly... (should help #1187 and ~1188)ptitSeb2024-01-221-2/+4
|
* Reworked exit, unloading libs and running Fini as it should (plus a ↵ptitSeb2024-01-191-1/+2
| | | | workaround for nvidia driver not unloading)
* Fixes (#1207)rajdakin2024-01-181-2/+2
| | | | | | | | | | | * Fixed signed/unsigned issues and other cosmetics * [WRAPPERS] Fixed missing `return`s in `my_` functions * [EMU] More fixes * [STEAM] Forgot one cleanup * [WRAPPER] Fixed wrappedpulse callback signatures
* Fixed an issue with a failsafe that was not workingptitSeb2024-01-181-2/+2
|