dolphin/Source/Core
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
..
AudioCommon AudioCommon: When ALSA is absent on Linux, default to Cubeb backend 2024-04-16 14:06:28 -07:00
Common Merge pull request #12660 from jordan-woyak/hide-makepkg 2024-04-18 17:21:24 +02:00
Core Memmap: Replace GetPointer with GetSpanForAddress 2024-04-20 18:31:08 +02:00
DiscIO RiivolutionParser: Remove usages of global system accessor 2023-12-12 12:48:40 -05:00
DolphinNoGUI Core::GetState: Avoid Global System Accessor 2024-04-08 16:23:23 -07:00
DolphinQt Merge pull request #12702 from Dentomologist/gamelist_show_disc1_for_two_disc_games 2024-04-20 05:03:38 +02:00
DolphinTool DolphinQt: A Ubiquitous Signal For When Symbols Change 2024-03-28 09:57:22 -07:00
InputCommon Android/ControllerInterface: Run the init code 2024-04-13 22:39:10 +02:00
MacUpdater CMake: Fix storyboard copying 2023-04-29 16:10:38 -05:00
UICommon Merge pull request #12718 from nicovank/master 2024-04-20 05:21:38 +02:00
UpdaterCommon CMake: Use targets for all optionally-external dependencies 2023-06-15 01:41:41 -05:00
VideoBackends Memmap: Replace GetPointer with GetSpanForAddress 2024-04-20 18:31:08 +02:00
VideoCommon Memmap: Replace GetPointer with GetSpanForAddress 2024-04-20 18:31:08 +02:00
WinUpdater StringUtil: Move CommandLineToUtf8Argv() into Common namespace 2023-05-16 14:23:21 -04:00
CMakeLists.txt
DolphinLib.ARM64.props
DolphinLib.props Common: Remove Unused PerformanceCounter Code 2024-04-09 13:43:32 -07:00
DolphinLib.vcxproj Externals: add tinygltf, a library used to load or save GLTF mesh files 2024-02-11 13:26:39 -06:00
DolphinLib.vcxproj.user
DolphinLib.x64.props