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
Ryan Houdek
a14353bc3c
FEXLoader: Convert remaining usages away from glibc
2023-03-30 16:28:34 -07:00
Ryan Houdek
ea275bbdcc
FDUtils: Remove std::fs get_fdpath, no longer used and avoids glibc
2023-03-30 16:28:34 -07:00
Ryan Houdek
e6a48ad7f3
Syscalls: Convert to get_fdpath with temp to avoid glibc
2023-03-30 16:28:34 -07:00
Ryan Houdek
114b626cff
FileManager: Convert to FHU to avoid glibc
2023-03-30 16:28:34 -07:00
Ryan Houdek
4d35d550c1
EmulatedFiles: Convert to FHU to avoid glibc
2023-03-30 16:28:34 -07:00
Ryan Houdek
e8c1dfa03a
FEXLoader: Convert to FHU to avoid glibc
2023-03-30 16:28:34 -07:00
Ryan Houdek
9d04c4daee
ELFCodeLoader: Convert to get_fdpath with temp to avoid glibc
2023-03-30 16:28:34 -07:00
Ryan Houdek
1ec31c610c
FEXServerClient: Convert to FHU to remove glibc
2023-03-30 16:28:34 -07:00
Ryan Houdek
86f8ebf0ee
FEX/Config: Convert to FHU to remove glibc
2023-03-30 16:28:34 -07:00
Ryan Houdek
c77c2faaea
FEXLoader: Add glibc hook faulting setup
2023-03-30 16:28:33 -07:00
Ryan Houdek
1eb36b8b31
Convert a ton of things over to fextl
2023-03-30 16:28:33 -07:00
Ryan Houdek
465ecd9b19
Mark code regions that require glibc memory allocations.
...
This ensures that when we enable glibc fault testing these sections
won't break CI.
2023-03-30 16:28:33 -07:00
Ryan Houdek
dcc8d2a1c7
FEXConfig: Fixes misalignment when advanced option is changed.
...
When the textual field is changed, that order changes and there would be
a partial resort where the labels would misalign compared to the text
entries.
Fixes that.
2023-03-26 03:37:40 -07:00
Ryan Houdek
7022b3b825
Review c_str() changes
2023-03-23 12:45:14 -07:00
Ryan Houdek
60408241c5
EmulatedFiles: Resolve review
2023-03-23 08:18:56 -07:00
Ryan Houdek
bccc9f1656
HarnessHelpers: Convert string to fextl
2023-03-16 03:21:46 -07:00