Unknown W. Brackets
b2b61d58d4
Loader: Support HI16/16 pairs, not just LO16.
...
Motorstorm: Arctic Edge US uses these pairs for some VFPU loads.
Without relocating these, strange shadows show underneath vehicles.
It appears as if actual firmware pairs with any non-HI16 relocation.
2023-06-18 19:06:29 -07:00
Unknown W. Brackets
a9668bdb60
Debugger: More useful tag for section suballocs.
2023-06-18 19:04:18 -07:00
Henrik Rydgård
4dd4bf24fc
Merge pull request #17561 from unknownbrackets/elf-reloc
...
Loader: Report on HI16/LO16 r_info mismatch
2023-06-11 23:59:52 +02:00
Unknown W. Brackets
4108eaca42
Loader: Add additional data to missing LO16 report.
2023-06-11 14:41:50 -07:00
Unknown W. Brackets
ef59b60aac
Loader: Report on HI16/LO16 r_info mismatch.
...
Referenced in some LLVM code which checks the index specifically:
c72dea88b6/lld/ELF/Relocations.cpp (L491)
Noted by Kingcom.
2023-06-11 14:37:43 -07:00
Henrik Rydgård
67a35d3476
Merge pull request #17356 from unknownbrackets/minor-cleanup
...
Cleanup some more string formats, mostly in debugger
2023-05-23 08:29:23 +02:00
Henrik Rydgård
cf9a628a2e
AndroidContentURI: Move code from the header to cpp. Some assorted cleanup, add a unit test for Download paths
2023-05-16 16:08:51 +02:00
Henrik Rydgård
a43bdd8169
ReadSFO: Fix memory safety issues
2023-05-01 13:52:16 +02:00
Unknown W. Brackets
46101581c0
Core: Cleanup disasm buffer usage.
2023-04-29 09:07:25 -07:00
Henrik Rydgård
534896d2ab
ControlMapper: Allow overriding PSP button event handling through a callback.
2023-03-28 00:23:18 +02:00
Unknown W. Brackets
88ba003f46
ThreadManager: Add a simple priority field.
...
Currently, not actually respected.
2023-02-02 17:08:24 -08:00
Unknown W. Brackets
dea9cac16c
Core: Add range checks to some helpers and similar.
2023-01-09 16:56:18 -08:00
Unknown W. Brackets
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
50285f6bf6
Revert "Revert "Loader: Validate offsets and truncation in ELF.""
...
This reverts commit 470edac18a .
2022-10-10 13:29:09 +02:00
Henrik Rydgård
6833589e38
Update elfSize to uncompressed elf size when needed. Fixes infinite loading in Wipeout.
...
Also minor cleanups.
2022-10-10 12:22:05 +02:00
Henrik Rydgård
470edac18a
Revert "Loader: Validate offsets and truncation in ELF."
...
This reverts commit 4ecdce2a37 .
2022-10-10 11:42:24 +02:00
Unknown W. Brackets
4ecdce2a37
Loader: Validate offsets and truncation in ELF.
2022-10-09 16:41:32 -07:00
lainon
b304551747
Code readability, vec reserve() and remove excess c_str()
2022-09-30 12:31:32 +03:00
Henrik Rydgård
ac7ca963db
Make valgrind happy
2022-09-23 12:24:43 +02:00
Henrik Rydgård
e6403d7157
Split GetPointer into two versions, to help with const correctness
2022-07-24 13:26:19 +02:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Henrik Rydgård
322a8a8b3c
More checks in ParamSFO reader. Only problem left is that the strings are null terminated and can walk off the buffer.
2021-10-08 19:09:46 +02:00
Henrik Rydgård
9c017e03f9
Add some basic sanity checks to ParamSFO reader (could add more)
2021-10-07 21:08:12 +02:00
Unknown W. Brackets
cdcd77a931
Core: Correct relocation error check.
2021-06-13 10:51:51 -07:00
Henrik Rydgård
77908cb9e5
atomic include buildfix
2021-06-12 23:20:47 +02:00