dolphin/Source
JosJuice 5c9bb80638 Memmap: Replace GetPointer with GetSpanForAddress
To ensure memory safety, callers of GetPointer have to perform a bounds
check. But how is this bounds check supposed to be performed?
GetPointerForRange contained one implementation of a bounds check, but
it was cumbersome, and it also isn't obvious why it's correct.

To make doing the right thing easier, this commit changes GetPointer to
return a span that tells the caller how many bytes it's allowed to
access.
2024-04-20 18:31:08 +02:00
..
Android Merge pull request #12681 from nlebeck/taskviewmodel-refactor 2024-04-13 01:42:12 +02:00
Core Memmap: Replace GetPointer with GetSpanForAddress 2024-04-20 18:31:08 +02:00
DSPSpy DSPSpy: Add st3 BLOOP{,I} tests. 2022-09-30 11:07:41 +00:00
DSPTool DolphinQt: A Ubiquitous Signal For When Symbols Change 2024-03-28 09:57:22 -07:00
PCH bump minimum VS version to 17.6 2023-05-16 20:21:36 -07:00
UnitTests Pass SettingsHandler buffers by const ref instead of rvalue ref 2024-04-12 18:50:21 -07:00
VSProps Update rcheevos submodule to newest master. 2024-04-03 15:03:36 -04:00
.clang-format Replace Cpp11 (A Deprecated alias for Latest) in .clang-format 2022-06-22 08:57:32 +10:00
CMakeLists.txt CMakeLists: Add Clang's Specific WShadow Diagnostics 2024-03-09 15:34:39 -08:00
dolphin-emu.sln Externals: add tinygltf, a library used to load or save GLTF mesh files 2024-02-11 13:26:39 -06:00