Commit Graph

54 Commits

Author SHA1 Message Date
ptitSeb
f82e938ae8 [WRAPPER] Added more crypto3 and ssl3 function, and fixed some issue with hidden callback (for #1860) 2024-10-30 11:05:43 +01:00
rajdakin
49aaeb3080
[WRAPPER] Fixed RV64 isSimpleWrappers (#1898) 2024-10-03 12:49:18 +02:00
ptitSeb
2ce5beae56 [WRAPPER] Added H as paramterand, added 2 wrapped function from libatomic (for linux BeamNG) 2024-09-09 17:03:46 +02:00
rajdakin
21c86f9ac6
[WRAPPED] Update libc wrappers (#1800)
* [WRAPPED] Fixed some issues in libc_private.h and the wrapper generator

* [WRAPPED] Forgot to run the Python script

* [WRAPPED] Oops
2024-09-06 15:08:01 +02:00
rajdakin
64dd09becc
[WRAPPED] Removed GOS, renamed GODW into GOWD (#1797) 2024-09-05 20:26:45 +02:00
rajdakin
ea807eda04
[WRAPPED] Merged types D/K and Y/y in 64bits wrapped libs (#1784)
* [WRAPPED] Merged types D/K and Y/y in 64bits wrapped libs

* [WRAPPERS] Version bump

* [WRAPPED] Fixed wrapped glib2 on non-LD80BITS builds
2024-09-01 19:06:03 +02:00
ptitSeb
b5105a1e57
Added preliminary Box32 support (#1760)
* 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>
2024-08-26 17:45:13 +02:00
ptitSeb
4ff4ca72d3 Wrapped lots of new function t be abble to run emulated libgnutls.so.30 2024-07-14 11:18:08 +02:00
ptitSeb
50250bd2ca Added wrapped support for EGL/GLESv2 2024-02-29 12:55:57 +01:00
ptitSeb
5a20322251 [WRAPPING] Added supot for the 'long double complex' type 2024-02-09 15:19:05 +01:00
xctan
d5b182cac0
[WRAPPERS] Fixed some typos in rebuild_wrappers.py (#1227) 2024-01-29 13:24:40 +01:00
rajdakin
e4821aa9e1
[WRAPPERS] Add a isSimpleWrapper function for RV64 (#1185)
* [WRAPPERS] Added an isSimpleWrapper function for RV64

* [WRAPPERS] Version bump
2024-01-05 08:22:56 +01:00
ptitSeb
e6bc1d7c22 More work on xcb wrapping, as xcb_connection_t needs alignment 2023-12-26 15:18:41 +01:00
ptitSeb
d2aadd66bf [ANDROID] Try to fix build 2023-09-02 13:50:03 +02:00
rajdakin
8fc0e1d384
[WRAPPERS] Generator version bump 2023-07-17 21:31:04 +02:00
rajdakin
60ae205bd4
[WRAPPERS] Better isRetX87Wrapper definition in the Python script 2023-07-17 21:30:17 +02:00
ptitSeb
88a59b4460 [DYNAREC] Fixed an issue with calling native function that return a long double (for #881) 2023-07-13 18:21:36 +02:00
ptitSeb
8789141d0f Improve an error message on python wrapper generator 2023-04-23 19:13:00 +02:00
ptitSeb
4933a70261 Fixed py wrapper generator for float complex on stack 2023-04-08 08:36:06 +02:00
ptitSeb
5c2f62657f Fixed float complex handling as parameter 2023-04-07 12:45:32 +02:00
ptitSeb
307a019cb8 Try to add complex function in libm 2023-04-06 10:56:02 +02:00
ptitSeb
7db570af13 Rmoved the 32bits->64bits wrapper hack (there might be some regression, but it's needed for riscv and other architectures wich sign extend ther 32bits values) 2023-03-19 11:52:34 +01:00
rajdakin
a65bf79ad9
[WRAPPERS] Forgot to remove typing multiple definition comments 2023-02-12 21:51:11 +01:00
rajdakin
c192188b42
[WRAPPERS] Version update 2023-02-12 21:46:51 +01:00
rajdakin
a3516ce655
[WRAPPERS] Fixed the Windows ABI 2023-02-12 21:46:19 +01:00
rajdakin
8481db4735
[WRAPPER] Forgot to filter out Windows function from isSimpleWrapper() 2023-02-12 20:30:34 +01:00
rajdakin
0f914cf747
[WRAPPER] Added the Windows calling convention support 2023-02-12 19:32:06 +01:00
ptitSeb
5fab7d2993 Added preliminary support for d3dadapter9, but need more work on calling convention 2023-02-12 19:09:14 +01:00
ptitSeb
0e47d1269c
Malloc override (#437)
* Add some malloc override mecanism, but missing c++ function overriding
* Add c++ new/delete redirection too
* Added support for libtbbmalloc_proxy
2022-10-29 22:32:47 +02:00
ptitSeb
736552a559 Added preliminary support for wrapped libEGL 2022-06-05 12:01:04 +02:00
rajdakin
2b920d6936 Removed the Mapping import 2021-08-01 18:58:21 +02:00
rajdakin
01bf3e741e Forgot to update version number 2021-08-01 17:33:03 +02:00
rajdakin
1f02ab17e3 Fixed SDL2 build, allowing to include structures in function signatures 2021-08-01 17:06:40 +02:00
rajdakin
e1d8f1d7e5 Fixed some wrapped functions, upgraded the rebuild_wrapper script [SDL2 DOESN'T WORK, FIX UNDERWAY] 2021-07-31 13:38:22 +02:00
ptitSeb
7bb9dd18da [DYNAREC] Improved the fast native call path 2021-07-02 14:37:09 +02:00
ptitSeb
681df1604d Fixed python wrapper builder 2021-06-05 14:27:31 +02:00
rajdakin
8d97f13677 Fixed some wrapped functions, upgraded the python script 2021-06-04 23:01:56 +02:00
rajdakin
570798358c Fixed the Python script/added more typing 2021-06-03 21:15:29 +02:00
rajdakin
8e42412490 Added types to the Python script, fixed some issues 2021-06-02 21:04:43 +02:00
rajdakin
2737180a20 Added some comments to the Python script, changed little things 2021-06-02 21:04:43 +02:00
ptitSeb
248cd2e749 Fixed nexttoward(f) wrapped functions, and improved long double handling 2021-04-17 10:50:33 +02:00
rajdakin
48d6135106 First pass 2021-04-14 13:11:51 +02:00
rajdakin
72a505a3e8 General improvements to box64 and fixed some SDL2 functions 2021-04-11 17:53:23 +02:00
ptitSeb
b038dd5c9d Added a libvorbisfile wrapped function and fixed another one (structure as argument are in the stack, always) 2021-04-08 17:06:49 +02:00
rajdakin
7b099f9c64 [WRAPPER] Added a new feature in the wrapper, forced all i32 to i64 2021-04-04 18:36:18 +02:00
ptitSeb
00ac1fdcd1 Changed wrapper generator to force 32bits i/u value to 64bits 2021-03-30 21:02:42 +02:00
ptitSeb
fa24bbd96a Added wrapped vfprintf and fprintf functions 2021-03-08 20:41:51 +01:00
ptitSeb
4c7cbe4128 Added wrapped libSDL1.2, libSDL2.0, libGL, libGLU and libopenal 2021-03-07 20:19:58 +01:00
ptitSeb
75468d0c4c More work on wrapped lib and elf relocations 2021-03-06 09:37:18 +01:00
ptitSeb
90c81ecaa3 Somes fixes to float/double/long double handling in va_list 2021-03-05 19:14:47 +01:00