Mai
d7f9c7ece2
Merge pull request #2614 from Sonicadvance1/disable_frontend_mingw
...
mingw: Disable compiling Common/Linux/Tools
2023-04-16 03:25:47 -04:00
Ryan Houdek
0419d065b5
mingw: Disable compiling Common/Linux/Tools
2023-04-15 18:38:40 -07:00
Ryan Houdek
401d89ee40
FEXLoader: Don't build with mingw
...
FEXLoader won't ever work in this configuration. This was a mistake to
enable.
2023-04-15 15:24:46 -07:00
Ryan Houdek
6d4cef723a
Merge pull request #2595 from Sonicadvance1/fix_thread_cancel_fault_test
...
Threads: Disable glibc allocator fault testing with `exit`
2023-04-14 13:24:04 -07:00
Ryan Houdek
b979b339fc
Threads: Disable glibc allocator fault testing with exit
...
FEX might not ever make it to its cleanup routines when exit is used. So
make sure to disable the fault checking if exit is used.
Opened #2594 to track this investigation.
2023-04-14 13:10:14 -07:00
Ryan Houdek
beb2c36fc2
drm: Define __user define which drm headers use.
2023-04-14 13:07:52 -07:00
Ryan Houdek
307158d425
Merge pull request #2601 from Sonicadvance1/move_fexloader
...
FEXLoader: Move to Tools folder
2023-04-12 03:33:02 -07:00
Ryan Houdek
b0b23abedd
StructVerifier: Update include path
2023-04-11 16:56:53 -07:00
Ryan Houdek
4cb35d2f5e
Fix header includes from the move
2023-04-11 16:44:06 -07:00
Ryan Houdek
7e4334c98a
FEXLoader: Move to Tools folder
...
This has confused people for quite a long time thinking these are unit
tests.
First step, move it without any changes. Only Renamed.
2023-04-11 16:37:21 -07:00
Ryan Houdek
3f89cf1512
FEXServerClient: Insert missing padding in message packet
...
This was sending uninitialized data across the wire.
2023-04-11 14:27:40 -07:00
Ryan Houdek
63b31d54c4
cpp-optparse: Update to latest optparse
...
Changes std::set and std::map usage over to fextl.
I missed pushing this change before.
2023-04-10 18:12:18 -07:00
Ryan Houdek
48531e1dd2
FEXLoader: Use the std::FILE print handlers again
...
Just to match prior behaviour.
2023-04-10 15:40:51 -07:00
Ryan Houdek
e98a46aa5f
Review comments
2023-04-07 17:01:53 -07:00
Ryan Houdek
96e9b5cf51
FEXServer: Fixes some missing fextl usage
...
Not sure how this was working when the type declaration didn't match.
2023-04-07 17:01:53 -07:00
Ryan Houdek
265c918d90
Move fextl::String_from_path to the only usage in FEXConfig
...
Ensures that people won't be tempted to use this elsewhere.
2023-04-07 17:01:53 -07:00
Ryan Houdek
76a5e4e66e
ELFContainer: Removes some c_str
2023-04-07 17:01:53 -07:00
Ryan Houdek
46b306e861
Config: Remove to_string usage
2023-04-07 17:01:52 -07:00
Ryan Houdek
47e5096676
Syscalls: Remove usage of std::string
2023-04-07 17:01:52 -07:00
Ryan Houdek
f25b0461d0
HarnessHelpers: Remove std::to_string usage
2023-04-07 17:01:52 -07:00
Ryan Houdek
a9c27646a0
FEXRootFSFetcher: Remove usage of fextl::string_from_string
2023-04-07 17:01:52 -07:00
Ryan Houdek
278f411cfa
FEXGetConfig: Convert to fextl
2023-04-07 17:01:52 -07:00
Ryan Houdek
cafbcfec69
Config: Remove string_from_path
2023-04-07 17:01:52 -07:00
Ryan Houdek
e027521941
ELFContainer: Convert std::fs to FHU
2023-04-07 17:01:52 -07:00
Ryan Houdek
cb6680ef57
ELFSymbolDB: Convert to FHU
2023-04-07 17:01:52 -07:00
Ryan Houdek
613a368f5f
FEXLoader: Convert unique_ptr to fextl
2023-04-07 17:01:52 -07:00
Ryan Houdek
13500e59a3
TestHarnessRunner: Convert unique_ptr to fextl
2023-04-07 17:01:52 -07:00
Ryan Houdek
87f8a6655a
FEXConfig: Fixes crash that will occur once glibc hooking is removed.
...
This unique_ptr would end up getting allocated through jemalloc then
fread through glibc.
Convert over to fextl::unique_ptr to ensure it gets allocated and
deallocated through jemalloc correctly.
2023-04-07 17:01:52 -07:00
Ryan Houdek
4d70f4fc4e
Remove some unused headers now.
2023-04-07 17:01:52 -07:00
Ryan Houdek
9dd715573c
Syscalls: Convert Sourcecodemap fstram usage to raw files
2023-04-07 17:01:52 -07:00
Ryan Houdek
87772efb31
IRLoader: Convert to fextl
2023-04-07 17:01:52 -07:00
Ryan Houdek
7fe14b0748
FileManagement: Remove extraneous string_from_string
2023-04-07 17:01:52 -07:00
Ryan Houdek
4ab822aebb
IRParser: Convert to fextl
2023-04-07 17:01:52 -07:00
Ryan Houdek
ecb7956d78
Syscalls: Convert std::filesystem to FHU
2023-04-07 17:01:52 -07:00
Ryan Houdek
e232a10442
FileFormatCheck: Convert fstream to raw files.
2023-04-07 17:01:52 -07:00
Ryan Houdek
cfbd74e17b
FEXLoader: Convert some std::filesystem over to FHU
2023-04-07 17:01:52 -07:00
Ryan Houdek
4eb91ef7f1
ELFContainer: Remove fstream usage
2023-04-07 17:01:52 -07:00
Ryan Houdek
2d18156e15
AOT: Convert fstream to fextl and raw files
2023-04-07 17:01:52 -07:00
Ryan Houdek
dff0b45f29
TestHarnessRunner: Remove extraneous fextl::string creation
2023-04-07 17:01:51 -07:00
Ryan Houdek
7180bb1496
GdbServer: Convert fstream to fextl
2023-04-07 17:01:51 -07:00
Ryan Houdek
001a086d85
Convert remaining fmt::format to fextl
2023-04-07 17:01:51 -07:00
Ryan Houdek
257a3a54dc
Context: Convert over to a unique_ptr
2023-04-07 17:01:51 -07:00
Ryan Houdek
9e5971b89c
Allocator: Disable glibc sbrk allocations
...
This is done by consuming a single page at the end of the current sbrk
memory region. Then consuming any remaining bytes that could have
potentially ended up in it.
This ensures that glibc won't be able to return 64-bit pointers to
32-bit thunks once the remaining work is in place.
2023-04-06 12:27:44 -07:00
Ryan Houdek
aac4e25ca4
Merge pull request #2549 from Sonicadvance1/glibc_remaining_allocations
...
Move FEX away from the remaining glibc allocations that we can
2023-04-01 09:46:29 -07:00
Ryan Houdek
546a1edb55
CodeReview
2023-04-01 09:27:01 -07:00
Ryan Houdek
53bbbd5a4f
Review code
2023-03-30 16:28:34 -07:00
Ryan Houdek
047dddb023
Rebase patching
2023-03-30 16:28:34 -07:00
Ryan Houdek
4f66ff6ec4
Paths: Remove unique_ptr usage
2023-03-30 16:28:34 -07:00
Ryan Houdek
e46dbf7b7e
TestHarnessRunner: Convert to fextl
2023-03-30 16:28:34 -07:00
Ryan Houdek
3cfc1de410
Common: Convert cpp-optparse over to fextl and use.
2023-03-30 16:28:34 -07:00