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
Ryan Houdek
834e862dfb
FEX: Convert string to fextl
2023-03-16 03:21:46 -07:00
Ryan Houdek
b433d7b4cb
ELFSymbolDB: Convert string to fextl
2023-03-16 03:21:46 -07:00
Ryan Houdek
b6d36f123a
Common: Convert string to fextl
2023-03-16 03:21:46 -07:00
Ryan Houdek
0ab2a550b1
FEXCore: Convert string to fextl
2023-03-16 03:21:46 -07:00
Ryan Houdek
1877457c4d
FEX: Convert sstream to fextl
2023-03-16 03:21:46 -07:00
Ryan Houdek
3f98eff6e5
AOT: Convert string to fextl
2023-03-16 03:21:46 -07:00
Ryan Houdek
fe886716a4
Config: Convert string to fextl
...
This sprawled out to lots of places as expected
2023-03-16 03:21:45 -07:00
Ryan Houdek
e9a0d95c65
Telemetry: Convert string to fextl
...
Kind of sprawled a bit.
2023-03-16 03:21:45 -07:00
Ryan Houdek
7d226a6b18
SourcecodeResolver: Convert string to fextl
2023-03-16 03:21:45 -07:00
Ryan Houdek
606242472a
Convert the rest of map to fextl
2023-03-16 03:03:08 -07:00
Ryan Houdek
8941b8a312
Convert the rest of vector to fextl
2023-03-16 03:03:08 -07:00
Ryan Houdek
37832af818
Allocator: Convert vector to fextl
2023-03-16 03:03:08 -07:00
Ryan Houdek
bc42e849e9
TestHarnessRunner: Convert vector to fextl
2023-03-16 03:03:08 -07:00
Ryan Houdek
54c33b07a2
ELFCodeLoader: Convert to fextl
...
Kind of sprawls all over the place
2023-03-16 03:03:08 -07:00
Ryan Houdek
a5b034129e
AOTGenerator: Convert vector to fextl
2023-03-16 02:29:05 -07:00
Ryan Houdek
8d57446e88
FEXServerClient: Convert vector to fextl
2023-03-16 02:29:05 -07:00
Ryan Houdek
95a4994200
Cache: Convert over to fextl
...
Requires #2542 merged first. First commit is cherry-picked from that PR.
2023-03-15 12:22:04 -07:00
Ryan Houdek
728d19dbbe
ELFCodeLoader2: Convert list to fextl
2023-03-15 12:22:04 -07:00
Ryan Houdek
4b9c7bd116
FileManager: Convert list to fextl
2023-03-15 12:22:04 -07:00