dolphin/Source/Core/Common
Alex Sanchez-Stern d8d8b5a847
Don't unlink shared memory on Unix
Essentially adds the funcitonality from PR #6091 to Unix
platforms. This allows third party tools like DME and JuniorsToolbox
to access the shared memory region allowing them to manipulate game
memory for various functionality. To do this, keep the shared memory
object mapped to a name so that the other process can access it,
instead of unlinking it from the name right after creation. This might
leak files into the filesystem, like mentioned in
https://github.com/dolphin-emu/dolphin/pull/9834#discussion_r803123299,
but will only be one virtual file per dolphin so I think it's fine.
2024-09-09 18:30:34 -07:00
..
Assembler Change OperandDesc variables to not be underscore-prefixed in order to comply with https://eel.is/c++draft/lex.name#3.1 (fixes compilation under newlib; e.g. devkitPro) 2024-07-21 18:35:38 +02:00
Config Remove references to Debugger.ini 2023-11-27 21:38:43 +01:00
Crypto Adjust order and spacing of various #includes 2024-07-26 14:28:34 -07:00
Debug Remove redundant semicolons 2024-08-20 14:59:54 +02:00
GL Adjust order and spacing of various #includes 2024-07-26 14:28:34 -07:00
Logging Common/LogManager: Add logging category for Achievements. 2023-09-09 14:47:20 +02:00
Align.h Common: Better AlignUp implementation 2023-06-29 02:35:44 -05:00
Analytics.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
Analytics.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
AndroidAnalytics.cpp Android: Mark s_android_send_report as static 2022-01-06 12:20:09 +01:00
AndroidAnalytics.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Arm64Emitter.cpp Emitters: Define Trivial Getters Inline 2024-07-21 21:35:29 -07:00
Arm64Emitter.h Emitters: Define Trivial Getters Inline 2024-07-21 21:35:29 -07:00
ArmCommon.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
ArmCPUDetect.cpp Add OpenBSD/arm64 support. 2024-05-22 14:32:37 -04:00
ArmFPURoundMode.cpp Common: Move FPU-related helpers into Common namespace 2023-03-21 10:58:13 -04:00
Assert.h [[unlikely]] ASSERT 2023-03-02 19:54:15 -06:00
BitField.h Remove redundant semicolons 2024-08-20 14:59:54 +02:00
BitField.natvis Improve BitField natvis 2022-01-02 14:39:34 -08:00
BitSet.h Merge pull request #12473 from Dentomologist/bitset64_fix_iterator_incrementation 2024-01-01 22:03:11 +01:00
BitUtils.h BitUtils: Constexpr BitCastToArray, Remove BitCastFromArray 2024-08-16 12:21:49 -07:00
BlockingLoop.h Common: Convert BlockingLoop::StopMode to enum class 2023-06-12 17:12:25 -07:00
build_info.txt.in Revert "windows: temporarily hardcode VCToolsVersion to 14.34.31931.0" 2023-05-16 20:24:45 -07:00
ChunkFile.h HostFileSystem: Set all NAND folders to be saved in save states when a movie is active 2022-11-10 14:02:29 -05:00
CMakeLists.txt Merge pull request #12798 from mitaclaw/branch-watch-tool-fixes-2 2024-06-15 16:57:05 +02:00
CodeBlock.h Cached Interpreter 2.0 2024-07-23 14:06:21 -07:00
ColorUtil.cpp Adjust order and spacing of various #includes 2024-07-26 14:28:34 -07:00
ColorUtil.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Common.h Common/MsgHandler: Remove non-format variants of PanicAlert 2022-01-09 12:44:14 -08:00
CommonFuncs.cpp Common: Fix encoding handling in GetWin32ErrorString 2023-12-29 16:01:13 +01:00
CommonFuncs.h Fix comments 2024-08-13 06:58:23 +02:00
CommonPaths.h UICommon: Remove Steam user directory logic 2024-08-15 12:42:16 -04:00
CommonTypes.h New FrameTime/VBlank Analyzer + Graph 2022-12-23 19:52:53 -05:00
CompatPatches.cpp Remove redundant semicolons 2024-08-20 14:59:54 +02:00
CPUDetect.h CPUDetect: improve win/arm64 support 2022-07-25 21:21:11 -07:00
DynamicLibrary.cpp VideoBackends:Vulkan: Allow loading custom drivers on Android 2023-06-11 13:52:34 +02:00
DynamicLibrary.h VideoBackends:Vulkan: Allow loading custom drivers on Android 2023-06-11 13:52:34 +02:00
ENet.cpp Netplay: Fix building on clang 17. 2023-11-03 16:15:04 +01:00
ENet.h Netplay: Fix building on clang 17. 2023-11-03 16:15:04 +01:00
EnumFormatter.h Remove old GCC version workarounds 2023-06-06 22:49:53 -05:00
EnumMap.h Remove old GCC version workarounds 2023-06-06 22:49:53 -05:00
EnumMap.natvis Create EnumMap natvis 2022-01-02 15:36:47 -08:00
EnumUtils.h EnumUtils: Add Common::ToUnderlying 2023-06-17 07:15:33 -05:00
Event.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FatFsUtil.cpp FatFsUtil: Generate a non-partitioned image in our folder-to-sdcard conversion. 2024-06-04 15:17:05 -05:00
FatFsUtil.h Common/FatFsUtil: Add callback for cancelling SD card conversion. 2023-02-28 20:31:51 +01:00
FileSearch.cpp get rid of HAS_STD_FILESYSTEM 2023-01-10 05:17:43 -08:00
FileSearch.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FileUtil.cpp Implement File::GetExePath() for FreeBSD 2024-07-07 21:09:50 +02:00
FileUtil.h AchievementManager: Cache Badges on Disk 2024-07-04 22:12:28 +02:00
FixedSizeQueue.h Common: Move FixedSizeQueue into Common namespace 2023-03-22 01:23:15 -04:00
Flag.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FloatUtils.cpp Replace Common::BitCast with std::bit_cast 2024-05-03 18:43:51 -07:00
FloatUtils.h Replace Common::BitCast with std::bit_cast 2024-05-03 18:43:51 -07:00
FormatUtil.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FPURoundMode.h Common: Move FPU-related helpers into Common namespace 2023-03-21 10:58:13 -04:00
GekkoDisassembler.cpp GekkoDisassembler: Remove unused parameter dmode from fdabc function 2023-07-27 10:47:46 -07:00
GekkoDisassembler.h GekkoDisassembler: Remove unused parameter dmode from fdabc function 2023-07-27 10:47:46 -07:00
GenericCPUDetect.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
GenericFPURoundMode.cpp Common: Move FPU-related helpers into Common namespace 2023-03-21 10:58:13 -04:00
Hash.cpp Remove redundant 32-bit code 2023-11-28 23:03:26 +11:00
Hash.h Common/Hash: use zlib-ng for adler32. small cleanups. 2022-08-01 10:07:27 -07:00
HookableEvent.h Common/HookableEvent: std::move callback instance in Register() 2024-01-31 13:16:50 -05:00
HRWrap.cpp fmt 10.0.0-10.1.1 compile fixes 2023-09-21 01:19:23 +02:00
HRWrap.h fmt 10.0.0-10.1.1 compile fixes 2023-09-21 01:19:23 +02:00
HttpRequest.cpp Common/HTTP: Implement Multiform 2023-12-01 19:52:21 +01:00
HttpRequest.h Common/HTTP: Implement Multiform 2023-12-01 19:52:21 +01:00
Image.cpp Common/Image: Add unit to log message 2022-09-26 15:04:15 -07:00
Image.h replace libpng with libspng 2022-07-25 18:32:16 -07:00
IniFile.cpp Use 'contains' method 2024-08-14 22:18:28 +02:00
IniFile.h Common/IniFile: Move interface into Common namespace 2023-04-13 10:19:28 -04:00
Inline.h Change _WIN32 check to a _MSC_VER check in Inline.h 2022-05-02 01:57:36 -05:00
Intrinsics.h Remove _M_X86 in favour of _M_X86_64 2023-11-28 23:03:20 +11:00
IOFile.cpp Added CopyReader to BlobReader and all subclasses 2023-10-01 09:04:06 -04:00
IOFile.h IOFile: avoid clearing errors on null file struct 2024-02-11 20:55:31 -05:00
JitRegister.cpp Common/JitRegister: Move interface into Common namespace 2023-05-02 12:00:05 -04:00
JitRegister.h Common/JitRegister: Move interface into Common namespace 2023-05-02 12:00:05 -04:00
JsonUtil.cpp Common: add file serialization/deserialization functions for JSON 2024-05-31 22:36:12 -05:00
JsonUtil.h Common: update json util function for converting to numeric value to use a static_cast. As discussed, a Saturating cast doesn't make sense when converting a double to a float 2024-05-31 23:08:05 -05:00
Lazy.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
LdrWatcher.cpp Remove redundant semicolons 2024-08-20 14:59:54 +02:00
LdrWatcher.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
LinearDiskCache.h Common/LinearDiskCache: Move interface into Common namespace 2023-04-19 09:14:39 -04:00
make_scmrev.h.js ScmRevGen: Set commits ahead to zero when on a tag 2024-06-29 22:59:40 -04:00
MathUtil.h Common/MathUtil: Move IntLog2 into MathUtil namespace 2023-04-15 03:35:05 -04:00
Matrix.cpp Common: add determinant functions to Matrix33 and Matrix44 2024-01-24 23:02:57 -06:00
Matrix.h Common: add determinant functions to Matrix33 and Matrix44 2024-01-24 23:02:57 -06:00
MemArena.h Common/MemArenaWin: Rewrite LazyMemoryRegion to manually map memory blocks into the large memory region as needed. 2023-12-09 21:11:31 +01:00
MemArenaAndroid.cpp Common/MemArena: A zero-byte allocation is invalid. 2023-09-07 14:41:24 +02:00
MemArenaUnix.cpp Don't unlink shared memory on Unix 2024-09-09 18:30:34 -07:00
MemArenaWin.cpp Common/MemArenaWin: Rewrite LazyMemoryRegion to manually map memory blocks into the large memory region as needed. 2023-12-09 21:11:31 +01:00
MemoryUtil.cpp Jit: Add more error checking to ProtectStack 2023-08-29 22:46:50 +02:00
MemoryUtil.h Jit: Add more error checking to ProtectStack 2023-08-29 22:46:50 +02:00
MinizipUtil.h ResourcePack: dont scan for individual files 2022-08-06 15:38:46 -07:00
MsgHandler.cpp Common/MsgHandler: Use caller's file and line number in log messages 2022-01-09 12:44:14 -08:00
MsgHandler.h Common: Add [[nodiscard]] to GetStringT(). 2022-09-23 14:58:18 +02:00
NandPaths.cpp NandPaths: Use initializer_list instead of unordered_set 2023-08-12 14:00:41 -07:00
NandPaths.h Common: Convert FromWhichRoot to enum class 2023-06-13 13:25:22 -07:00
Network.cpp Replace Common::BitCast with std::bit_cast 2024-05-03 18:43:51 -07:00
Network.h BBA/BuiltIn: Add SSDP multicast support 2022-08-24 21:29:57 +04:00
PcapFile.cpp BBA/HLE: Fix random PCAP file corruption 2023-11-23 22:07:44 +04:00
PcapFile.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Profiler.cpp Common::Timer: use chrono::steady_clock internally 2022-08-02 22:24:06 -07:00
Profiler.h Remove redundant semicolons 2024-08-20 14:59:54 +02:00
QoSSession.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
QoSSession.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Random.cpp use std-provided randomness for JitArm64 unittests 2023-02-22 12:55:12 -08:00
Random.h use std-provided randomness for JitArm64 unittests 2023-02-22 12:55:12 -08:00
Result.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
scmrev.h.in Replace SCM_IS_MASTER with SCM_COMMITS_AHEAD_MASTER 2024-03-23 16:48:52 -05:00
SCMRevGen.vcxproj msbuild: simplify lang/scm projects a bit 2022-04-27 15:06:04 -07:00
ScopeGuard.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
SDCardUtil.cpp msvc: remove warning disables which no longer fire 2021-07-17 18:24:36 -07:00
SDCardUtil.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Semaphore.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
SettingsHandler.cpp Eliminate SettingsHandler's SetBytes and Reset methods 2024-04-23 17:19:01 -07:00
SettingsHandler.h Eliminate SettingsHandler's SetBytes and Reset methods 2024-04-23 17:19:01 -07:00
SFMLHelper.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
SFMLHelper.h SFMLHelper: Add stream insertion overload helpers for enum types 2021-09-22 15:42:01 -04:00
SmallVector.h JitArm64: Add utility for calling a function with arguments 2023-11-01 19:01:58 +01:00
SocketContext.cpp Socket: Fix connect issues when using ReShade 2024-06-11 12:18:42 +04:00
SocketContext.h rewrite tapserver interface for better error handling 2024-03-17 18:37:55 -07:00
SpanUtils.h VideoCommon: Use GetSpanForAddress safely in texture decoding 2024-04-20 18:31:08 +02:00
SPSCQueue.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
StringLiteral.h Apply suggestions from code review 2023-02-09 18:36:20 +13:00
StringUtil.cpp Add support for libfmt-11 2024-08-22 16:54:35 +03:00
StringUtil.h Remove redundant semicolons 2024-08-20 14:59:54 +02:00
Swap.h fmt 10.0.0-10.1.1 compile fixes 2023-09-21 01:19:23 +02:00
SymbolDB.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
SymbolDB.h Rename Symbol constructor parameter to prevent shadowing 2023-06-20 13:38:31 -04:00
Thread.cpp Fix building on OpenBSD 2023-04-29 19:21:48 -04:00
Thread.h Jit: Don't use a second stack 2023-02-28 20:29:46 +01:00
Timer.cpp add TODO for chrono in GetLocalTimeSinceJan1970 2022-08-06 22:25:30 -07:00
Timer.h Timer: protect usages of ms timers from rollover 2022-08-02 22:24:06 -07:00
TimeUtil.cpp Common: Add utility function that wraps localtime_s() or localtime_t(). 2024-02-18 04:40:25 +01:00
TimeUtil.h Common: Add utility function that wraps localtime_s() or localtime_t(). 2024-02-18 04:40:25 +01:00
TraversalClient.cpp TraversalClient: Resolve -Wsign-compare warning 2023-12-11 18:01:29 -05:00
TraversalClient.h Traversal: Notify user of TTL to be used 2023-05-20 17:15:10 +02:00
TraversalProto.h Traversal: Autoconfigure TTL to use for probe packet 2023-05-20 17:15:07 +02:00
TraversalServer.cpp Common/TraversalServer: Make use of fmt more 2023-12-18 13:08:57 -05:00
TypeUtils.h TypeUtils: Remove Common::Fill 2024-08-22 17:29:26 -07:00
Unreachable.h BranchWatchTableModel: Assume Unreachable Code Truly Is 2024-06-05 19:59:39 -07:00
UPnP.cpp Common/UPnP: Move interface into Common namespace 2023-04-12 14:15:58 -04:00
UPnP.h Common/UPnP: Move interface into Common namespace 2023-04-12 14:15:58 -04:00
VariantUtil.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Version.cpp Add user agent to headers for all RetroAchievements server calls 2024-06-03 00:24:43 -04:00
Version.h Add user agent to headers for all RetroAchievements server calls 2024-06-03 00:24:43 -04:00
WindowsRegistry.cpp Remove redundant semicolons 2024-08-20 14:59:54 +02:00
WindowsRegistry.h Remove redundant semicolons 2024-08-20 14:59:54 +02:00
WindowSystemInfo.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
WorkQueueThread.h WorkQueueThread: Fix WaitForCompletion 2023-03-20 16:31:40 +01:00
x64ABI.cpp Common:X64ABI: Work around clang-format being dumb 2022-08-11 23:57:28 -05:00
x64ABI.h Fix comments 2024-08-13 06:58:23 +02:00
x64CPUDetect.cpp CMake/MSVC: Fix PCH disabled build 2023-01-31 23:21:07 +13:00
x64Emitter.cpp Emitters: Define Trivial Getters Inline 2024-07-21 21:35:29 -07:00
x64Emitter.h Emitters: Define Trivial Getters Inline 2024-07-21 21:35:29 -07:00
x64FPURoundMode.cpp Common: Move FPU-related helpers into Common namespace 2023-03-21 10:58:13 -04:00
x64Reg.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00