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 |
|
Henrik Rydgård
|
73871b9b7e
|
Implement new thread manager, port stuff to it.
|
2021-06-12 13:03:53 +02:00 |
|
Henrik Rydgård
|
025bcb1673
|
Introduce Path, start using it all over the place.
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
|
2021-05-13 10:39:16 +02:00 |
|
Henrik Rydgård
|
d775bf4e4c
|
Merge pull request #14442 from unknownbrackets/path-extension
Update path extension and PSP/GAME/ handling
|
2021-05-10 21:05:05 +02:00 |
|
Henrik Rydgård
|
9480b6672b
|
Loaders: Rename Path() to GetPath().
Path is going to be a struct name.
|
2021-05-09 17:10:14 -07:00 |
|
Unknown W. Brackets
|
8544bd0c3e
|
Windows: Avoid C++ files for consistency.
There's already the mingw thing, and we're avoiding these for Android
paths too. Let's be consistent.
|
2021-05-09 17:00:48 -07:00 |
|
Unknown W. Brackets
|
4f6aaea1e8
|
Core: Correct thread dependency in relocations.
Didn't realize it was looking at the later value before relocation.
This still remains about as much faster as before and still beneficial to
thread.
|
2021-04-25 16:49:52 -07:00 |
|
Unknown W. Brackets
|
572c20b4cd
|
Debugger: Mark ELF sections as suballocations.
Sometimes they're named, it's helpful to see where rodata starts, etc.
|
2021-04-21 19:45:58 -07:00 |
|
Unknown W. Brackets
|
6ee944a0a6
|
Module: Process relocations on threads.
There's usually quite some, and using threads can halve the load time.
ELF loading isn't terribly slow, but it adds up.
|
2021-04-16 00:41:56 -07:00 |
|
Unknown W. Brackets
|
e7012f8f88
|
Module: Process relocations using unchecked reads.
No need to do checks twice. Also switch the LO16 part to
Read_Instruction.
|
2021-04-16 00:32:42 -07:00 |
|
Unknown W. Brackets
|
f6ad90fab8
|
Module: Correctly handle modules with -1 entry.
It should not try to run, options or not.
|
2021-03-14 16:52:48 -07:00 |
|
Henrik Rydgård
|
2f3bc2d373
|
Merge pull request #14056 from unknownbrackets/debugger-mem
Track memory allocations and writes for debug info
|
2021-02-21 10:18:11 +01:00 |
|