1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
vcmi/lib
Andrey Filipenkov db98575d10 fix unaligned memory access (UB) on Clang/GCC/MSVC
sample UBSAN report:
client/gui/CAnimation.cpp:329:24: runtime error: load of misaligned address 0x62d0004b094f for type 'const ui32' (aka 'const unsigned int'), which requires 4 byte alignment
2023-01-08 01:33:26 +02:00
..
abilities wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
battle Apply suggestions from code review 2023-01-05 17:31:30 +02:00
events vstd::unique -> std::unique 2022-12-07 23:36:20 +02:00
filesystem merge beta branch into develop 2022-12-29 22:08:53 +02:00
logging vstd::unique -> std::unique 2022-12-07 23:36:20 +02:00
mapObjects Fix code formatting 2022-12-30 15:51:13 +01:00
mapping Merge pull request #1221 from IvanSavenko/warnings_fix 2022-12-29 21:51:55 +02:00
minizip Fixed some of the warnings detected by CI run 2022-12-08 23:20:42 +02:00
registerTypes callback functions and cleaning up unused code 2022-11-06 23:41:29 +02:00
rmg Merge pull request #1221 from IvanSavenko/warnings_fix 2022-12-29 21:51:55 +02:00
serializer merge beta branch into develop 2022-12-29 22:08:53 +02:00
spells Merge remote-tracking branch 'vcmi/develop' into warnings_fix 2022-12-23 14:40:45 +02:00
vstd wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
AI_Base.h
BattleFieldHandler.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
BattleFieldHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CAndroidVMHelper.cpp apply review comments for CAndroidVMHelper 2018-05-26 14:50:49 +03:00
CAndroidVMHelper.h apply review comments for CAndroidVMHelper 2018-05-26 14:50:49 +03:00
CArtHandler.cpp Fix incorrect assertions 2022-12-18 14:33:59 +02:00
CArtHandler.h suggested changes 2022-11-30 18:28:33 +02:00
CBonusTypeHandler.cpp Code refactor following C++ standard and condition fixes 2022-11-15 03:20:55 +03:00
CBonusTypeHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CBuildingHandler.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CBuildingHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CConfigHandler.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CConfigHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CConsoleHandler.cpp Fix Windows single-app build 2022-12-06 01:53:19 +02:00
CConsoleHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CCreatureHandler.cpp Merge remote-tracking branch 'vcmi/develop' into warnings_fix 2022-12-23 14:40:45 +02:00
CCreatureHandler.h Remove unused include 2022-11-16 12:16:23 +02:00
CCreatureSet.cpp Merge remote-tracking branch 'vcmi/develop' into warnings_fix 2022-12-23 14:40:45 +02:00
CCreatureSet.h Fix stackinstance deserialization 2022-09-29 00:35:51 +04:00
CGameInfoCallback.cpp Fix regression from warnings_fix branch 2022-12-30 00:23:34 +02:00
CGameInfoCallback.h Renamed getUpgradeInfo -> fillUpgradeInfo 2022-12-25 14:03:43 +02:00
CGameInterface.cpp Enabled & fixed -Woverloaded-virtual warning from gcc/cland 2022-12-07 21:50:45 +02:00
CGameInterface.h Enabled & fixed -Woverloaded-virtual warning from gcc/cland 2022-12-07 21:50:45 +02:00
CGameState.cpp Renamed getUpgradeInfo -> fillUpgradeInfo 2022-12-25 14:03:43 +02:00
CGameState.h Renamed getUpgradeInfo -> fillUpgradeInfo 2022-12-25 14:03:43 +02:00
CGameStateFwd.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CGeneralTextHandler.cpp Merge remote-tracking branch 'origin/develop' into terrain-rewrite 2022-09-27 07:50:17 +02:00
CGeneralTextHandler.h Remove T prefix from new typedefs 2022-09-29 11:44:46 +02:00
CHeroHandler.cpp Added common method to get names of hardcoded mod scopes 2022-12-07 15:18:19 +02:00
CHeroHandler.h Remove T prefix from new typedefs 2022-09-29 11:44:46 +02:00
CMakeLists.txt Renamed for consistency BUILD_SINGLE_APP -> ENABLE_SINGLE_APP_BUILD 2022-12-06 00:00:56 +02:00
CModHandler.cpp Add configurable damage and defense parameters 2023-01-05 17:31:30 +02:00
CModHandler.h Add configurable damage and defense parameters 2023-01-05 17:31:30 +02:00
CondSh.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
ConstTransitivePtr.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CPathfinder.cpp Merge remote-tracking branch 'vcmi/develop' into warnings_fix 2022-12-23 14:40:45 +02:00
CPathfinder.h CGHeroInstance::convertPosition is no longer static method 2022-12-07 22:34:08 +02:00
CPlayerState.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CPlayerState.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CRandomGenerator.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CRandomGenerator.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CScriptingModule.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CScriptingModule.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CSkillHandler.cpp Fixed several more cases of incorrect scope for identifiers resolving 2022-12-21 23:02:19 +04:00
CSkillHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CSoundBase.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CStack.cpp Renamed UNUSED -> MAYBE_UNUSED macro to match c++17 attribute name 2022-12-07 18:06:47 +02:00
CStack.h Remove T prefix from new typedefs 2022-09-29 11:44:46 +02:00
CStopWatch.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CThreadHelper.cpp Apply suggestions from code review 2022-09-24 15:55:26 +03:00
CThreadHelper.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
CTownHandler.cpp Added common method to get names of hardcoded mod scopes 2022-12-07 15:18:19 +02:00
CTownHandler.h Added possibility to define per-town tower icon for battle queue in siege 2022-11-29 14:47:51 +02:00
FunctionList.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
GameConstants.cpp Fixed several scenarios with incorrect scope for requesting identifiers 2022-12-21 23:02:19 +04:00
GameConstants.h suggested changes 2022-11-30 18:28:33 +02:00
HeroBonus.cpp Remove deprecated usage of sprintf 2022-12-25 14:04:12 +02:00
HeroBonus.h Fix crash with objects belonging players without state 2022-11-06 03:26:13 +04:00
IBonusTypeHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
IGameCallback.cpp Fix code formatting 2022-12-30 15:51:13 +01:00
IGameCallback.h Fix code formatting 2022-12-30 15:51:13 +01:00
IGameEventsReceiver.h regression fixed. Artifact assemble dialog shows multiple times. 2022-11-07 00:36:13 +02:00
IHandlerBase.cpp Added common method to get names of hardcoded mod scopes 2022-12-07 15:18:19 +02:00
IHandlerBase.h Added common method to get names of hardcoded mod scopes 2022-12-07 15:18:19 +02:00
int3.h Revert uninteded change 2022-12-26 14:48:13 +02:00
Interprocess.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
JsonDetail.cpp Added common method to get names of hardcoded mod scopes 2022-12-07 15:18:19 +02:00
JsonDetail.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
JsonNode.cpp Fixed all non-silenced gcc/clang warnings 2022-12-07 18:05:47 +02:00
JsonNode.h Fixed meta field handling in JsonUtils::inherit function, removed 2022-11-30 17:38:53 +02:00
LoadProgress.cpp Editor prerequisites [part 2] (#889) 2022-09-17 14:04:01 +03:00
LoadProgress.h Editor prerequisites [part 2] (#889) 2022-09-17 14:04:01 +03:00
LogicalExpression.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
LogicalExpression.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
NetPacks.h end of battle art assembling fix 2023-01-05 17:37:14 +02:00
NetPacksBase.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
NetPacksLib.cpp Merge remote-tracking branch 'vcmi/develop' into warnings_fix 2022-12-23 14:40:45 +02:00
NetPacksLobby.h Freeze current state 2022-10-03 20:47:00 +04:00
ObstacleHandler.cpp #1071 - In latest night builds there are problems with schema obstacle.json and file obstacles.json 2022-11-04 00:06:15 +02:00
ObstacleHandler.h Remove T prefix from new typedefs 2022-09-29 11:44:46 +02:00
PathfinderUtil.h Merge remote-tracking branch 'origin/develop' into terrain-rewrite 2022-09-27 07:50:17 +02:00
ResourceSet.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
ResourceSet.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
ScopeGuard.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
ScriptHandler.cpp Fix tests + scripting compilation on gcc 2023-01-05 17:42:33 +02:00
ScriptHandler.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
StartInfo.cpp wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
StartInfo.h Apply suggestions from code review 2022-09-24 15:55:26 +03:00
StdInc.cpp
StdInc.h
StringConstants.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
Terrain.cpp Tweak condition to remove hardcoded terrain ID 2022-12-30 16:04:19 +01:00
Terrain.h Fix missing formatting 2022-12-30 16:14:04 +01:00
UnlockGuard.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
vcmi_endian.h fix unaligned memory access (UB) on Clang/GCC/MSVC 2023-01-08 01:33:26 +02:00
VCMI_lib.cbp !?OB WIP 2021-02-16 13:32:18 +03:00
VCMI_Lib.cpp Resource extractor "enablers" are now command line options 2022-11-27 19:35:10 +02:00
VCMI_Lib.h Resource extractor "enablers" are now command line options 2022-11-27 19:35:10 +02:00
VCMI_lib.vcxproj Update VS files to 2019, partially fix test project 2019-06-09 17:28:55 +02:00
VCMI_lib.vcxproj.filters Update visual studio project files 2018-08-22 17:31:48 +03:00
VCMIDirs.cpp Revert VCMIDirs to fix the build 2022-12-21 23:08:53 +04:00
VCMIDirs.h IVCMIDirs::userExtractedPath() created 2022-11-27 19:35:11 +02:00