1
0
Fork 0
forked from suyu/suyu
suyu/src/core/file_sys
Markus Wick 6755025310 Fix GCC undefined behavior sanitizer.
* Wrong alignment in u64 LOG_DEBUG -> memcpy.
* Huge shift exponent in stride calculation for linear buffer, unused result -> skipped.
* Large shift in buffer cache if word = 0, skip checking for set bits.

Non of those were critical, so this should not change any behavior.
At least with the assumption, that the last one used masking behavior, which always yield continuous_bits = 0.
2021-06-10 21:07:27 +02:00
..
system_archive Merge pull request #6070 from Morph1984/sysver-11.0.1 2021-03-16 18:13:12 -07:00
bis_factory.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
bis_factory.h file_sys/bis_factory: Eliminate usage of the global system accessor 2020-09-16 18:16:04 -04:00
card_image.cpp file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
card_image.h core: loader: Implement support for loading indexed programs. 2020-11-24 15:16:24 -08:00
common_funcs.h file_sys: Consolidate common Title ID operations 2020-12-08 08:19:05 -05:00
content_archive.cpp file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
content_archive.h vfs: Use existing type aliases consistently 2020-12-10 01:44:43 -05:00
control_metadata.cpp pctl: Rework how pctl works to be more accurate 2021-03-27 02:03:18 +11:00
control_metadata.h pctl: Rework how pctl works to be more accurate 2021-03-27 02:03:18 +11:00
directory.h file_sys/directory: Make EntryType an enum class 2019-11-27 05:11:02 -05:00
errors.h service: filesystem: Return proper error codes for CreateFile 2021-05-01 09:33:00 -04:00
fsmitm_romfsbuild.cpp file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
fsmitm_romfsbuild.h file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
ips_layer.cpp Revert "core: Fix clang build" 2020-10-20 19:07:39 -07:00
ips_layer.h ips_layer: Add missing includes 2018-10-09 14:10:13 -04:00
kernel_executable.cpp Revert "core: Fix clang build" 2020-10-20 19:07:39 -07:00
kernel_executable.h file_sys: Replace inclusions with forward declarations where applicable 2020-08-23 17:02:55 -04:00
mode.h common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
nca_metadata.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
nca_metadata.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
nca_patch.cpp file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
nca_patch.h vfs: Use existing type aliases consistently 2020-12-10 01:44:43 -05:00
partition_filesystem.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
partition_filesystem.h file_sys: Replace inclusions with forward declarations where applicable 2020-08-23 17:02:55 -04:00
patch_manager.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
patch_manager.h patch_manager: Remove usages of the global system instance 2020-11-18 09:36:48 -05:00
program_metadata.cpp Fix GCC undefined behavior sanitizer. 2021-06-10 21:07:27 +02:00
program_metadata.h Merge pull request #6230 from Morph1984/default-resource-size 2021-04-24 02:55:20 -07:00
registered_cache.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
registered_cache.h main: Prevent installing base titles into NAND 2021-05-16 04:13:57 -04:00
romfs.cpp file_sys: fix LayeredFS error when loading some games made with… (#3602) 2020-04-07 02:03:32 +02:00
romfs.h file_sys: Replace inclusions with forward declarations where applicable 2020-08-23 17:02:55 -04:00
romfs_factory.cpp general: Replace RESULT_UNKNOWN with ResultUnknown 2021-06-02 00:39:27 -04:00
romfs_factory.h file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
savedata_factory.cpp fspsrv: Implement DisableAutoSaveDataCreation (#6355) 2021-06-02 17:46:29 -07:00
savedata_factory.h fspsrv: Implement DisableAutoSaveDataCreation (#6355) 2021-06-02 17:46:29 -07:00
sdmc_factory.cpp file_sys: Replace inclusions with forward declarations where applicable 2020-08-23 17:02:55 -04:00
sdmc_factory.h file_sys: Replace inclusions with forward declarations where applicable 2020-08-23 17:02:55 -04:00
submission_package.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
submission_package.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
vfs.h vfs: Use existing type aliases consistently 2020-12-10 01:44:43 -05:00
vfs_concat.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_concat.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_layered.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_layered.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_libzip.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
vfs_libzip.h vfs: Add function to extract ZIP file into virtual filesystem 2019-09-30 17:18:38 -04:00
vfs_offset.cpp file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
vfs_offset.h file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
vfs_real.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
vfs_real.h common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
vfs_static.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_types.h vfs: Move forward declarations to separate file 2018-10-07 13:15:11 -04:00
vfs_vector.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_vector.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
xts_archive.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
xts_archive.h vfs: Use existing type aliases consistently 2020-12-10 01:44:43 -05:00