# static_check.py baseline: file<TAB>check<TAB>message<TAB>source line [<TAB>count]
libs/audio_decoders/dr_flac.h	analyzer:core.BitwiseShift	Right shift by '64' overflows the capacity of 'drflac_cache_t'	resultHi = (drflac_uint32)DRFLAC_CACHE_L1_SELECT_AND_SHIFT(bs, bitCountHi);
libs/audio_decoders/dr_flac.h	analyzer:deadcode.DeadStores	Value stored to 'bitsToSeek' is never read	bitsToSeek = 0; /* <-- Necessary for the assert below. */
libs/audio_decoders/dr_mp3.h	analyzer:core.NullPointerArithm	Addition of a null pointer (via field 'pData') and a probably nonzero integer value (via field 'dataSize') may result in undefined behavior	bytesRead = drmp3__on_read_clamped(pMP3, pMP3->pData + pMP3->dataSize, (pMP3->dataCapacity - pMP3->dataSize));
libs/audio_decoders/stb_vorbis.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '!=' is a garbage value	if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S')
libs/audio_decoders/stb_vorbis.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '+' is a garbage value	return vorbis_decode_packet_rest(f, len, f->mode_config + mode, *p_left, left_end, *p_right, right_end, p_left);
libs/audio_decoders/stb_vorbis.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	len += lacing[i];
libs/audio_decoders/stb_vorbis.c	readability-misleading-indentation	different indentation for 'if' and corresponding 'else'	else if (n < (1 << 29)) return 25 + log2_4[n >> 25];
libs/audio_decoders/stb_vorbis.c	readability-misleading-indentation	different indentation for 'if' and corresponding 'else'	else return 10 + log2_4[n >> 10];
libs/audio_decoders/stb_vorbis.c	readability-misleading-indentation	different indentation for 'if' and corresponding 'else'	else return 30 + log2_4[n >> 30];
libs/dolsdk2004/src/gd/GDBase.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'u8 *' (aka 'unsigned char *')	n = (u32)__GDCurrentDL->ptr & 0x1F;
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wint-to-pointer-cast	cast to 'GDGList *' (aka 'struct _GDGList *') from smaller integer type 'u32' (aka 'unsigned int')	*DLDescArray = (GDGList*)((u32)hdr->DLDescArray + (u32)hdr);
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wint-to-pointer-cast	cast to 'GDGList *' (aka 'struct _GDGList *') from smaller integer type 'u32' (aka 'unsigned int')	*PLDescArray = (GDGList*)((u32)hdr->PLDescArray + (u32)hdr);
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wint-to-void-pointer-cast	cast to 'void *' from smaller integer type 'u32' (aka 'unsigned int')	(*DLDescArray)[i].ptr = (void*)((u32)hdr + (u32)(*DLDescArray)[i].ptr);
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wint-to-void-pointer-cast	cast to 'void *' from smaller integer type 'u32' (aka 'unsigned int')	(*PLDescArray)[i].ptr = (void*)((u32)hdr + (u32)(*PLDescArray)[i].ptr);
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'GDFileHeader *' (aka 'struct _GDFileHeader *')	(*DLDescArray)[i].ptr = (void*)((u32)hdr + (u32)(*DLDescArray)[i].ptr);
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'GDFileHeader *' (aka 'struct _GDFileHeader *')	(*PLDescArray)[i].ptr = (void*)((u32)hdr + (u32)(*PLDescArray)[i].ptr);
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'GDFileHeader *' (aka 'struct _GDFileHeader *')	*DLDescArray = (GDGList*)((u32)hdr->DLDescArray + (u32)hdr);
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'GDFileHeader *' (aka 'struct _GDFileHeader *')	*PLDescArray = (GDGList*)((u32)hdr->PLDescArray + (u32)hdr);
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'GDGList *' (aka 'struct _GDGList *')	*DLDescArray = (GDGList*)((u32)hdr->DLDescArray + (u32)hdr);
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'GDGList *' (aka 'struct _GDGList *')	*PLDescArray = (GDGList*)((u32)hdr->PLDescArray + (u32)hdr);
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	(*DLDescArray)[i].ptr = (void*)((u32)hdr + (u32)(*DLDescArray)[i].ptr);
libs/dolsdk2004/src/gd/GDFile.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	(*PLDescArray)[i].ptr = (void*)((u32)hdr + (u32)(*PLDescArray)[i].ptr);
libs/dolsdk2004/src/gd/GDIndirect.c	analyzer:core.CallAndMessage	5th function call argument is an uninitialized value	GDSetTevIndirect(tev_stage,
libs/dolsdk2004/src/gd/GDIndirect.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '+' is a garbage value	6 + id_offset
libs/dolsdk2004/src/gd/GDIndirect.c	warn:-Wsometimes-uninitialized	variable 'id_offset' is used uninitialized whenever switch default is taken	default:
libs/dolsdk2004/src/gd/GDIndirect.c	warn:-Wsometimes-uninitialized	variable 'sm' is used uninitialized whenever switch default is taken	default:
libs/dolsdk2004/src/gd/GDIndirect.c	warn:-Wsometimes-uninitialized	variable 'tm' is used uninitialized whenever switch default is taken	default:
libs/dolsdk2004/src/gd/GDPixel.c	analyzer:core.BitwiseShift	Left shift by '4294967295' overflows the capacity of 'int'	A_f = A / (1 << b_expn);
libs/dolsdk2004/src/mtx/mtx.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	dst[0][0] = src[0][0];
libs/dolsdk2004/src/mtx/mtx44.c	analyzer:core.CallAndMessage	1st function call argument is an uninitialized value	ftmp = fabsf(gjm[k][i]);
libs/dolsdk2004/src/mtx/mtx44.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	dst[0][0] = src[0][0];
libs/dolsdk2004/src/os/OSAlloc.c	analyzer:deadcode.DeadStores	Value stored to 'requested' is never read	requested = size;
libs/dolsdk2004/src/os/OSAlloc.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'Cell *' (aka 'struct Cell *')	ASSERTREPORT(908, OFFSET(cell, ALIGNMENT) == 0);
libs/dolsdk2004/src/os/OSAlloc.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'Cell *' (aka 'struct Cell *')	ASSERTREPORT(926, OFFSET(cell, ALIGNMENT) == 0);
libs/lua/lua_port_match.c	analyzer:core.NullDereference	Dereference of null pointer	luaL_addchar(&b, *src++);
libs/lua/lua_port_match.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'ms.capture'	ms->capture[level].init = s;
libs/lua/src/lapi.c	analyzer:core.NullDereference	Access to field 'marked' results in a dereference of a null pointer	luaC_objbarrier(L, f1, *up1);
libs/lua/src/lauxlib.c	analyzer:unix.Stream	File position of the stream might be 'indeterminate' after a failed operation. Can cause undefined behavior	*cp = getc(f); /* next character after comment, if present */
libs/lua/src/lauxlib.c	analyzer:unix.Stream	Read function called when stream is in EOF state. Function has no effect	*cp = getc(f); /* next character after comment, if present */
libs/lua/src/lauxlib.c	bugprone-sizeof-expression	suspicious 'sizeof' by 'sizeof' multiplication	B->size = LUAL_BUFFERSIZE;
libs/lua/src/lauxlib.h	bugprone-sizeof-expression	suspicious 'sizeof' by 'sizeof' multiplication	char b[LUAL_BUFFERSIZE]; /* initial buffer */
libs/lua/src/lcode.c	readability-misleading-indentation	different indentation for 'if' and corresponding 'else'	else
libs/lua/src/ldebug.c	analyzer:core.NullDereference	Access to field 'p' results in a dereference of a null pointer	return luaG_getfuncline(ci_func(ci)->p, currentpc(ci));
libs/lua/src/lfunc.c	analyzer:deadcode.DeadStores	Although the value stored to 'upl' is used in the enclosing expression, the value is never actually read from 'upl'	while ((uv = L->openupval) != NULL && (upl = uplevel(uv)) >= level) {
libs/lua/src/lstrlib.c	analyzer:core.NullDereference	Dereference of null pointer	luaL_addchar(&b, *src++);
libs/lua/src/lstrlib.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'ms.capture'	ms->capture[level].init = s;
libs/lua/src/ltable.c	analyzer:deadcode.DeadStores	Value stored to 'f' during its initialization is never read	lua_CFunction f = fvalue(key);
libs/lua/src/ltable.c	analyzer:deadcode.DeadStores	Value stored to 'p' during its initialization is never read	void *p = pvalue(key);
libs/lua/src/lutf8lib.c	readability-misleading-indentation	different indentation for 'if' and corresponding 'else'	else {
libs/msl/src/MSL_C.PPCEABI.bare.H.a/e_asin.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '*' is a garbage value	p = t * (pS0 + t * (pS1 + t * (pS2 + t * (pS3 + t * (pS4 + t * pS5)))));
libs/msl/src/MSL_C.PPCEABI.bare.H.a/e_asin.c	warn:-Wsometimes-uninitialized	variable 't' is used uninitialized whenever 'if' condition is false	if (huge + x > one) return x;
libs/msl/src/MSL_C.PPCEABI.bare.H.a/e_fmod.c	misc-redundant-expression	both sides of operator are equivalent	return (x * y) / (x * y);
libs/msl/src/MSL_C.PPCEABI.bare.H.a/e_log.c	misc-redundant-expression	both sides of operator are equivalent	return (x - x) / zero;
libs/msl/src/MSL_C.PPCEABI.bare.H.a/e_pow.c	misc-redundant-expression	both sides of operator are equivalent	return y - y;
libs/msl/src/MSL_C.PPCEABI.bare.H.a/e_pow.c	misc-redundant-expression	both sides of operator are equivalent	z = (z - z) / (z - z);	#3
libs/msl/src/MSL_C.PPCEABI.bare.H.a/e_rem_pio2.c	misc-redundant-expression	both sides of operator are equivalent	y[0] = y[1] = x - x;
libs/msl/src/MSL_C.PPCEABI.bare.H.a/e_sqrt.c	analyzer:core.BitwiseShift	Right shift by '32' overflows the capacity of 'unsigned int'	ix0 |= (ix1 >> (32 - i));
libs/msl/src/MSL_C.PPCEABI.bare.H.a/k_rem_pio2.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	y[1] = -fq[1];
libs/msl/src/MSL_C.PPCEABI.bare.H.a/k_rem_pio2.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	y[1] = fq[1];
libs/msl/src/MSL_C.PPCEABI.bare.H.a/k_rem_pio2.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'iq'	for (k = 1; iq[jk - k] == 0; k++)
libs/msl/src/MSL_C.PPCEABI.bare.H.a/k_rem_pio2.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'iq'	i = (iq[jz - 1] >> (24 - q0));
libs/msl/src/MSL_C.PPCEABI.bare.H.a/k_rem_pio2.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'iq'	ih = iq[jz - 1] >> 23;
libs/msl/src/MSL_C.PPCEABI.bare.H.a/k_rem_pio2.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'iq'	while (iq[jz] == 0) {
libs/msl/src/MSL_C.PPCEABI.bare.H.a/k_rem_pio2.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'q'	for (i = 0, j = jz, z = q[jz]; j > 0; i++, j--) {
libs/msl/src/MSL_C.PPCEABI.bare.H.a/s_cos.c	misc-redundant-expression	both sides of operator are equivalent	else if (ix >= 0x7ff00000) return x - x;
libs/msl/src/MSL_C.PPCEABI.bare.H.a/s_sin.c	misc-redundant-expression	both sides of operator are equivalent	else if (ix >= 0x7ff00000) return x - x;
libs/msl/src/MSL_C.PPCEABI.bare.H.a/s_tan.c	misc-redundant-expression	both sides of operator are equivalent	else if (ix >= 0x7ff00000) return x - x;
libs/musyx/src/musyx/runtime/hardware.c	analyzer:core.uninitialized.UndefReturn	Undefined or garbage value returned to caller	return pos;
libs/musyx/src/musyx/runtime/hardware.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	pos = ((dspVoice[v].currentAddr - (u32)dspVoice[v].smp_info.addr * 2) / 16) * 14;
libs/musyx/src/musyx/runtime/hardware.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	pos = dspVoice[v].currentAddr - ((u32)dspVoice[v].smp_info.addr / 2);
libs/musyx/src/musyx/runtime/hardware.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	pos = dspVoice[v].currentAddr - (u32)dspVoice[v].smp_info.addr;
libs/musyx/src/musyx/runtime/hw_dspctrl.c	analyzer:deadcode.DeadStores	Although the value stored to 'firstVoice' is used in the enclosing expression, the value is never actually read from 'firstVoice'	for (v = 0, dsp_vptr = stp->voiceRoot, firstVoice = dsp_vptr; dsp_vptr;
libs/musyx/src/musyx/runtime/hw_dspctrl.c	analyzer:deadcode.DeadStores	Although the value stored to 'nextVoice' is used in the enclosing expression, the value is never actually read from 'nextVoice'	v++, dsp_vptr = dsp_vptr->next, nextVoice = dsp_vptr) {
libs/musyx/src/musyx/runtime/hw_dspctrl.c	analyzer:deadcode.DeadStores	Value stored to 'pend' is never read	pend = (u16*)(DSP_PTRINT(dsp_vptr->patchData) + 0x80);
libs/musyx/src/musyx/runtime/hw_dspctrl.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'dpopLHi'	start[1] = (u16)*hostSum;
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'u16 *' (aka 'unsigned short *')	DCStoreRangeNoSync(dspCmdCurBase, (u32)dspCmdPtr - (u32)dspCmdCurBase);	#2
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'u16 *' (aka 'unsigned short *')	DCStoreRangeNoSync(dsp_vptr->patchData, (u32)pptr - (u32)dsp_vptr->patchData);
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'u16 *' (aka 'unsigned short *')	size = (((u32)(dspCmdPtr + 4) - (u32)dspCmdCurBase) + 3) & ~3;	#24
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wpointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'u16 *' (aka 'unsigned short *')	size = (((u32)dspCmdPtr - (u32)dspCmdCurBase) + 3) & ~3;	#2
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wself-assign	explicitly assigning value of variable of type 'DSPstudioinfo *' (aka 'struct DSPstudioinfo *') to itself	for (sp = dspStudio, st = 0; st < salMaxStudioNum; ++st, r28 = sp++, r28 = r28) {
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	DCStoreRangeNoSync(dsp_vptr->patchData, (u32)pptr - (u32)dsp_vptr->patchData);
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	addr = (u32)dsp_vptr->smp_info.offset + (base = (u32)dsp_vptr->smp_info.addr);
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	addr = dsp_vptr->smp_info.offset + (base = (u32)dsp_vptr->smp_info.addr >> 1);
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	base = (u32)dsp_vptr->smp_info.addr * 2;	#2
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	loopAddr = ((u32)dsp_vptr->vSampleInfo.loopBufferAddr * 2) + 2;
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	loopAddr = (u32)dsp_vptr->vSampleInfo.loopBufferAddr >> 1;
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	tmp_addr = ((u32)dsp_vptr->vSampleInfo.loopBufferAddr * 2) + bn * 16 + 2 + bo;
libs/musyx/src/musyx/runtime/hw_dspctrl.c	warn:-Wvoid-pointer-to-int-cast	cast to smaller integer type 'u32' (aka 'unsigned int') from 'void *'	tmp_addr = ((u32)dsp_vptr->vSampleInfo.loopBufferAddr >> 1) + (dsp_vptr->vSampleInfo.loopBufferLength - 1);
libs/musyx/src/musyx/runtime/seq.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'seqInstance'	seqInstance[seqId].syncCrossInfo = *ci;
libs/musyx/src/musyx/runtime/snd3d.c	analyzer:core.CallAndMessage	2nd function call argument is an uninitialized value	AddRunningEmitter(em, vol);
libs/musyx/src/musyx/runtime/snd3d.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	SetFXParameters(em, vol, xPan, yPan, zPan, pitch, occl);
libs/musyx/src/musyx/runtime/snd3d.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	if (AddStartingEmitter(em, vol, xPan, yPan, zPan, pitch, occl)) {
libs/musyx/src/musyx/runtime/snd3d.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '!=' is a garbage value	} else if (vol != 0.f) {
libs/musyx/src/musyx/runtime/snd3d.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '==' is a garbage value	if ((vol == 0.f) && ((em->flags & 4) != 0)) {
libs/musyx/src/musyx/runtime/snd3d.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '==' is a garbage value	if (vol == 0.f && em->flags & 0x4) {
libs/musyx/src/musyx/runtime/snd_init.c	analyzer:deadcode.DeadStores	Value stored to 'ret' is never read	ret = 0;
libs/musyx/src/musyx/runtime/snd_midictrl.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '!=' is a garbage value	if (sign != FALSE) {	#6
libs/musyx/src/musyx/runtime/snd_midictrl.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'midi_ctrl'	rpn = (midi_ctrl[set][channel][100]) | (midi_ctrl[set][channel][101] << 8);	#3
libs/musyx/src/musyx/runtime/snd_synthapi.c	analyzer:security.VAList	Initialized va_list 'args' is leaked	hwEnableIrq();
libs/musyx/src/musyx/runtime/synth.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '!=' is a garbage value	if (new_id != SND_ID_ERROR) {
libs/musyx/src/musyx/runtime/synth.c	analyzer:unix.cstring.NullArg	Null pointer passed as 1st argument to memory set function	memset(synthVoice, 0, numVoices * sizeof(SYNTH_VOICE));
libs/musyx/src/musyx/runtime/synthdata.c	analyzer:core.NullDereference	Access to field 'offset' results in a dereference of a null pointer (loaded from variable 'sdir')	sdir->addr = (void*)((size_t)sdir->offset + (size_t)sdirTab->base);
libs/musyx/src/musyx/runtime/synthvoice.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'voiceList'	voiceList[synthInfo.voiceNum - 1].next = 0xff;
libs/qrcodegen/qrcodegen.c	analyzer:core.DivideZero	Division by zero	int k = (int)((labs(dark * 20L - total * 10L) + total - 1) / total) - 1;
port/archipelago/ap_client.cpp	bugprone-exception-escape	an exception may be thrown in function '~Client' which should not throw exceptions	Client::~Client() { stop(); }
port/archipelago/ap_client.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	mSlotGames[std::atoi(k.c_str())] = v.str("game");
port/archipelago/ap_client.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	text += playerName(std::atoi(t.c_str()));
port/archipelago/ap_client.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoll' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtoll' instead	text += itemName(std::atoll(t.c_str()), owner);
port/archipelago/ap_client.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoll' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtoll' instead	text += locationName(std::atoll(t.c_str()), owner);
port/archipelago/open_world.cpp	bugprone-throwing-static-initialization	initialization of 'sMade' with static storage duration may throw an exception that cannot be caught	} sMade;
port/archipelago/open_world.cpp	bugprone-throwing-static-initialization	initialization of 'sOriginal' with static storage duration may throw an exception that cannot be caught	std::map<intptr_t*, intptr_t> sOriginal;
port/archipelago/rando_gen.cpp	bugprone-derived-method-shadowing-base-method	'ttyd_rando::(anonymous namespace)::PcSweep::collect' shadows method with the same name in class 'Sweep'	void collect(int64_t item) {
port/archipelago/rando_gen.cpp	bugprone-derived-method-shadowing-base-method	'ttyd_rando::(anonymous namespace)::PcSweep::run' shadows method with the same name in class 'Sweep'	std::vector<int> run(const std::vector<int64_t>& item, const std::vector<char>& inLogic, bool sphere = false) {
port/archipelago/ttyd_ap.cpp	analyzer:core.CallAndMessage	Called C++ object pointer is uninitialized	if (flag <= 0 || s.pushedFlags.count(flag)) return true;
port/archipelago/ttyd_ap.cpp	bugprone-throwing-static-initialization	initialization of 'kEverObtainedCounters' with static storage duration may throw an exception that cannot be caught	const std::map<int, int> kEverObtainedCounters = {{125, 1801}, {38, 1802}, {12, 1803}, {46, 1804}, {73, 1805}};
port/archipelago/ttyd_ap.cpp	bugprone-throwing-static-initialization	initialization of 'sSeed' with static storage duration may throw an exception that cannot be caught	} sSeed;
port/archipelago/ttyd_ap.cpp	bugprone-throwing-static-initialization	initialization of 'sSession' with static storage duration may throw an exception that cannot be caught	} sSession;
port/archipelago/websocket.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	out.port = std::atoi(rest.substr(colon + 1).c_str());
port/include/port/bedecode.h	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '<<' is a garbage value	return (uint16_t)((b[0] << 8) | b[1]);
port/include/port/bedecode.h	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '|' is a garbage value	return (uint16_t)((b[0] << 8) | b[1]);
port/include/port/lua_mods.h	bugprone-exception-escape	an exception may be thrown in function 'PortLuaModSpec' which should not throw exceptions	struct PortLuaModSpec {
port/include/port/map_pc.h	analyzer:core.uninitialized.UndefReturn	Undefined or garbage value returned to caller	return v.f;
port/include/port/map_pc.h	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'p0.x'	out[1] = portMapLoadF32(p + 4, be);
port/mods/lua_host.cpp	bugprone-throwing-static-initialization	initialization of 'sConsole' with static storage duration may throw an exception that cannot be caught	std::deque<ConsoleLine> sConsole;
port/mods/lua_host.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/mods/lua_host.cpp	bugprone-throwing-static-initialization	initialization of 'sSnaps' with static storage duration may throw an exception that cannot be caught	std::map<unsigned, Snap> sSnaps;
port/mods/lua_host.cpp	bugprone-unchecked-optional-access	unchecked access to optional value	const std::string& name = *m->skins[size_t(party)];
port/mods/mod_api.cpp	bugprone-throwing-static-initialization	initialization of 'sReplacedBy' with static storage duration may throw an exception that cannot be caught	std::vector<int> sReplacedBy(PORT_HOOK_COUNT, -1);
port/mods/mods.cpp	bugprone-throwing-static-initialization	initialization of 'sCode' with static storage duration may throw an exception that cannot be caught	std::map<std::string, Code> sCode; // by mod id
port/mods/mods.cpp	bugprone-throwing-static-initialization	initialization of 'sCodeMessageText' with static storage duration may throw an exception that cannot be caught	std::unordered_map<std::string, std::deque<std::string>> sCodeMessageText;
port/mods/mods.cpp	bugprone-throwing-static-initialization	initialization of 'sCodeMessages' with static storage duration may throw an exception that cannot be caught	std::unordered_map<std::string, const char*> sCodeMessages;
port/mods/mods.cpp	bugprone-throwing-static-initialization	initialization of 'sEnums' with static storage duration may throw an exception that cannot be caught	std::unordered_map<std::string, long long> sEnums;
port/mods/mods.cpp	bugprone-throwing-static-initialization	initialization of 'sHostFiles' with static storage duration may throw an exception that cannot be caught	std::map<std::string, std::vector<uint8_t>> sHostFiles; // disc path -> contents
port/mods/mods.cpp	bugprone-throwing-static-initialization	initialization of 'sHostMaps' with static storage duration may throw an exception that cannot be caught	std::map<std::string, ModMap> sHostMaps; // the host's own new maps (the modes'), below every mod's
port/mods/mods.cpp	bugprone-throwing-static-initialization	initialization of 'sMaps' with static storage duration may throw an exception that cannot be caught	std::map<std::string, ModMap> sMaps;
port/mods/mods.cpp	bugprone-throwing-static-initialization	initialization of 'sOptionValues' with static storage duration may throw an exception that cannot be caught	std::map<std::string, int> sOptionValues; // "id.key" -> value (mods/options.txt)
port/mods/mods.cpp	bugprone-throwing-static-initialization	initialization of 'sOriginal' with static storage duration may throw an exception that cannot be caught	std::map<uint8_t*, std::vector<uint8_t>> sOriginal; // patched bytes as they were
port/mods/mods.cpp	bugprone-throwing-static-initialization	initialization of 'sPatchStrings' with static storage duration may throw an exception that cannot be caught	std::deque<std::string> sPatchStrings; // text the game now points at (never freed)
port/mods/mods.cpp	bugprone-throwing-static-initialization	initialization of 'sSymbols' with static storage duration may throw an exception that cannot be caught	std::unordered_map<std::string, const PortReflSymbol*> sSymbols;
port/mods/mods.cpp	bugprone-unchecked-optional-access	unchecked access to optional value	anyTlut.count(std::string(loose) + "_" + std::to_string(key->textureHash)) != 0) {
port/mods/mods.cpp	bugprone-unchecked-optional-access	unchecked access to optional value	std::snprintf(loose, sizeof(loose), "%ux%u_%u", key->width, key->height, key->format);	#3
port/mods/mods.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sOptionValues[line.substr(0, eq)] = atoi(line.c_str() + eq + 1);
port/settings/button_glyphs.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	out[i * 4 + 3] = static_cast<uint8_t>(std::clamp(a, 0.f, 1.f) * 255.f + 0.5f);
port/settings/button_glyphs.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	out[i * 4 + k] = static_cast<uint8_t>(std::clamp(a > 0.f ? px[i * 4 + k] / a : 0.f, 0.f, 1.f) * 255.f + 0.5f);
port/settings/features/accessibility.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/achievements.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/area_maps.cpp	analyzer:security.FloatLoopCounter	Variable 't' with floating point type 'float' should not be used as a loop counter	for (float t = 0.f; t < len; t += dash * 2.f) {
port/settings/features/area_maps.cpp	bugprone-float-loop-counter	loop induction expression should not have floating-point type	for (float t = 0.f; t < len; t += dash * 2.f) {
port/settings/features/area_maps.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/autosave.cpp	bugprone-throwing-static-initialization	initialization of 'sAutosave' with static storage duration may throw an exception that cannot be caught	} sAutosave;
port/settings/features/battle_speed.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/battlex.cpp	analyzer:deadcode.DeadStores	Value stored to 'y' is never read	y += ImGui::GetFontSize() * 3.2f;
port/settings/features/battlex.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	(unsigned(c[2] * 255.f + 0.5f) << 8) | unsigned(c[3] * 255.f + 0.5f);	#2
port/settings/features/battlex.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	sFoe.color = (unsigned(c[0] * 255.f + 0.5f) << 24) | (unsigned(c[1] * 255.f + 0.5f) << 16) |	#2
port/settings/features/battlex.cpp	bugprone-not-null-terminated-result	the result from calling 'memcpy' is not null-terminated	std::memcpy(out, text.data(), text.size());
port/settings/features/battlex.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/battlex.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const int id = std::atoi(list.substr(at, end - at).c_str());
port/settings/features/battlex.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const int slot = std::atoi(line.c_str());
port/settings/features/battlex.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	out.icon = std::atoi(body.substr(b + 1).c_str());
port/settings/features/bindings.cpp	bugprone-throwing-static-initialization	initialization of 'kActions' with static storage duration may throw an exception that cannot be caught	const ActionRow kActions[PORT_BIND_COUNT] = {
port/settings/features/bindings.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/bindings.cpp	bugprone-throwing-static-initialization	initialization of 'sCore' with static storage duration may throw an exception that cannot be caught	const bool sCore = [] {
port/settings/features/bindings.cpp	bugprone-throwing-static-initialization	initialization of 'sDeclared' with static storage duration may throw an exception that cannot be caught	const bool sDeclared = [] {
port/settings/features/bindings.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	*out = std::atoi(kv.second.c_str());
port/settings/features/bingo.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/bingo.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const int cell = std::atoi(a);
port/settings/features/bingo.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const int i = std::atoi(a);
port/settings/features/bingo.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	out.owner[cell] = std::atoi(b);
port/settings/features/bingo.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	out.you = std::atoi(a);
port/settings/features/boards.cpp	analyzer:deadcode.DeadStores	Value stored to 'v' during its initialization is never read	const int* v = portSettingsFind("pal_50hz");
port/settings/features/boards.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/boards.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const int b = std::atoi(entry);
port/settings/features/boards.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (status == 200 && std::sscanf(text.c_str(), "ok %31s %d", id, &rank) == 2) {
port/settings/features/boards.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an unsigned integer value, but function will not report conversion errors; consider using 'strtoul' instead	if (std::sscanf(line.c_str(), "%31s %u %d %d %15s %159s", id, &e.frames, &e.checks, &e.fails, date, name) == 6 &&
port/settings/features/brothers.cpp	bugprone-throwing-static-initialization	initialization of 'sBrothers' with static storage duration may throw an exception that cannot be caught	} sBrothers;
port/settings/features/button_markup.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	const int h = static_cast<int>(size * 0.92f + 0.5f);
port/settings/features/button_markup.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	const int w = static_cast<int>(h * i.width + 0.5f);
port/settings/features/button_prompts.cpp	bugprone-throwing-static-initialization	initialization of 'sButtonPrompts' with static storage duration may throw an exception that cannot be caught	} sButtonPrompts;
port/settings/features/cards.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/challenge_editor.cpp	bugprone-exception-escape	an exception may be thrown in function 'RuleSet' which should not throw exceptions	struct RuleSet {
port/settings/features/challenge_editor.cpp	bugprone-throwing-static-initialization	initialization of 'sEdit' with static storage duration may throw an exception that cannot be caught	RuleSet sEdit;
port/settings/features/challenge_editor.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/challenge_editor.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	out.values[key] = std::atoi(value.c_str());
port/settings/features/challenges.cpp	bugprone-throwing-static-initialization	initialization of 'sChallenges' with static storage duration may throw an exception that cannot be caught	} sChallenges;
port/settings/features/companion.cpp	bugprone-throwing-static-initialization	initialization of 'sCardA' with static storage duration may throw an exception that cannot be caught	ImVec2 sCardA;
port/settings/features/companion.cpp	bugprone-throwing-static-initialization	initialization of 'sGlyphs' with static storage duration may throw an exception that cannot be caught	std::set<ImWchar> sGlyphs; // the characters past Latin-1 shown so far (Japanese)
port/settings/features/companion.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	select = std::atoi(sTestTab);
port/settings/features/console_accurate.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/controller_light.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/controllers.cpp	bugprone-throwing-static-initialization	initialization of 'sControllers' with static storage duration may throw an exception that cannot be caught	} sControllers;
port/settings/features/cosmetics.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/cosmetics.cpp	bugprone-throwing-static-initialization	initialization of 'sSeen' with static storage duration may throw an exception that cannot be caught	std::unordered_map<const void*, Seen> sSeen;
port/settings/features/cosmetics.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	o.owner = std::atoi(e);
port/settings/features/cosmetics.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	o.tex.push_back(std::atoi(q));
port/settings/features/crowd_control.cpp	bugprone-throwing-static-initialization	initialization of 'sLastBy' with static storage duration may throw an exception that cannot be caught	std::map<std::string, Clock::time_point> sLastBy; // each viewer's last
port/settings/features/crowd_control.cpp	bugprone-throwing-static-initialization	initialization of 'sNotices' with static storage duration may throw an exception that cannot be caught	std::deque<Notice> sNotices; // the last commands taken, for the picture and the page
port/settings/features/crowd_control.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/crowd_control.cpp	bugprone-throwing-static-initialization	initialization of 'sStatus' with static storage duration may throw an exception that cannot be caught	std::string sStatus = "Off.";
port/settings/features/daily.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/daily.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (std::sscanf(line, "rando %d %d %d %d %d %d %d %d", &a[0], &a[1], &a[2], &a[3], &a[4], &a[5], &a[6],
port/settings/features/daily.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (std::sscanf(line.c_str(), "daily %d %d %d", &gotDate, &count, &rank) >= 2) {
port/settings/features/daily.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	} else if (std::sscanf(line, "goal %d", &v) == 1) {
port/settings/features/daily.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	} else if (std::sscanf(line, "set %63s %d", key, &v) == 2) {
port/settings/features/daily.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	} else if (std::sscanf(line.c_str(), "%d %llu %95s %15s", &r, &ms, name, game) >= 3) {
port/settings/features/directors_cut.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/discord.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/display.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/dojo.cpp	analyzer:security.ArrayBound	Out of bound access to memory after the end of the string literal	for (const unsigned char* p = reinterpret_cast<const unsigned char*>(utf8 != nullptr ? utf8 : ""); *p != 0; p++) {
port/settings/features/dojo.cpp	analyzer:security.ArrayBound	Out of bound access to memory after the end of the string literal	} else if (PORT_GAME_ID[3] != 'J' && (*p == 0xC2 || *p == 0xC3) && p[1] != 0) {
port/settings/features/dojo.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/dualsense_speaker.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/dungeon_master.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/duo_moves.cpp	bugprone-throwing-static-initialization	initialization of 'sDuoMoves' with static storage duration may throw an exception that cannot be caught	} sDuoMoves;
port/settings/features/gameplus.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/gameplus2.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/haptics.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/input_display.cpp	bugprone-throwing-static-initialization	initialization of 'kRegistered' with static storage duration may throw an exception that cannot be caught	const bool kRegistered = [] {
port/settings/features/lang_packs.cpp	bugprone-throwing-static-initialization	initialization of 'kAmber' with static storage duration may throw an exception that cannot be caught	const ImVec4 kAmber(1.0f, 0.75f, 0.3f, 1.0f);
port/settings/features/lang_packs.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/launcher_look.cpp	bugprone-throwing-static-initialization	initialization of 'kRegistered' with static storage duration may throw an exception that cannot be caught	const bool kRegistered = [] {
port/settings/features/lua_console.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/master_quest.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/master_quest.cpp	bugprone-throwing-static-initialization	initialization of 'sText' with static storage duration may throw an exception that cannot be caught	std::vector<char> sText(kTextSize, 0);
port/settings/features/menu_mouse.cpp	bugprone-throwing-static-initialization	initialization of 'sMenuMouse' with static storage duration may throw an exception that cannot be caught	} sMenuMouse;
port/settings/features/menu_speed.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/menu_typing.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/message_log.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/message_log.cpp	bugprone-throwing-static-initialization	initialization of 'sLog' with static storage duration may throw an exception that cannot be caught	std::deque<Entry> sLog;
port/settings/features/message_log.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (int(sLog.size()) < std::max(1, std::atoi(spec))) {
port/settings/features/message_text.cpp	bugprone-throwing-static-initialization	initialization of 'sWindows' with static storage duration may throw an exception that cannot be caught	std::map<const void*, Window> sWindows;
port/settings/features/modes.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/modes.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const int loadout = colon != std::string::npos ? std::atoi(t.c_str() + colon + 1) : PORT_LOADOUT_OWN;
port/settings/features/modes.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const int loadout = rush && test[4] == ':' ? std::atoi(test + 5) : PORT_LOADOUT_MID;
port/settings/features/modes.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sTested = portModeRefight(std::atoi(t.c_str() + 8), loadout, &why) != 0;
port/settings/features/modes.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'fscanf' used to convert a string to an unsigned integer value, but function will not report conversion errors; consider using 'strtoull' instead	while (std::fscanf(f, "%31s %llu", key, &v) == 2) {
port/settings/features/modes_hub_links.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/mods_install.cpp	bugprone-throwing-static-initialization	initialization of 'sQueue' with static storage duration may throw an exception that cannot be caught	std::deque<std::string> sQueue; // waiting
port/settings/features/mods_install.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/mods_manager.cpp	bugprone-throwing-static-initialization	initialization of 'kAmber' with static storage duration may throw an exception that cannot be caught	const ImVec4 kAmber(0.70f, 0.42f, 0.02f, 1.0f);
port/settings/features/mods_manager.cpp	bugprone-throwing-static-initialization	initialization of 'kGreen' with static storage duration may throw an exception that cannot be caught	const ImVec4 kGreen(0.18f, 0.48f, 0.20f, 1.0f);
port/settings/features/mods_manager.cpp	bugprone-throwing-static-initialization	initialization of 'kRed' with static storage duration may throw an exception that cannot be caught	const ImVec4 kRed(0.78f, 0.16f, 0.14f, 1.0f);
port/settings/features/mods_manager.cpp	bugprone-throwing-static-initialization	initialization of 'sIcons' with static storage duration may throw an exception that cannot be caught	std::map<std::string, Icon> sIcons; // by its path and icon (made once: Aurora keeps them)
port/settings/features/mods_manager.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/music.cpp	bugprone-throwing-static-initialization	initialization of 'kRegistered' with static storage duration may throw an exception that cannot be caught	const bool kRegistered = [] {
port/settings/features/notes.cpp	analyzer:unix.BlockInCriticalSection	Call to blocking function 'fgets' inside of critical section	while (std::fgets(line, sizeof(line), f) != nullptr) {
port/settings/features/notes.cpp	bugprone-throwing-static-initialization	initialization of 'sRated' with static storage duration may throw an exception that cannot be caught	std::map<std::string, int> sRated;
port/settings/features/notes.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/notes.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (std::sscanf(line, "%15s %31s %d", kind, id, &d) >= 2) {
port/settings/features/notes.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (std::sscanf(line.c_str(), "%15s %15s %d %d %d %d %d %d", n.id, n.map, &n.x, &n.y, &n.z, &n.phrase, &n.word,
port/settings/features/one_handed.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/online.cpp	bugprone-throwing-static-initialization	initialization of 'sMenuAdded' with static storage duration may throw an exception that cannot be caught	const bool sMenuAdded = [] {
port/settings/features/online.cpp	bugprone-throwing-static-initialization	initialization of 'sUndo' with static storage duration may throw an exception that cannot be caught	Undo sUndo;
port/settings/features/online.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const int port = colon != std::string::npos ? std::atoi(address.c_str() + colon + 1) : PORT_ONLINE_DEFAULT_PORT;
port/settings/features/online.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const int seats = SDL_getenv("TTYD_ONLINE_SEATS") != nullptr ? std::atoi(SDL_getenv("TTYD_ONLINE_SEATS")) : 0;
port/settings/features/online.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	online += std::max(0, std::atoi(line.c_str() + 6));
port/settings/features/online.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	port = std::atoi(host.c_str() + close + 2);	#2
port/settings/features/online.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	port = std::atoi(host.c_str() + colon + 1);	#2
port/settings/features/online.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	r.max = slash != std::string::npos && slash < b ? std::clamp(std::atoi(line.c_str() + slash + 1), 2, 4) : 2;
port/settings/features/online.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	r.players = std::atoi(line.c_str() + a + 1);
port/settings/features/online.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sLobby.port = std::atoi(hostPort);
port/settings/features/online.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sLobby.port = std::clamp(std::atoi(v.c_str()), 1024, 65535);
port/settings/features/paper_visuals.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/partner_wheel.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/photo_mode.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/photo_mode.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const int n = std::sscanf(spec, "%d:%f:%f:%f:%d:%d:%d", &at, &yaw, &pitch, &zoom, &filter, &frameStyle, &dof);
port/settings/features/pings.cpp	bugprone-throwing-static-initialization	initialization of 'sPings' with static storage duration may throw an exception that cannot be caught	} sPings;
port/settings/features/play_modes.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/play_modes.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sTested = portChapterStart(std::atoi(t.c_str() + 8), &why) != 0;
port/settings/features/play_modes.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sTested = portTrickWarp(std::atoi(t.c_str() + 6), &why) != 0;
port/settings/features/postgame.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/practice.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/presets.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/presets.cpp	bugprone-throwing-static-initialization	initialization of 'sTest' with static storage duration may throw an exception that cannot be caught	const bool sTest = [] {
port/settings/features/presets.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (device(key) || !portSettingsDefault(key.c_str(), &def) || std::atoi(value.c_str()) == def) {
port/settings/features/quiz.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/raid.cpp	analyzer:security.ArrayBound	Out of bound access to memory preceding 'kPhaseName'	std::string now = portTr(kPhaseName[st->phase - 1]);
port/settings/features/raid.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/raid.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (std::sscanf(line.c_str(), "raid %d %d %d %d", &week, &boss, &clears, &rank) >= 3) {
port/settings/features/raid.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	} else if (std::sscanf(line.c_str(), "%d %d %u %d %159s %15s", &r, &turns, &frames, &players, name, game) >= 5) {
port/settings/features/randomizer.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/randomizer_menu.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/replay.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/replay.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (portReplayRecording() && sStopAt != nullptr && portReplayFrame() >= static_cast<unsigned>(std::atoi(sStopAt))) {
port/settings/features/restart.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/resume.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/rewind.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/save_files.cpp	bugprone-throwing-static-initialization	initialization of 'sSaveFiles' with static storage duration may throw an exception that cannot be caught	} sSaveFiles;
port/settings/features/save_files.cpp	bugprone-throwing-static-initialization	initialization of 'sThumbs' with static storage duration may throw an exception that cannot be caught	std::map<std::string, Thumb> sThumbs;
port/settings/features/save_transfer.cpp	bugprone-throwing-static-initialization	initialization of 'sSaveTransfer' with static storage duration may throw an exception that cannot be caught	} sSaveTransfer;
port/settings/features/saves.cpp	bugprone-throwing-static-initialization	initialization of 'sSaves' with static storage duration may throw an exception that cannot be caught	} sSaves;
port/settings/features/second_player.cpp	bugprone-throwing-static-initialization	initialization of 'sSecondPlayer' with static storage duration may throw an exception that cannot be caught	} sSecondPlayer;
port/settings/features/sharp_text.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/slow_speed.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/speakers.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/speech.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/steam_shortcut.cpp	bugprone-throwing-static-initialization	initialization of 'sSteamShortcut' with static storage duration may throw an exception that cannot be caught	} sSteamShortcut;
port/settings/features/text_language.cpp	bugprone-throwing-static-initialization	initialization of 'sTextLanguage' with static storage duration may throw an exception that cannot be caught	} sTextLanguage;
port/settings/features/title_menu.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/toggles.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/update_check.cpp	bugprone-throwing-static-initialization	initialization of 'sUpdateCheck' with static storage duration may throw an exception that cannot be caught	} sUpdateCheck;
port/settings/features/update_check.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	out[i] = std::atoi(p);
port/settings/features/versus.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/features/view.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/volume.cpp	bugprone-throwing-static-initialization	initialization of 'sVolume' with static storage duration may throw an exception that cannot be caught	} sVolume;
port/settings/features/whats_new.cpp	bugprone-throwing-static-initialization	initialization of 'sAdded' with static storage duration may throw an exception that cannot be caught	const bool sAdded = [] {
port/settings/features/window.cpp	bugprone-throwing-static-initialization	initialization of 'sWindow' with static storage duration may throw an exception that cannot be caught	} sWindow;
port/settings/lan_http.cpp	bugprone-misplaced-widening-cast	either cast from 'int' to 'DWORD' (aka 'unsigned long') is ineffective, or there is loss of precision before the conversion	DWORD ms = DWORD(seconds * 1000);
port/settings/lan_http.cpp	bugprone-not-null-terminated-result	the result from calling 'memcpy' is not null-terminated	std::memcpy(chunk, rest.data(), rest.size()); // (rest came from this chunk: it fits)
port/settings/lan_http.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	port = std::atoi(digits.c_str());
port/settings/lan_http.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (std::sscanf(head.c_str(), "HTTP/%*d.%*d %d", &status) != 1) {
port/settings/launcher_brand.cpp	bugprone-exception-escape	an exception may be thrown in function '(lambda)' which should not throw exceptions	star.detail = [dl, pts, c]() { // folded: each point's left half in light
port/settings/launcher_brand.cpp	bugprone-exception-escape	an exception may be thrown in function '(lambda)' which should not throw exceptions	star.draw = [dl, pts](ImVec2 off, ImU32 col) {
port/settings/launcher_brand.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	o[3] = static_cast<uint8_t>(acc[3] / (kStep * kStep) * 255.f + 0.5f);
port/settings/launcher_look.cpp	analyzer:security.FloatLoopCounter	Variable 'x' with floating point type 'float' should not be used as a loop counter	for (float x = a.x + 6.f * scale; x < b.x - 6.f * scale; x += step, i++) {
port/settings/launcher_look.cpp	bugprone-float-loop-counter	loop induction expression should not have floating-point type	for (float x = a.x + 6.f * scale; x < b.x - 6.f * scale; x += step, i++) {
port/settings/launcher_look.cpp	bugprone-throwing-static-initialization	initialization of 'sFallback' with static storage duration may throw an exception that cannot be caught	Target sHover, sFallback;
port/settings/launcher_look.cpp	bugprone-throwing-static-initialization	initialization of 'sGlove' with static storage duration may throw an exception that cannot be caught	ImVec2 sGlove(0, 0);
port/settings/launcher_look.cpp	bugprone-throwing-static-initialization	initialization of 'sHover' with static storage duration may throw an exception that cannot be caught	Target sHover, sFallback;
port/settings/launcher_look.cpp	bugprone-throwing-static-initialization	initialization of 'sLastTarget' with static storage duration may throw an exception that cannot be caught	ImVec2 sLastTarget(-1, -1);
port/settings/launcher_shot.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	row[x * n + 3] = static_cast<uint8_t>(std::clamp(a, 0.f, 1.f) * 255.f + 0.5f);
port/settings/launcher_shot.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	row[x * n + k] = static_cast<uint8_t>(std::clamp(v, 0.f, 1.f) * 255.f + 0.5f);
port/settings/launcher_shot.cpp	bugprone-throwing-static-initialization	initialization of 'sDir' with static storage duration may throw an exception that cannot be caught	std::string sDir = ".";
port/settings/launcher_shot.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atof' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtod' instead	sShots.push_back({static_cast<float>(std::atof(item.substr(0, colon).c_str())), item.substr(colon + 1)});
port/settings/launcher_stage.cpp	analyzer:security.FloatLoopCounter	Variable 'x' with floating point type 'float' should not be used as a loop counter	for (float x = 0.f; x < W; x += pleat) {
port/settings/launcher_stage.cpp	bugprone-float-loop-counter	loop induction expression should not have floating-point type	for (float x = 0.f; x < W; x += pleat) {
port/settings/launcher_stage.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	auto ch = [&](int s) { return static_cast<int>(mix(static_cast<float>(chan(a, s)), static_cast<float>(chan(b, s)), t) + 0.5f); };
port/settings/launcher_stage.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	auto ch = [&](int s) { return std::min(255, static_cast<int>(chan(c, s) * k + 0.5f)); };	#2
port/settings/launcher_stage.cpp	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	const int al = static_cast<int>(chan(c, IM_COL32_A_SHIFT) * clamp01(a) + 0.5f);
port/settings/launcher_style.cpp	bugprone-throwing-static-initialization	initialization of 'sSaved' with static storage duration may throw an exception that cannot be caught	ImGuiStyle sSaved;
port/settings/launcher_ui.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atof' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtod' instead	if (at != nullptr && time < static_cast<float>(std::atof(at + 1))) {
port/settings/launcher_ui.cpp	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atof' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtod' instead	if (colon != nullptr && time >= static_cast<float>(std::atof(add))) {
port/settings/settings_ui.cpp	analyzer:deadcode.DeadStores	Value stored to 's' during its initialization is never read	PortSettings* s = portSettings();
port/settings/settings_ui.cpp	bugprone-throwing-static-initialization	initialization of 'kItems' with static storage duration may throw an exception that cannot be caught	Item kItems[] = {
port/settings/settings_ui.cpp	bugprone-throwing-static-initialization	initialization of 'sTouchLast' with static storage duration may throw an exception that cannot be caught	ImVec2 sTouchStart, sTouchLast;
port/settings/settings_ui.cpp	bugprone-throwing-static-initialization	initialization of 'sTouchStart' with static storage duration may throw an exception that cannot be caught	ImVec2 sTouchStart, sTouchLast;
port/settings/settings_ui.cpp	bugprone-throwing-static-initialization	initialization of 'sWinMax' with static storage duration may throw an exception that cannot be caught	ImVec2 sWinMin[2], sWinMax[2];
port/settings/settings_ui.cpp	bugprone-throwing-static-initialization	initialization of 'sWinMin' with static storage duration may throw an exception that cannot be caught	ImVec2 sWinMin[2], sWinMax[2];
port/settings/tr.cpp	bugprone-throwing-static-initialization	initialization of 'sAtlasChars' with static storage duration may throw an exception that cannot be caught	std::set<ImWchar> sAtlasChars; // the characters the page's fonts were given
port/settings/tr.cpp	bugprone-throwing-static-initialization	initialization of 'sRegister' with static storage duration may throw an exception that cannot be caught	} sRegister;
port/settings/tr.cpp	bugprone-throwing-static-initialization	initialization of 'sSeen' with static storage duration may throw an exception that cannot be caught	std::unordered_set<std::string, SvHash, std::equal_to<>> sSeen; // every English text asked for this run
port/src/aurora/bingo_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'fscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtoll' instead	if (fscanf(f, "seed %63s start %lld first %llu done %x", seed, &start, &first, &done) == 4 &&
port/src/aurora/cards_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (!portCardsDuel(atoi(test + 4), &why)) {
port/src/aurora/cards_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(line + 4, "%d %d %d", &sWins[0], &sWins[1], &sWins[2]);
port/src/aurora/cards_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	while (sDeckCount < MAX_CARDS && sscanf(q, "%d%n", &n, &at) == 1) {
port/src/aurora/cards_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	while (sSessionCount < MAX_CARDS && sscanf(q, "%d%n", &n, &at) == 1) {
port/src/aurora/chapters_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (!portChapterStart(atoi(test), &why)) {
port/src/aurora/companion_menu_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sForced = getenv("TTYD_COMPANION_MENU") != NULL ? atoi(getenv("TTYD_COMPANION_MENU")) : -1;
port/src/aurora/companion_menu_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sTabEnv = v != NULL ? atoi(v) : -1;
port/src/aurora/daily_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	date = atoi(seed + 6);
port/src/aurora/daily_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'fscanf' used to convert a string to an unsigned integer value, but function will not report conversion errors; consider using 'strtoul' instead	if (fscanf(f, "frames %u done %u", &sFrames, &sDone) != 2) {
port/src/aurora/dojo_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(env, "%d,%d,%d,%d", &s.dummy, &s.attacks, &s.partner, &s.everyMove);
port/src/aurora/dungeon_master_aurora.c	analyzer:core.NullDereference	Access to field 'currCommand' results in a dereference of a null pointer (loaded from variable 'entry')	sStart[n - 1].e.nextCommand = entry->currCommand;
port/src/aurora/dungeon_master_aurora.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'sDm.opts'	Option* ai = &sDm.opts[sDm.nOpts++];
port/src/aurora/dungeon_master_aurora.c	bugprone-suspicious-memory-comparison	comparing object representation of type 'BattleUnit' (aka 'struct BattleUnit') which does not have a unique object representation; consider comparing the members of the object manually	if (u != NULL && memcmp(saved + sizeof(BattleWork) + sizeof(BattleUnit) * (size_t)i, u, sizeof(BattleUnit)) != 0) {
port/src/aurora/dungeon_master_aurora.c	bugprone-suspicious-memory-comparison	comparing object representation of type 'BattleWork' (aka 'struct BattleWork') which does not have a unique object representation; consider comparing the members of the object manually	int i, same = memcmp(saved, wp, sizeof(BattleWork)) == 0;
port/src/aurora/ghost_aurora.c	bugprone-not-null-terminated-result	the result from calling 'memcpy' is not null-terminated	memcpy(p, "GHST", 4);
port/src/aurora/interp_aurora.c	bugprone-suspicious-realloc-usage	'sKept' may be set to null if 'realloc' fails, which may result in a leak of the original buffer	sKept = realloc(sKept, sKeptCap);
port/src/aurora/interp_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	rate = atoi(v);
port/src/aurora/luigi_faces_aurora.c	analyzer:core.NullPointerArithm	Addition of a null pointer and a nonzero integer value results in undefined behavior	const uint8_t* p = px < w && py < h ? rgba + (size_t)py * pitch + (size_t)px * 4 : NULL;
port/src/aurora/main_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	config.msaa = (msaa != NULL ? atoi(msaa) : portSettingsPeek(config.userPath, "msaa", 0)) ? 4 : 1;
port/src/aurora/main_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	config.windowPosX = atoi(pos);
port/src/aurora/main_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	config.windowPosY = atoi(strchr(pos, ',') + 1);
port/src/aurora/master_quest_aurora.c	analyzer:unix.cstring.UninitializedRead	The first element of the 2nd argument is undefined	memcpy(before, units, sizeof(units));
port/src/aurora/master_quest_aurora.c	analyzer:unix.cstring.UninitializedRead	The last accessed element (at index 4) in the 2nd argument is undefined	memcpy(before, units, sizeof(units));
port/src/aurora/modes_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (step != NULL && atoi(step) >= 1 && atoi(step) <= BOSS_COUNT) {	#2
port/src/aurora/modes_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sStatus.step = atoi(step);
port/src/aurora/modes_hub_aurora.c	analyzer:core.NullPointerArithm	Addition of a null pointer and a nonzero integer value results in undefined behavior	const Uint8* p = px < w && py < h ? rgba + (size_t)py * pitch + (size_t)px * 4 : NULL;
port/src/aurora/notes_aurora.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '<' is a garbage value	if (dist[i] < best && fabsf((float)sNotes[i].y - mario->position.y) < 80.0f) {
port/src/aurora/notes_aurora.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '>' is a garbage value	if (dist[k] > dist[at]) {
port/src/aurora/os_time_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sShift = days != NULL ? (OSTime)atoi(days) * 86400 * (OSTime)OS_TIMER_CLOCK : 0;
port/src/aurora/paper_tower_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sFloor = atoi(f + 1);
port/src/aurora/paper_tower_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'fscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (fscanf(f, "floor %d ms %llu", &sBestFloor, &sBestMs) != 2) {
port/src/aurora/pause_notes_aurora.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '<=' is a garbage value	if (sListedCount == NOTES_LISTED && d[NOTES_LISTED - 1] <= here) {
port/src/aurora/pause_notes_aurora.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '>' is a garbage value	for (; j > 0 && d[j - 1] > here; j--) {
port/src/aurora/pause_online_aurora.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the string literal	for (; more > 0 && (*p & 0xC0) == 0x80; more--) {
port/src/aurora/pause_online_aurora.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the string literal	while (*p != '\0' && n + 1 < size) {
port/src/aurora/pause_online_aurora.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'sRows'	while (sRow + 1 < sCount && !selectable(sRows[sRow].kind)) {
port/src/aurora/pause_online_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (atoi(sKb.text) < 1024 || atoi(sKb.text) > 65535) {	#2
port/src/aurora/pause_online_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	portOnlineMenuSetPort(atoi(sKb.text));
port/src/aurora/pause_pages_aurora.c	analyzer:security.ArrayBound	Out of bound access to memory around 'sKeys'	const Key* k = &sKeys[sKeyAt];
port/src/aurora/pause_pages_aurora.c	analyzer:security.ArrayBound	Out of bound access to memory around 'sKeys'	const int row = sKeys[sKeyAt].row;
port/src/aurora/pause_pages_aurora.c	analyzer:security.ArrayBound	Out of bound access to memory around 'sKeys'	wp->helpTgtX = keyX(&sKeys[sKeyAt]) - 14.0f;
port/src/aurora/pause_settings_aurora.c	analyzer:core.DivideZero	Division by zero	*y = BANNER_MID + frontStep(n) * (rows - 1) / 2.0f - frontStep(n) * (k % rows);
port/src/aurora/picture_aurora.c	bugprone-suspicious-memory-comparison	comparing object representation of type 'AuroraPictureEffects' (aka 'struct AuroraPictureEffects') which does not have a unique object representation; consider comparing the members of the object manually	if (sSentOnce && memcmp(&e, &sSent, sizeof(e)) == 0) {
port/src/aurora/pit_coop_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'fscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (fscanf(f, "floor %d ms %llu", &sBestFloor, &sBestMs) != 2) {
port/src/aurora/puzzles_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (!portPuzzleStart(daily ? portPuzzleDaily() : atoi(test) - 1, daily, &why)) {
port/src/aurora/puzzles_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (sscanf(line, "%d %d", &n, &t) == 2 && n >= 1 && n <= PUZZLE_COUNT && t > 0) {
port/src/aurora/quiz_aurora.c	analyzer:unix.cstring.NullArg	Null pointer passed as 1st argument to string comparison function	strcmp(getenv("TTYD_PARTY_GAME_TEST"), "quiz") == 0) {
port/src/aurora/reflect_gen.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{"battle_params", PORT_REFL_POINTER, offsetof(struct ItemData, battle_params), FSIZE(struct ItemData, battle_params) / 1, 1, NULL},
port/src/aurora/reflect_gen.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{"dataTable", PORT_REFL_POINTER, offsetof(struct BattleUnitKind, dataTable), FSIZE(struct BattleUnitKind, dataTable) / 1, 1, NULL},
port/src/aurora/reflect_gen.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{"parts", PORT_REFL_POINTER, offsetof(struct BattleUnitKind, parts), FSIZE(struct BattleUnitKind, parts) / 1, 1, NULL},
port/src/aurora/reflect_gen.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{"statusVulnerability", PORT_REFL_POINTER, offsetof(struct BattleUnitKind, statusVulnerability), FSIZE(struct BattleUnitKind, statusVulnerability) / 1, 1, NULL},
port/src/aurora/remix_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	dead = atoi(line) == id;
port/src/aurora/resume_aurora.c	bugprone-not-null-terminated-result	the result from calling 'memcpy' is not null-terminated	memcpy(header, PORT_GAME_ID, 6);
port/src/aurora/savestate_aurora.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'portSnapBssStart'	dst[op] = dst[op - offset];
port/src/aurora/savestate_aurora.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'portSnapDataStart'	dst[op] = dst[op - offset];
port/src/aurora/savestate_aurora.c	analyzer:security.PointerSub	Subtraction of two pointers that do not point into the same array is undefined behavior	out[n++] = (Region){&sSnapBssStart, (size_t)(&sSnapBssEnd - &sSnapBssStart)};
port/src/aurora/savestate_aurora.c	analyzer:security.PointerSub	Subtraction of two pointers that do not point into the same array is undefined behavior	out[n++] = (Region){&sSnapDataStart, (size_t)(&sSnapDataEnd - &sSnapDataStart)};
port/src/aurora/savestate_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(v, "%d:%d", &sTestSave, &sTestLoad);
port/src/aurora/settings_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	int v = atoi(value);
port/src/aurora/settings_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	return atoi(test) != 0;
port/src/aurora/settings_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	value = atoi(line + keyLen + 1);
port/src/aurora/settings_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	value = atoi(over);
port/src/aurora/settings_hint_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sSkip = force != NULL ? atoi(force) == 0 : getenv("TTYD_MAP") != NULL;
port/src/aurora/shot_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sInbetween = v != NULL ? atoi(v) : 0;
port/src/aurora/title_menu_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	return atoi(e) != 0; /* (tests: forced on or off) */
port/src/aurora/tricks_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	t.story = atoi(field[3]);
port/src/aurora/tricks_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtof' instead	t.hasPos = n == 5 && sscanf(field[4], "%f %f %f", &t.x, &t.y, &t.z) == 3;
port/src/aurora/versus_aurora.c	analyzer:unix.cstring.NullArg	Null pointer passed as 1st argument to string comparison function	const int ladder = strcmp(getenv("TTYD_VERSUS_TEST"), "ladder") == 0;
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const int v = atoi(eq);
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	d->gear = atoi(eq);
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	d->level = atoi(eq);
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	d->partnerRank = atoi(eq);
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (getenv("TTYD_VERSUS_RUNG") != NULL && atoi(getenv("TTYD_VERSUS_RUNG")) > 1) {
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	out[n++] = (short)atoi(v);
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	p->currentSP = (s16)(atoi(getenv("TTYD_VERSUS_SP")) * 100);
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sLadder = atoi(getenv("TTYD_VERSUS_RUNG")); /* (tests: the ladder from this rung) */
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sSetup.rules.luckBadges = atoi(eq) != 0;
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sSetup.rules.showstopperKo = atoi(eq) != 0;
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sSetup.rules.stage = atoi(eq);
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sSetup.rules.turnTimer = atoi(eq);
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'fscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (fscanf(f, "best=%d", &sLadderBest) != 1 || sLadderBest < 0) {
port/src/aurora/versus_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(eq, "%d,%d,%d", &d->hpUps, &d->fpUps, &d->bpUps);
port/src/aurora/versus_cpu_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (atoi(force) == o->special) {
port/src/aurora/vi_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (!sDone && at != NULL && sRetraceCount == (u32)atoi(at)) {	#2
port/src/aurora/vi_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sTestF1CloseAt = ms != NULL ? SDL_GetTicks() + (Uint64)atoi(ms + 1) : 0;
port/src/aurora/vi_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sTestRestoreAt = SDL_GetTicks() + (Uint64)(ms != NULL ? atoi(ms + 1) : 5000);
port/src/aurora/wardrobe_aurora.c	warn:-Wint-to-pointer-cast	cast to 'const char *' from smaller integer type 'int'	psndSFXOn((const char*)(done ? 0x20012 : 0x20013));
port/src/aurora/whats_new_aurora.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'item'	if (*p == ' ') {
port/src/aurora/whats_new_aurora.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (atoi(force) == 0) { /* $TTYD_WHATS_NEW=0: never; =1: this start, whatever was seen */
port/src/common/ac_cue_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	gPortAcCueLead = atoi(show);
port/src/common/achievements_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (test != NULL && atoi(test) >= 0 && atoi(test) < COUNT && sToastCount < TOASTS) {	#2
port/src/common/achievements_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sToasts[sToastCount] = atoi(test);
port/src/common/achievements_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (sscanf(line + 2, "%23s %d", key, &value) == 2 && (v = counterSlot(key, 1)) != NULL) {
port/src/common/art_recipe.c	analyzer:core.NullDereference	Array access (via field 'allocs') results in a null pointer dereference	r->allocs[r->nallocs++] = p;
port/src/common/art_recipe.c	analyzer:core.NullDereference	Array access (via field 'tok') results in a null pointer dereference	if (strcmp(l->tok[0], "image") == 0) {
port/src/common/art_recipe.c	analyzer:core.NullDereference	Dereference of null pointer (loaded from variable 'colon')	*colon = 0;
port/src/common/art_recipe.c	analyzer:core.NullDereference	Dereference of null pointer (loaded from variable 'comma')	*comma = 0;
port/src/common/art_recipe.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '!=' is a garbage value	if (used != n - 1) {
port/src/common/art_recipe.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '!=' is a garbage value	if (used != n) {
port/src/common/art_recipe.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '*' is a garbage value	return 0.299 * (double)c[0] + 0.587 * (double)c[1] + 0.114 * (double)c[2];
port/src/common/art_recipe.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'kBlocks'	bw = kBlocks[fmt][0];
port/src/common/art_recipe.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'kIcons'	id = kIcons[jp];
port/src/common/art_recipe.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'cl'	s->cl[s->n] = c;
port/src/common/art_recipe.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'kIcons'	id = kIcons[jp];
port/src/common/art_recipe.c	analyzer:unix.cstring.NullArg	Null pointer passed as 2nd argument to memory copy function	memcpy(c, pal[v & 0x3FFF], sizeof(c));
port/src/common/art_recipe.c	analyzer:unix.cstring.NullArg	Null pointer passed as 2nd argument to memory copy function	memcpy(c, pal[v], sizeof(c));	#2
port/src/common/art_recipe.c	analyzer:unix.cstring.UninitializedRead	The first element of the 2nd argument is undefined	memcpy(r->colours[i].c, c, sizeof(int) * 4);
port/src/common/art_recipe.c	analyzer:unix.cstring.UninitializedRead	The first element of the 2nd argument is undefined	memcpy(r->colours[r->ncolours].c, c, sizeof(int) * 4);
port/src/common/art_recipe.c	analyzer:unix.cstring.UninitializedRead	The first element of the 2nd argument is undefined	memcpy(tone[k], tone[0], sizeof(tone[0]));
port/src/common/art_recipe.c	analyzer:unix.cstring.UninitializedRead	The first element of the 2nd argument is undefined	memcpy(tone[k], tone[3], sizeof(tone[0]));
port/src/common/art_recipe.c	misc-redundant-expression	operator has equivalent nested operands	if (!(ON(x - 1, y) && ON(x + 1, y) && ON(x, y - 1) && ON(x, y + 1))) {
port/src/common/battlex_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (sscanf(line, "%c %d", &letter, &n) == 2) {
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "anims", 0x1AC, offsetof(struct AnimationPoseData, anims), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0x148, 0, 0, PORT_FSIZE(struct AnimationPoseData, anims), 0, &portBE_anim_AnimTableEntry, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "bufferVtxPos", 0x154, offsetof(struct AnimationPoseData, bufferVtxPos), PORT_FK_PTR_RAW, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct AnimationPoseData, bufferVtxPos), 0, NULL, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "clr0VtxBuffer", 0x164, offsetof(struct AnimationPoseData, clr0VtxBuffer), PORT_FK_PTR_PAYLOAD, PORT_CNT_FIELD, 4, 0, 0, 0x100, 0, 0, PORT_FSIZE(struct AnimationPoseData, clr0VtxBuffer), 0, NULL, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "data", 0x3C, offsetof(struct AnimTableEntry, data), PORT_FK_PTR_RAW, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct AnimTableEntry, data), 0, NULL, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "drawCalls", 0x150, offsetof(struct AnimationPoseData, drawCalls), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0xEC, 0, 0, PORT_FSIZE(struct AnimationPoseData, drawCalls), 0, &portBE_anim_AnimDrawCallEntry, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "draws", 0x19C, offsetof(struct AnimationPoseData, draws), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0x138, 0, 0, PORT_FSIZE(struct AnimationPoseData, draws), 0, &portBE_anim_AnimPoseShapeDraw, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "groups", 0x1A8, offsetof(struct AnimationPoseData, groups), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0x144, 0, 0, PORT_FSIZE(struct AnimationPoseData, groups), 0, &portBE_anim_AnimPoseGroup, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "keyframes", 0x28, offsetof(struct AnimData, keyframes), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0x8, 0, 0, PORT_FSIZE(struct AnimData, keyframes), 0, &portBE_anim_AnimKeyframe, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "nodeData", 0x1A4, offsetof(struct AnimationPoseData, nodeData), PORT_FK_PTR_RAW, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct AnimationPoseData, nodeData), 0, NULL, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "nrmVtxBuffer", 0x15C, offsetof(struct AnimationPoseData, nrmVtxBuffer), PORT_FK_PTR_RAW, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct AnimationPoseData, nrmVtxBuffer), 0, NULL, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "shapes", 0x14C, offsetof(struct AnimationPoseData, shapes), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0xE8, 0, 0, PORT_FSIZE(struct AnimationPoseData, shapes), 0, &portBE_anim_AnimPoseShape, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "texAnimEntries", 0x190, offsetof(struct AnimationPoseData, texAnimEntries), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0x12C, 0, 0, PORT_FSIZE(struct AnimationPoseData, texAnimEntries), 0, &portBE_anim_AnimTexMtx, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "texBinds", 0x198, offsetof(struct AnimationPoseData, texBinds), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0x134, 0, 0, PORT_FSIZE(struct AnimationPoseData, texBinds), 0, &portBE_anim_AnimTexBind, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "texData", 0x194, offsetof(struct AnimationPoseData, texData), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0x130, 0, 0, PORT_FSIZE(struct AnimationPoseData, texData), 0, &portBE_anim_AnimPoseTexEntry, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "texDeltas", 0x34, offsetof(struct AnimData, texDeltas), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0x14, 0, 0, PORT_FSIZE(struct AnimData, texDeltas), 0, &portBE_anim_AnimTexDelta, NULL },
port/src/common/bedecode_gen_anim.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "valueKeys", 0x40, offsetof(struct AnimData, valueKeys), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0x20, 0, 0, PORT_FSIZE(struct AnimData, valueKeys), 0, &portBE_anim_AnimValueKey, NULL },
port/src/common/bedecode_gen_camroad.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "collGroups", 0x104, offsetof(struct CamRoadMap, collGroups), PORT_FK_PTR_PAYLOAD, PORT_CNT_FIELD, 4, 0, 0, 0xE0, 0, 0, PORT_FSIZE(struct CamRoadMap, collGroups), 0, NULL, NULL },
port/src/common/bedecode_gen_camroad.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "curveVtx", 0xF8, offsetof(struct CamRoadMap, curveVtx), PORT_FK_PTR_PAYLOAD, PORT_CNT_FIELD, 4, 0, 0, 0xD4, 0, 0, PORT_FSIZE(struct CamRoadMap, curveVtx), 0, NULL, NULL },
port/src/common/bedecode_gen_camroad.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "curves", 0xEC, offsetof(struct CamRoadMap, curves), PORT_FK_PTR_PAYLOAD, PORT_CNT_FIELD, 4, 0, 0, 0xC8, 0, 0, PORT_FSIZE(struct CamRoadMap, curves), 0, NULL, NULL },
port/src/common/bedecode_gen_camroad.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "groupVtx", 0xFC, offsetof(struct CamRoadMap, groupVtx), PORT_FK_PTR_PAYLOAD, PORT_CNT_FIELD, 4, 0, 0, 0xD8, 0, 0, PORT_FSIZE(struct CamRoadMap, groupVtx), 0, NULL, NULL },
port/src/common/bedecode_gen_camroad.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "groups", 0xF0, offsetof(struct CamRoadMap, groups), PORT_FK_PTR_PAYLOAD, PORT_CNT_FIELD, 4, 0, 0, 0xCC, 0, 0, PORT_FSIZE(struct CamRoadMap, groups), 0, NULL, NULL },
port/src/common/bedecode_gen_camroad.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "projection", 0xE8, offsetof(struct CamRoadMap, projection), PORT_FK_PTR_PAYLOAD, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct CamRoadMap, projection), 0, NULL, NULL },
port/src/common/bedecode_gen_camroad.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "strips", 0xF4, offsetof(struct CamRoadMap, strips), PORT_FK_PTR_PAYLOAD, PORT_CNT_FIELD, 4, 0, 0, 0xD0, 0, 0, PORT_FSIZE(struct CamRoadMap, strips), 0, NULL, NULL },
port/src/common/bedecode_gen_cardsave.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "fbatData", 0x168, offsetof(struct GlobalWork, fbatData), PORT_FK_PTR_NULL, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct GlobalWork, fbatData), 0, NULL, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "alphaAnims", 0x14, offsetof(struct MapAnimHeader, alphaAnims), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapAnimHeader, alphaAnims), 0, &portBE_map_MapAnimAlphaList, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "child", 0xC, offsetof(struct MapFileJoint, child), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapFileJoint, child), 0, &portBE_map_MapFileJoint, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "drawMode", 0x58, offsetof(struct MapFileJoint, drawMode), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapFileJoint, drawMode), 0, &portBE_map_MapJointDrawMode, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "joint", 0x4, offsetof(struct MapFileInfo, joint), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapFileInfo, joint), 0, &portBE_map_MapFileJoint, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "jointAnims", 0xC, offsetof(struct MapAnimHeader, jointAnims), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapAnimHeader, jointAnims), 0, &portBE_map_MapAnimJointList, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "lightAnims", 0x18, offsetof(struct MapAnimHeader, lightAnims), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapAnimHeader, lightAnims), 0, &portBE_map_MapAnimLightList, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "lightColorAnims", 0x1C, offsetof(struct MapAnimHeader, lightColorAnims), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapAnimHeader, lightColorAnims), 0, &portBE_map_MapAnimLightParamList, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "material", 0x0, offsetof(struct MapFileJointPart, material), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapFileJointPart, material), 0, &portBE_map_MapMaterial, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "materialAnims", 0x10, offsetof(struct MapAnimHeader, materialAnims), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapAnimHeader, materialAnims), 0, &portBE_map_MapAnimMatList, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "next", 0x10, offsetof(struct MapFileJoint, next), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapFileJoint, next), 0, &portBE_map_MapFileJoint, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "normals", 0x4, offsetof(struct MapVcdTable, normals), PORT_FK_PTR_PAYLOAD, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapVcdTable, normals), 0, NULL, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "parent", 0x8, offsetof(struct MapFileJoint, parent), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapFileJoint, parent), 0, &portBE_map_MapFileJoint, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "positions", 0x0, offsetof(struct MapVcdTable, positions), PORT_FK_PTR_PAYLOAD, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapVcdTable, positions), 0, NULL, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "prev", 0x14, offsetof(struct MapFileJoint, prev), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapFileJoint, prev), 0, &portBE_map_MapFileJoint, NULL },
port/src/common/bedecode_gen_map.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "tex", 0x0, offsetof(struct MapMatSampler, tex), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct MapMatSampler, tex), 0, &portBE_map_MapTexInfo, NULL },
port/src/common/bedecode_gen_tpl.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "CLUTHeader", 0x4, offsetof(struct TEXDescriptor, CLUTHeader), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct TEXDescriptor, CLUTHeader), 0, &portBE_tpl_CLUTHeader, NULL },
port/src/common/bedecode_gen_tpl.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "descriptorArray", 0x8, offsetof(struct TEXPalette, descriptorArray), PORT_FK_PTR_STRUCT, PORT_CNT_FIELD, 4, 0, 0, 0x4, 0, 0, PORT_FSIZE(struct TEXPalette, descriptorArray), 0, &portBE_tpl_TEXDescriptor, NULL },
port/src/common/bedecode_gen_tpl.c	bugprone-sizeof-expression	suspicious usage of 'sizeof()' on an expression of pointer type	{ "textureHeader", 0x0, offsetof(struct TEXDescriptor, textureHeader), PORT_FK_PTR_STRUCT, PORT_CNT_ONE, 0, 0, 0, 0x0, 0, 0, PORT_FSIZE(struct TEXDescriptor, textureHeader), 0, &portBE_tpl_TEXHeader, NULL },
port/src/common/companion_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sValue = v != NULL && atoi(v) != 0;
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'GetCurrentProcess' may not be asynchronous-safe; calling it from a signal handler may be dangerous	HANDLE proc = GetCurrentProcess();
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'GetModuleFileNameA' may not be asynchronous-safe; calling it from a signal handler may be dangerous	GetModuleFileNameA(mod, name, sizeof(name)) != 0) {
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'GetModuleHandleA' may not be asynchronous-safe; calling it from a signal handler may be dangerous	sMessage, sMessage[0] != '\0' ? "\n" : "", (void*)GetModuleHandleA(NULL));
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'GetModuleHandleExA' may not be asynchronous-safe; calling it from a signal handler may be dangerous	if (GetModuleHandleExA(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT,
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'RtlCaptureStackBackTrace' may not be asynchronous-safe; calling it from a signal handler may be dangerous	n = CaptureStackBackTrace(1, 48, frames, NULL);
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'SymFromAddr' may not be asynchronous-safe; calling it from a signal handler may be dangerous	if (SymFromAddr(proc, addr, &disp, sym)) {
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'SymGetLineFromAddr64' may not be asynchronous-safe; calling it from a signal handler may be dangerous	if (SymGetLineFromAddr64(proc, addr, &lineDisp, &line)) {
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'SymInitialize' may not be asynchronous-safe; calling it from a signal handler may be dangerous	SymInitialize(proc, NULL, TRUE);
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'SymSetOptions' may not be asynchronous-safe; calling it from a signal handler may be dangerous	SymSetOptions(SYMOPT_LOAD_LINES | SYMOPT_UNDNAME | SYMOPT_DEFERRED_LOADS);
port/src/common/crash_pc.c	bugprone-signal-handler	standard function '__acrt_iob_func' may not be asynchronous-safe; calling it from a signal handler may be dangerous	fflush(stdout);
port/src/common/crash_pc.c	bugprone-signal-handler	standard function '__builtin_va_end' may not be asynchronous-safe; calling it from a signal handler may be dangerous	va_end(ap);
port/src/common/crash_pc.c	bugprone-signal-handler	standard function '__builtin_va_start' may not be asynchronous-safe; calling it from a signal handler may be dangerous	va_start(ap, fmt);
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'fclose' may not be asynchronous-safe; calling it from a signal handler may be dangerous	fclose(sReport);
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'fflush' may not be asynchronous-safe; calling it from a signal handler may be dangerous	fflush(stdout);
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'fopen' may not be asynchronous-safe; calling it from a signal handler may be dangerous	sReport = fopen(sReportPath, "w");
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'fprintf' may not be asynchronous-safe; calling it from a signal handler may be dangerous	fprintf(sReport, "Paper Cut %s report\nversion: %s, built %s %s\ngame: %s\n%s%s%s%s%s%simage: %p\n", what,
port/src/common/crash_pc.c	bugprone-signal-handler	standard function 'vfprintf' may not be asynchronous-safe; calling it from a signal handler may be dangerous	vfprintf(stderr, fmt, ap);
port/src/common/crash_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	CreateThread(NULL, 0, watchdog, (void*)(intptr_t)atoi(wd), 0, NULL);
port/src/common/crash_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (wd != NULL && atoi(wd) > 0) {
port/src/common/dojo_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (sscanf(line, "%31s %d %d %d %d %d %f", key, &s.attempts, &s.hits, &s.measured, &s.early, &s.late,
port/src/common/duo_pc.c	analyzer:security.PointerSub	Subtraction of two pointers that do not point into the same array is undefined behavior	memset(&w->sleepChance, 0, (size_t)((u8*)&w->pad_AE - (u8*)&w->sleepChance));
port/src/common/enemy_variant_pc.c	analyzer:deadcode.DeadStores	Although the value stored to 'n' is used in the enclosing expression, the value is never actually read from 'n'	if (start == NULL || (n = portCode64Decode(start + sizeof(kPrefix) - 1, body, (int)sizeof(body))) <= 0) {
port/src/common/enemy_variant_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	case 'a': out->attack = clampi(atoi(num), -9, 20); break;
port/src/common/enemy_variant_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	case 'd': out->defense = clampi(atoi(num), -9, 20); break;
port/src/common/enemy_variant_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	case 'h': out->hpPercent = clampi(atoi(num), 10, 1000); break;
port/src/common/enemy_variant_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	case 'm': out->move = clampi(atoi(num), 0, PORT_VARIANT_MOVE_COUNT - 1); break;
port/src/common/enemy_variant_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	case 'p': out->hpAdd = clampi(atoi(num), -99, 999); break;
port/src/common/enemy_variant_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	case 's': out->sizePercent = clampi(atoi(num), 25, 300); break;
port/src/common/enemy_variant_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	case 'x': out->coins = clampi(atoi(num), 0, 99); break;
port/src/common/enemy_variant_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	out->baseKind = atoi(num);
port/src/common/gameplus2_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	i = atoi(line + 6);
port/src/common/gameplus2_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	i = atoi(line + 7);
port/src/common/gameplus_pc.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'saves'	from = &card->saves[portGameplus("new_game_plus_from") - 1];
port/src/common/gx_arrays_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sBlobCap = lim != NULL && atoi(lim) > 0 && atoi(lim) < PORT_GX_BLOB_REGISTRY ? (unsigned int)atoi(lim)	#3
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	len = (unsigned)atoi(p + n + 1);
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	met = portOnlineLobbyState() == atoi(w->name);
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	met = swByteGet(0) >= atoi(w->name);
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	met = w->frames == -5 ? (s32)seqGetSeq() == atoi(w->name)
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	pauseFor(atoi(s->name));
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	portMenuWheel(atoi(s->name)); /* as the wheel's notches, up > 0 */
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	pouchSetHP((s16)atoi(s->name)); /* e.g. 1, so the next hit ends in a Game Over */
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->frames = atoi(a1);	#2
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->frames = atoi(a2);
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->frames = atoi(a3);
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->stickX = (s8)atoi(a1);
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->stickY = (s8)atoi(a2);
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->waitMax = a1[0] ? atoi(a1) : 1200;
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->waitMax = a1[0] ? atoi(a1) : 900;
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->waitMax = a2[0] ? atoi(a2) : 1800;
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->waitMax = a2[0] ? atoi(a2) : 3600;	#3
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->waitMax = a3[0] ? atoi(a3) : 3600;	#2
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->waitMax = atoi(a1);
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->waitMax = atoi(a2) - 1;
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s->waitMax = strcmp(a1, "list") == 0 ? -1 : atoi(a1);
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sHapticsPress = h == NULL ? -1000 : strcmp(h, "last") == 0 ? 1000 : atoi(h);
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	startBattle(n != NULL && *n ? atoi(n) : -1);
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtof' instead	if (sscanf(s->name, "%f %f %f", &pos.x, &pos.y, &pos.z) != 3) {
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtof' instead	if (strncmp(what, "tap ", 4) == 0 && sscanf(what + 4, "%f %f", &x, &y) == 2) {
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtof' instead	sscanf(s->name, "%f %f", &nx, &ny);	#2
port/src/common/input_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an unsigned integer value, but function will not report conversion errors; consider using 'strtoul' instead	if (sscanf(p, "%63[^@]@%u%n", keys, &at, &n) != 2) {
port/src/common/livesplit_pc.c	bugprone-not-null-terminated-result	the result from calling 'memcpy' is not null-terminated	memcpy(sQueue + sQueued + n, "\r\n", 2);
port/src/common/livesplit_pc.c	bugprone-not-null-terminated-result	the result from calling 'memcpy' is not null-terminated	memcpy(sQueue + sQueued, command, n);
port/src/common/luigi_pc.c	analyzer:unix.cstring.NullArg	Null pointer passed as 2nd argument to string comparison function	if (sNpc[s].cur != model || strcmp(sNpc[s].anim, want) != 0) {
port/src/common/music_pc.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'buf'	out[0] = s->buf[s->at * 2];
port/src/common/online_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (!sDropped && at != NULL && sEpoch == 0 && sFrame == (unsigned)atoi(at)) {
port/src/common/online_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (!sNudged && at != NULL && sEpoch == 0 && !portOnlineIsHost() && sFrame == (unsigned)atoi(at)) {
port/src/common/online_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (!sStalled && at != NULL && sFrame == (unsigned)atoi(at)) {
port/src/common/online_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	portOnlineTestStall(ms != NULL ? atoi(ms + 1) : 3000);
port/src/common/online_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sEpoch = getenv("TTYD_ONLINE_RECOVERIES") != NULL ? (unsigned)atoi(getenv("TTYD_ONLINE_RECOVERIES")) : 0;
port/src/common/open_world_pc.c	analyzer:unix.cstring.NullArg	Null pointer passed as 2nd argument to memory copy function	memcpy(map, gp->currentMapName, sizeof(map));
port/src/common/open_world_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	gp->gsw[PORT_OPEN_GOAL] = (u8)atoi(v);
port/src/common/ospal_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	return atoi(v) != 0;
port/src/common/practice_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	story = atoi(word);
port/src/common/replay_pc.c	bugprone-suspicious-realloc-usage	'p' may be set to null if 'realloc' fails, which may result in a leak of the original buffer	p = realloc(p, *cap * size);
port/src/common/second_player_pc.c	analyzer:unix.cstring.NullArg	Null pointer passed as 2nd argument to string comparison function	if (strncmp(sCoop.map, gp->currentMapName, sizeof(sCoop.map)) != 0) {
port/src/common/settings_extra.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	e->value = atoi(over);
port/src/common/settings_extra.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	e->value = atoi(value);	#2
port/src/common/splits_lss_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (sscanf(line, "attempts %d", &at) == 1) {
port/src/common/splits_lss_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	} else if (sscanf(line, "seg %d %lf %lf %lf %lf %47[^\r\n]", &at, &a, &b, &c, &d, name) == 6 && at >= 0 &&
port/src/common/stats_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if (sscanf(line, "chapter %d %lld", &k, &value) == 2) {
port/src/common/stats_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	} else if (sscanf(line, "enemy %d %d", &k, &n) == 2) {
port/src/common/stats_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtoll' instead	} else if (sscanf(line, "%39s %lld", key, &value) == 2 && value >= 0) {
port/src/common/sticker_pc.c	analyzer:unix.Stream	File position of the stream might be 'indeterminate' after a failed operation. Can cause undefined behavior	if (n >= size && fgetc(f) != EOF) {
port/src/common/sticker_pc.c	analyzer:unix.Stream	Read function called when stream is in EOF state. Function has no effect	if (n >= size && fgetc(f) != EOF) {
port/src/common/sticker_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(line, "stick %15s %d %d %f %f %f %f", s.map, &kind, &id, &s.x, &s.y, &s.z, &s.yaw) == 7 &&
port/src/common/sticker_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	} else if (sscanf(line, "had %d", &id) == 1 && id >= 0 && id < BADGE_MAX) {
port/src/common/trace_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	const s32 other = atoi(more + 1);
port/src/common/trace_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	enabled = v == NULL ? 0 : atoi(v) > 1 ? 2 : 1;
port/src/common/trace_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	every = v != NULL && atoi(v) > 0 ? (u32)atoi(v) : 3000;	#2
port/src/common/trace_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	exitFrames = (u32)atoi(v);
port/src/common/trace_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if ((v = getenv("TTYD_EXIT_FRAMES")) && atoi(v) > 0) {
port/src/common/trace_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	if ((v = getenv("TTYD_WARP_LIMIT")) && atoi(v) > 0) {
port/src/common/trace_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	level = v ? atoi(v) : 0;
port/src/common/trace_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	limit = (u32)atoi(v);
port/src/common/trace_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	s32 party = v ? atoi(v) : 1;
port/src/common/trace_pc.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	swByteSet(0, v ? atoi(v) : 0);
port/src/headless/gx/gx_texture_pc.c	analyzer:core.BitwiseShift	Left shift by '4294967295' overflows the capacity of 'int'	nx = 1 << (31 - __cntlzw(width));
port/src/headless/gx/gx_texture_pc.c	analyzer:core.BitwiseShift	Left shift by '4294967295' overflows the capacity of 'int'	ny = 1 << (31 - __cntlzw(height));
port/src/headless/gx/gx_texture_pc.c	analyzer:deadcode.DeadStores	Value stored to 'nx' is never read	nx = 1 << (31 - __cntlzw(width));
port/src/headless/gx/gx_texture_pc.c	analyzer:deadcode.DeadStores	Value stored to 'ny' is never read	ny = 1 << (31 - __cntlzw(height));
rels/aji/src/aji_01.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();
rels/aji/src/aji_06.c	analyzer:security.FloatLoopCounter	Variable 'frame' with floating point type 'f32' should not be used as a loop counter	for (frame = yuka_anim.anim->frame; frame < 0.0f; frame += yuka_anim.anim->data->length) {
rels/aji/src/aji_06.c	bugprone-float-loop-counter	loop induction expression should not have floating-point type	for (frame = yuka_anim.anim->frame; frame < 0.0f; frame += yuka_anim.anim->data->length) {
rels/aji/src/aji_09.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();
rels/aji/src/aji_10.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();
rels/aji/src/aji_12.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf((const char*)hit_list[j], "A_hikaru_%02d", &n);	#3
rels/aji/src/aji_16.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();
rels/aji/src/aji_17.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();	#2
rels/aji/src/aji_17.c	analyzer:deadcode.DeadStores	Value stored to 'size' during its initialization is never read	f32 size = evtGetFloat(event, args[6]);
rels/aji/src/aji_17.c	analyzer:deadcode.DeadStores	Value stored to 'unk' during its initialization is never read	f32 unk = evtGetFloat(event, args[8]);
rels/aji/src/aji_17.c	analyzer:deadcode.DeadStores	Value stored to 'x' during its initialization is never read	f32 x = evtGetFloat(event, args[3]);
rels/aji/src/aji_17.c	analyzer:deadcode.DeadStores	Value stored to 'y' during its initialization is never read	f32 y = evtGetFloat(event, args[4]);
rels/aji/src/aji_17.c	analyzer:deadcode.DeadStores	Value stored to 'z' during its initialization is never read	f32 z = evtGetFloat(event, args[5]);
rels/aji/src/unit/unit_barriern.c	analyzer:deadcode.DeadStores	Value stored to 'num' during its initialization is never read	s32 num = evtGetValue(event, args[1]);
rels/aji/src/unit/unit_barriern.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'work'	unit->work[UW_BARRIERN_SATELLITE_SPLINE + n] = (EvtWord)sp;
rels/aji/src/unit/unit_barriern_custom.c	analyzer:deadcode.DeadStores	Value stored to 'num' during its initialization is never read	s32 num = evtGetValue(event, args[1]);
rels/aji/src/unit/unit_barriern_custom.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'work'	unit->work[UW_BARRIERN_CUSTOM_SPLINE_1 + n] = (EvtWord)sp;
rels/aji/src/unit/unit_barriern_z.c	analyzer:deadcode.DeadStores	Value stored to 'num' during its initialization is never read	s32 num = evtGetValue(event, args[1]);
rels/aji/src/unit/unit_barriern_z.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'work'	unit->work[UW_BARRIERN_Z_SPLINE_0 + n] = (EvtWord)sp;
rels/bom/src/bom_01.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'anims'	strcpy(wp->anims[wp->animCount].name, buf);
rels/bom/src/bom_01.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(name, "S_hikari%d", evtGetValue(event, args[0]));
rels/dmo/src/dmo_00.c	analyzer:deadcode.DeadStores	Value stored to 'cam' during its initialization is never read	CameraEntry* cam = camGetPtr(CAMERA_2D);
rels/dou/src/dou.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	b = 2.0f * ((frac2 * (k = 0.4f - 0.4f)) + 0.4f);
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	f32 hopAngle = wp->angle + ((frac1 * (k = 45.0f - -45.0f)) + -45.0f);
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	fleeAngle += ((s * (k = 45.0f - -45.0f)) + -45.0f);	#2
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	hopRad = (6.2831855f * ((s * (k = 225.0f - 135.0f)) + 135.0f)) / 360.0f;
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	hopSpeed = frac1 * (k = 1.0f - 1.0f) + 1.0f;
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	jumpSpeed = 2.0f * ((frac1 * (k = 1.0f - 1.0f)) + 1.0f);
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	rad = (6.2831855f * ((s * (k = 315.0f - 225.0f)) + 225.0f)) / 360.0f;
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	s = (frac1 * (k = 0.3f - 0.2f)) + 0.2f;
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	spd = (frac1 * (k = 6.0f - 5.0f)) + 5.0f;
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'span1' is used in the enclosing expression, the value is never actually read from 'span1'	moamoa_jump(pose, moa, moa->state, 1, hopX, hopY, hopZ, (frac1 * (span1 = 3.0f - 1.5f)) + 1.5f, (frac2 * (span2 = 2.0f - 0.8f)) + 0.8f);
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'span1' is used in the enclosing expression, the value is never actually read from 'span1'	moamoa_jump(pose, moa, moa->state, 1, rad, y, hopZ, (frac1 * (span1 = 0.5f - 0.3f)) + 0.3f, (frac2 * (span2 = 0.8f - 0.5f)) + 0.5f);
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'span1' is used in the enclosing expression, the value is never actually read from 'span1'	moamoa_jump(pose, moa, moa->state, 1, x, 0.0f, grav, 3.0f * ((frac1 * (span1 = 1.0f - 1.0f)) + 1.0f), (frac2 * (span2 = 1.0f - 1.0f)) + 1.0f);
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'span2' is used in the enclosing expression, the value is never actually read from 'span2'	moamoa_jump(pose, moa, moa->state, 1, hopX, hopY, hopZ, (frac1 * (span1 = 3.0f - 1.5f)) + 1.5f, (frac2 * (span2 = 2.0f - 0.8f)) + 0.8f);
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'span2' is used in the enclosing expression, the value is never actually read from 'span2'	moamoa_jump(pose, moa, moa->state, 1, rad, y, hopZ, (frac1 * (span1 = 0.5f - 0.3f)) + 0.3f, (frac2 * (span2 = 0.8f - 0.5f)) + 0.5f);
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Although the value stored to 'span2' is used in the enclosing expression, the value is never actually read from 'span2'	moamoa_jump(pose, moa, moa->state, 1, x, 0.0f, grav, 3.0f * ((frac1 * (span1 = 1.0f - 1.0f)) + 1.0f), (frac2 * (span2 = 1.0f - 1.0f)) + 1.0f);
rels/eki/src/eki_00.c	analyzer:deadcode.DeadStores	Value stored to 'cam' during its initialization is never read	CameraEntry* cam = camGetPtr(CAMERA_3D);
rels/eki/src/eki_00.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'defs'	strcpy(wp->defs[wp->numDefs].model, model);
rels/eki/src/eki_00.c	misc-redundant-expression	both sides of operator are equivalent	b = 2.0f * ((frac2 * (k = 0.4f - 0.4f)) + 0.4f);
rels/eki/src/eki_00.c	misc-redundant-expression	both sides of operator are equivalent	hopSpeed = frac1 * (k = 1.0f - 1.0f) + 1.0f;
rels/eki/src/eki_00.c	misc-redundant-expression	both sides of operator are equivalent	jumpSpeed = 2.0f * ((frac1 * (k = 1.0f - 1.0f)) + 1.0f);
rels/eki/src/eki_00.c	misc-redundant-expression	both sides of operator are equivalent	k = 1.0f - 1.0f;
rels/eki/src/eki_00.c	misc-redundant-expression	both sides of operator are equivalent	moamoa_jump(pose, moa, moa->state, 1, x, 0.0f, grav, 3.0f * ((frac1 * (span1 = 1.0f - 1.0f)) + 1.0f), (frac2 * (span2 = 1.0f - 1.0f)) + 1.0f);	#2
rels/end/src/end_00.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	wx = x;
rels/end/src/end_00.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	wx2 = x;
rels/gor/src/event/evt_yuuranking.c	analyzer:core.CallAndMessage	1st function call argument is an uninitialized value	windowDispGX_Waku_col(0, (GXColor){0x2B, 0xA3, 0xFF, 0xFF}, wp->x + -(scale * FontGetMessageWidth(title) + 50.0f) / 2.0f, scale + (128.0f + wp->y), scale * FontGetMessageWidth(title) + 50.0f, 28.0f, 8.0f);
rels/gor/src/event/evt_yuuranking.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the string literal	if ((s32)rk[0] == 'm' && (s32)rk[1] == 'e' && (s32)rk[2] == 'n' && (s32)rk[3] == 'u' && (s32)rk[4] == '_') {
rels/gor/src/event/evt_yuuranking.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(buf, msgSearch("menu_error_minigame1"));
rels/gor/src/event/evt_yuuranking.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(buf, msgSearch("menu_error_minigame2"));	#2
rels/gor/src/event/evt_yuuranking.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(buf, msgSearch("menu_error_minigame3"));	#2
rels/gor/src/event/evt_yuuranking.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(buf, msgSearch("menu_error_minigame4"));
rels/gor/src/gor_00.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '*' is a garbage value	return start + cur * (end - start) / sum;	#2
rels/gor/src/gor_00.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();	#2
rels/hei/src/hei_00.c	analyzer:deadcode.DeadStores	Value stored to 'camera' during its initialization is never read	CameraEntry* camera = camGetPtr(CAMERA_3D);	#2
rels/hei/src/hei_00.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();
rels/hei/src/hei_10.c	analyzer:deadcode.DeadStores	Value stored to 'angle' is never read	angle = angleABf((*pose->mtx)[0][3], (*pose->mtx)[2][3], chb->target.x, chb->target.z);
rels/hei/src/hei_10.c	analyzer:deadcode.DeadStores	Value stored to 'pose' during its initialization is never read	ExtdrvPose* pose = extGetPosePtr();	#2
rels/hei/src/hei_10.c	warn:-Wself-assign	explicitly assigning value of variable of type 'f32' (aka 'float') to itself	a = a;	#8
rels/jin/src/unit/unit_atmic_teresa.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '+' is a garbage value	t->target.x = (hx + ofs[i][0]) - 200.0f;	#2
rels/jin/src/unit/unit_atmic_teresa.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '-' is a garbage value	(*pose->mtx)[0][3] = x - 15.0f;
rels/jin/src/unit/unit_atmic_teresa.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '-' is a garbage value	t->target.x = (x - 35.0f) + irand(90);	#2
rels/jin/src/unit/unit_atmic_teresa.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	(*pose->mtx)[0][3] = x;
rels/jin/src/unit/unit_faker_mario.c	analyzer:core.NullDereference	Access to field 'size' results in a dereference of an undefined pointer value (loaded from variable 'p')	p->size = party->sizeMultiplier;
rels/jin/src/unit/unit_faker_mario.c	analyzer:core.NullDereference	Access to field 'size' results in a dereference of an undefined pointer value (loaded from variable 'p')	party->sizeMultiplier = p->size;
rels/jon/src/unit/unit_burst_wanwan.c	analyzer:deadcode.DeadStores	Value stored to 'part' is never read	part = BtlUnit_GetPartsPtr(unit, 1);
rels/jon/src/unit/unit_mahorn.c	analyzer:deadcode.DeadStores	Value stored to 'b' during its initialization is never read	f32 b = evtGetFloat(event, args[2]);
rels/jon/src/unit/unit_mahorn.c	analyzer:deadcode.DeadStores	Value stored to 'c' during its initialization is never read	f32 c = evtGetFloat(event, args[3]);
rels/jon/src/unit/unit_mahorn_custom.c	analyzer:deadcode.DeadStores	Value stored to 'b' during its initialization is never read	f32 b = evtGetFloat(event, args[2]);
rels/jon/src/unit/unit_mahorn_custom.c	analyzer:deadcode.DeadStores	Value stored to 'c' during its initialization is never read	f32 c = evtGetFloat(event, args[3]);
rels/jon/src/unit/unit_super_mahorn.c	analyzer:deadcode.DeadStores	Value stored to 'b' during its initialization is never read	f32 b = evtGetFloat(event, args[2]);
rels/jon/src/unit/unit_super_mahorn.c	analyzer:deadcode.DeadStores	Value stored to 'c' during its initialization is never read	f32 c = evtGetFloat(event, args[3]);
rels/jon/src/unit/unit_wanwan.c	analyzer:deadcode.DeadStores	Value stored to 'part' is never read	part = BtlUnit_GetPartsPtr(unit, 1);
rels/kpa/src/kpa_01.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(name, "hi_%d", evtGetValue(event, args[0]));
rels/las/src/las_00.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(name, "S_shan_rou_0%d", evtGetValue(event, args[0]));
rels/las/src/las_05.c	analyzer:deadcode.DeadStores	Value stored to 'dist' is never read	dist = sqrtf(diff.x * diff.x + diff.z * diff.z);
rels/las/src/las_05.c	warn:-Wsometimes-uninitialized	variable 'result' is used uninitialized whenever 'if' condition is false	} else if (curDiff < nextDiff) {
rels/las/src/las_29.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(name, "mist%d", evtGetValue(event, args[0]));
rels/las/src/unit/unit_boss_batten_leader.c	analyzer:deadcode.DeadStores	Value stored to 'num' during its initialization is never read	s32 num = evtGetValue(event, args[1]);
rels/las/src/unit/unit_boss_batten_leader.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'work'	sp = (SatelliteSpline*)unit->work[UW_BOSS_BATTEN_LEADER_SATELLITE_SPLINE + n];
rels/las/src/unit/unit_boss_batten_leader.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'work'	unit->work[UW_BOSS_BATTEN_LEADER_SATELLITE_SPLINE + n] = (EvtWord)sp;
rels/las/src/unit/unit_boss_black_peach.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'anim'	strcpy(hand_wp->anim[hand_wp->animNum].name, name);
rels/las/src/unit/unit_super_mahorn.c	analyzer:deadcode.DeadStores	Value stored to 'b' during its initialization is never read	f32 b = evtGetFloat(event, args[2]);
rels/las/src/unit/unit_super_mahorn.c	analyzer:deadcode.DeadStores	Value stored to 'c' during its initialization is never read	f32 c = evtGetFloat(event, args[3]);
rels/las/src/unit/unit_wanwan.c	analyzer:deadcode.DeadStores	Value stored to 'part' is never read	part = BtlUnit_GetPartsPtr(unit, 1);
rels/moo/src/unit/unit_barriern_z.c	analyzer:deadcode.DeadStores	Value stored to 'num' during its initialization is never read	s32 num = evtGetValue(event, args[1]);
rels/moo/src/unit/unit_barriern_z.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'work'	unit->work[UW_BARRIERN_Z_SPLINE_0 + n] = (EvtWord)sp;
rels/mri/src/mri_01.c	analyzer:deadcode.DeadStores	Value stored to 'batu' during its initialization is never read	NpcEntry* batu = npcNameToPtr("ボスロボットバツ");
rels/mri/src/mri_puni.c	analyzer:core.CallAndMessage	1st function call argument is an uninitialized value	info = puniMapGetInfo(bx, bz);
rels/mri/src/mri_puni.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	evtSetFloat(event, px, rx);
rels/mri/src/mri_puni.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '*' is a garbage value	c = Punimap->data[bz * Punimap->width + bx];
rels/mri/src/mri_puni.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '*' is a garbage value	idx = bx + Punimap->width * bz;
rels/mri/src/mri_puni.c	analyzer:deadcode.DeadStores	Value stored to 'r' is never read	r = (f32)t / (f32)frames;
rels/mri/src/mri_puni.c	analyzer:deadcode.DeadStores	Value stored to 'texbuf' during its initialization is never read	PuniTexInfo* texbuf = Punitex;
rels/mri/src/mri_puni.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'stuckTop0'	lo = r[1];
rels/mri/src/unit/unit_barriern.c	analyzer:deadcode.DeadStores	Value stored to 'num' during its initialization is never read	s32 num = evtGetValue(event, args[1]);
rels/mri/src/unit/unit_barriern.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'work'	unit->work[UW_BARRIERN_SATELLITE_SPLINE + n] = (EvtWord)sp;
rels/muj/src/muj.c	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	frame = sysMsec2FrameFloat(elapsed) + 0.5f;
rels/muj/src/muj_02.c	warn:-Wformat-extra-args	data argument not used by format string	sprintf(buf, "\x82\xA9\x82\xA2", n);
rels/muj/src/muj_12.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '*' is a garbage value	return start + cur * (end - start) / sum;
rels/rsh/src/rsh.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	evtSetValue(event, args[2], index);
rels/rsh/src/rsh.c	analyzer:core.NullDereference	Array access (from variable 'list') results in an undefined pointer dereference	sprintf(buf, "%s%d(%s, %s)\n", header, group, list[index], (const char*)evtGetValue(event, args[3]));
rels/rsh/src/rsh.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '==' is a garbage value	if (x0 == 0x3FF || y0 == 0x3FF || x1 == 0x3FF || y1 == 0x3FF) {
rels/rsh/src/rsh.c	warn:-Wsometimes-uninitialized	variable 'x0' is used uninitialized whenever 'while' loop exits because its condition is false	while ((p = p->parent) != NULL) {
rels/rsh/src/rsh_00.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'defs'	strcpy(wp->defs[wp->numDefs].model, model);
rels/rsh/src/rsh_04.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	b = 2.0f * ((rand2 * (k = 0.4f - 0.4f)) + 0.4f);
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	f32 hopAngle = wp->angle + ((rand1 * (k = 45.0f - -45.0f)) + -45.0f);
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	hopAngle += ((s * (k = 45.0f - -45.0f)) + -45.0f);	#2
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	hopAngle += ((tz * (k = 45.0f - -45.0f)) + -45.0f);
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	hopRad = (6.2831855f * ((s * (k = 225.0f - 135.0f)) + 135.0f)) / 360.0f;
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	hopSpeed = rand1 * (k = 1.0f - 1.0f) + 1.0f;
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	jumpSpeed = 2.0f * ((rand1 * (k = 1.0f - 1.0f)) + 1.0f);
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	rad = (6.2831855f * ((s * (k = 315.0f - 225.0f)) + 225.0f)) / 360.0f;
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	s = (rand1 * (k = 0.3f - 0.2f)) + 0.2f;
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	spd = (rand1 * (k = 6.0f - 5.0f)) + 5.0f;
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k1' is used in the enclosing expression, the value is never actually read from 'k1'	moamoa_jump(pose, moa, moa->state, 1, dist, x, angle, 3.0f * ((rand1 * (k1 = 1.0f - 1.0f)) + 1.0f), (rand2 * (k2 = 1.0f - 1.0f)) + 1.0f);
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k1' is used in the enclosing expression, the value is never actually read from 'k1'	moamoa_jump(pose, moa, moa->state, 1, hopX, hopY, hopZ, (rand1 * (k1 = 3.0f - 1.5f)) + 1.5f, (rand2 * (k2 = 2.0f - 0.8f)) + 0.8f);
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k1' is used in the enclosing expression, the value is never actually read from 'k1'	moamoa_jump(pose, moa, moa->state, 1, rad, y, hopZ, (rand1 * (k1 = 0.5f - 0.3f)) + 0.3f, (rand2 * (k2 = 0.8f - 0.5f)) + 0.5f);
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k1' is used in the enclosing expression, the value is never actually read from 'k1'	moamoa_jump(pose, moa, moa->state, 1, x, y, grav, 3.0f * ((rand1 * (k1 = 1.0f - 1.0f)) + 1.0f), (rand2 * (k2 = 1.0f - 1.0f)) + 1.0f);
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k2' is used in the enclosing expression, the value is never actually read from 'k2'	moamoa_jump(pose, moa, moa->state, 1, dist, x, angle, 3.0f * ((rand1 * (k1 = 1.0f - 1.0f)) + 1.0f), (rand2 * (k2 = 1.0f - 1.0f)) + 1.0f);
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k2' is used in the enclosing expression, the value is never actually read from 'k2'	moamoa_jump(pose, moa, moa->state, 1, hopX, hopY, hopZ, (rand1 * (k1 = 3.0f - 1.5f)) + 1.5f, (rand2 * (k2 = 2.0f - 0.8f)) + 0.8f);
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k2' is used in the enclosing expression, the value is never actually read from 'k2'	moamoa_jump(pose, moa, moa->state, 1, rad, y, hopZ, (rand1 * (k1 = 0.5f - 0.3f)) + 0.3f, (rand2 * (k2 = 0.8f - 0.5f)) + 0.5f);
rels/rsh/src/rsh_05.c	analyzer:deadcode.DeadStores	Although the value stored to 'k2' is used in the enclosing expression, the value is never actually read from 'k2'	moamoa_jump(pose, moa, moa->state, 1, x, y, grav, 3.0f * ((rand1 * (k1 = 1.0f - 1.0f)) + 1.0f), (rand2 * (k2 = 1.0f - 1.0f)) + 1.0f);
rels/rsh/src/rsh_05.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'defs'	strcpy(wp->defs[wp->numDefs].model, model);
rels/rsh/src/rsh_05.c	misc-redundant-expression	both sides of operator are equivalent	b = 2.0f * ((rand2 * (k = 0.4f - 0.4f)) + 0.4f);
rels/rsh/src/rsh_05.c	misc-redundant-expression	both sides of operator are equivalent	hopSpeed = rand1 * (k = 1.0f - 1.0f) + 1.0f;
rels/rsh/src/rsh_05.c	misc-redundant-expression	both sides of operator are equivalent	jumpSpeed = 2.0f * ((rand1 * (k = 1.0f - 1.0f)) + 1.0f);
rels/rsh/src/rsh_05.c	misc-redundant-expression	both sides of operator are equivalent	k = 1.0f - 1.0f;
rels/rsh/src/rsh_05.c	misc-redundant-expression	both sides of operator are equivalent	moamoa_jump(pose, moa, moa->state, 1, dist, x, angle, 3.0f * ((rand1 * (k1 = 1.0f - 1.0f)) + 1.0f), (rand2 * (k2 = 1.0f - 1.0f)) + 1.0f);	#2
rels/rsh/src/rsh_05.c	misc-redundant-expression	both sides of operator are equivalent	moamoa_jump(pose, moa, moa->state, 1, x, y, grav, 3.0f * ((rand1 * (k1 = 1.0f - 1.0f)) + 1.0f), (rand2 * (k2 = 1.0f - 1.0f)) + 1.0f);	#2
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'aa' is used in the enclosing expression, the value is never actually read from 'aa'	moamoa_jump(pose, m, m->state, 0, x1, 215.0f, dist, 2.0f * (aa = (s * (k1 = 1.0f - 1.0f)) + 1.0f), 2.0f * ((rand2 * (k2 = 0.4f - 0.4f)) + 0.4f));
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	b = 2.0f * ((rand2 * (k = 0.4f - 0.4f)) + 0.4f);
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	f32 hopAngle = wp->angle + ((rand1 * (k = 45.0f - -45.0f)) + -45.0f);
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	hopAngle += ((s * (k = 45.0f - -45.0f)) + -45.0f);
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	hopRad = (6.2831855f * ((s * (k = 225.0f - 135.0f)) + 135.0f)) / 360.0f;
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	rad = (6.2831855f * ((s * (k = 315.0f - 225.0f)) + 225.0f)) / 360.0f;
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'k1' is used in the enclosing expression, the value is never actually read from 'k1'	moamoa_jump(pose, m, 61, 0, jv.x, jv.y, jv.z, 2.0f * ((d * (k1 = 1.5f - 1.5f)) + 1.5f), 2.0f * ((rand2 * (k2 = 0.8f - 0.8f)) + 0.8f));
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'k1' is used in the enclosing expression, the value is never actually read from 'k1'	moamoa_jump(pose, m, m->state, 0, x0, 215.0f, z0, (rand1 * (k1 = 0.5f - 0.3f)) + 0.3f, (rand2 * (k2 = 0.8f - 0.5f)) + 0.5f);
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'k1' is used in the enclosing expression, the value is never actually read from 'k1'	moamoa_jump(pose, m, m->state, 0, x1, 215.0f, dist, 2.0f * (aa = (s * (k1 = 1.0f - 1.0f)) + 1.0f), 2.0f * ((rand2 * (k2 = 0.4f - 0.4f)) + 0.4f));
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'k2' is used in the enclosing expression, the value is never actually read from 'k2'	moamoa_jump(pose, m, 61, 0, jv.x, jv.y, jv.z, 2.0f * ((d * (k1 = 1.5f - 1.5f)) + 1.5f), 2.0f * ((rand2 * (k2 = 0.8f - 0.8f)) + 0.8f));
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'k2' is used in the enclosing expression, the value is never actually read from 'k2'	moamoa_jump(pose, m, m->state, 0, x0, 215.0f, z0, (rand1 * (k1 = 0.5f - 0.3f)) + 0.3f, (rand2 * (k2 = 0.8f - 0.5f)) + 0.5f);
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'k2' is used in the enclosing expression, the value is never actually read from 'k2'	moamoa_jump(pose, m, m->state, 0, x1, 215.0f, dist, 2.0f * (aa = (s * (k1 = 1.0f - 1.0f)) + 1.0f), 2.0f * ((rand2 * (k2 = 0.4f - 0.4f)) + 0.4f));
rels/rsh/src/rsh_06.c	analyzer:deadcode.DeadStores	Although the value stored to 'mn' is used in the enclosing expression, the value is never actually read from 'mn'	rr = (6.2831855f * ((rnd * mmI(360.0f - 0.0f)) + (mn = 0.0f))) / 360.0f; // FAKE: hand-inlined randf(0.0f, 360.0f) (same rand() call, rnd*360+0) with the 6.28 factor first, so its pool address is created before 360/0 as in the target
rels/rsh/src/rsh_06.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'defs'	strcpy(wp->defs[wp->numDefs].model, model);
rels/rsh/src/rsh_06.c	misc-redundant-expression	both sides of operator are equivalent	b = 2.0f * ((rand2 * (k = 0.4f - 0.4f)) + 0.4f);
rels/rsh/src/rsh_06.c	misc-redundant-expression	both sides of operator are equivalent	hopSpeed = rand1 * mmI(1.0f - 1.0f) + 1.0f;
rels/rsh/src/rsh_06.c	misc-redundant-expression	both sides of operator are equivalent	jumpSpeed = 2.0f * ((rand1 * mmI(1.0f - 1.0f)) + 1.0f);
rels/rsh/src/rsh_06.c	misc-redundant-expression	both sides of operator are equivalent	k = 1.0f - 1.0f;
rels/rsh/src/rsh_06.c	misc-redundant-expression	both sides of operator are equivalent	moamoa_jump(pose, m, 61, 0, jv.x, jv.y, jv.z, 2.0f * ((d * (k1 = 1.5f - 1.5f)) + 1.5f), 2.0f * ((rand2 * (k2 = 0.8f - 0.8f)) + 0.8f));	#2
rels/rsh/src/rsh_06.c	misc-redundant-expression	both sides of operator are equivalent	moamoa_jump(pose, m, m->state, 0, x1, 215.0f, dist, 2.0f * (aa = (s * (k1 = 1.0f - 1.0f)) + 1.0f), 2.0f * ((rand2 * (k2 = 0.4f - 0.4f)) + 0.4f));	#2
rels/rsh/src/unit/unit_boss_moamoa.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'groups'	strcpy(wp->groups[wp->numGroups].anim, anim);
rels/tik/src/tik_00.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	sprintf(uranaisi_msgp, buf, ofs[0], uranaisi_ryokin_rtn(0), ofs[1], uranaisi_ryokin_rtn(1), ofs[2], uranaisi_ryokin_rtn(2));
rels/tik/src/tik_00.c	analyzer:core.CallAndMessage	5th function call argument is an uninitialized value	sprintf(uranaisi_msgp, buf, ofs[0], uranaisi_ryokin_rtn(0), ofs[1], uranaisi_ryokin_rtn(1), ofs[2], uranaisi_ryokin_rtn(2));
rels/tik/src/tik_00.c	analyzer:deadcode.DeadStores	Value stored to 'cam' during its initialization is never read	CameraEntry* cam = camGetPtr(CAMERA_3D);
rels/tik/src/tik_00.c	analyzer:deadcode.DeadStores	Value stored to 'h' during its initialization is never read	s32 h = evtGetValue(event, args[3]);
rels/tik/src/tik_00.c	analyzer:deadcode.DeadStores	Value stored to 'w' during its initialization is never read	s32 w = evtGetValue(event, args[2]);
rels/tik/src/tik_00.c	analyzer:deadcode.DeadStores	Value stored to 'y' during its initialization is never read	s32 y = evtGetValue(event, args[1]);
rels/tik/src/tik_05.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '*' is a garbage value	evtSetFloat(event, args[3], start + cur * (end - start) / total);
rels/tik/src/tik_05.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '*' is a garbage value	PSMTXRotRad(rot, 'z', 0.017453292f * rz);
rels/tou/src/tou.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	evtSetValue(event, args[0], list[1]);
rels/tou/src/tou_02.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	angle = (6.2831855f * ((r * (k = 225.0f - 135.0f)) + (mn = 135.0f))) / 360.0f;
rels/tou/src/tou_02.c	analyzer:deadcode.DeadStores	Although the value stored to 'mn' is used in the enclosing expression, the value is never actually read from 'mn'	angle = (6.2831855f * ((r * (k = 225.0f - 135.0f)) + (mn = 135.0f))) / 360.0f;
rels/tou/src/tou_02.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'anim'	strcpy(fan_wp->anim[fan_wp->animNum].name, name);
rels/tou/src/tou_06.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(name, "pants%02d", evtGetValue(event, args[0]));
rels/tou2/src/tou2.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	evtSetValue(event, args[0], list[1]);
rels/tou2/src/tou_03.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'anim'	strcpy(kyaku_wp->anim[kyaku_wp->animNum].name, name);
rels/tou2/src/unit/unit_burst_wanwan.c	analyzer:deadcode.DeadStores	Value stored to 'part' is never read	part = BtlUnit_GetPartsPtr(unit, 1);
rels/yuu/src/event/evt_yuucounter.c	analyzer:core.CallAndMessage	2nd function call argument is an uninitialized value	PSMTXScale(scaleMtx, scale, 1.0f, 1.0f);
rels/yuu/src/event/evt_yuunpc.c	analyzer:core.uninitialized.Assign	The left expression of the compound assignment uses uninitialized memory	d -= 17.0f;
rels/yuu/src/event/evt_yuunpc.c	analyzer:deadcode.DeadStores	Although the value stored to 'y' is used in the enclosing expression, the value is never actually read from 'y'	(*ext->mtx)[1][3] = (y += -1000.0f);	#2
rels/yuu/src/event/evt_yuunpc.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'pose'	YuuNpcPose* pose = &yuunpc_wp->pose[id];
rels/yuu/src/event/evt_yuunpc.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'pose'	strcpy(yuunpc_wp->pose[yuunpc_wp->numPoses].name, name);
rels/yuu/src/event/evt_yuuranking.c	analyzer:core.CallAndMessage	1st function call argument is an uninitialized value	windowDispGX_Waku_col(0, (GXColor){0x2B, 0xA3, 0xFF, 0xFF}, wp->x + -(scale * FontGetMessageWidth(title) + 50.0f) / 2.0f, scale + (128.0f + wp->y), scale * FontGetMessageWidth(title) + 50.0f, 28.0f, 8.0f);
rels/yuu/src/event/evt_yuuranking.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the string literal	if ((s32)rk[0] == 'm' && (s32)rk[1] == 'e' && (s32)rk[2] == 'n' && (s32)rk[3] == 'u' && (s32)rk[4] == '_') {
rels/yuu/src/event/evt_yuuranking.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(buf, msgSearch("menu_error_minigame1"));
rels/yuu/src/event/evt_yuuranking.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(buf, msgSearch("menu_error_minigame2"));	#2
rels/yuu/src/event/evt_yuuranking.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(buf, msgSearch("menu_error_minigame3"));	#2
rels/yuu/src/event/evt_yuuranking.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(buf, msgSearch("menu_error_minigame4"));
rels/yuu/src/yuu_00.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'icon'	PSVECSubtract(&sub->position, &(sub - (j + 1))->position, &v);
rels/yuu/src/yuu_01.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'icon'	PSVECSubtract(&sub->position, &(sub - (j + 1))->position, &v);
rels/yuu/src/yuu_02.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();
rels/yuu/src/yuu_02.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'icon'	b = (sub - (j + 1))->position;
rels/yuu/src/yuu_03.c	analyzer:core.CallAndMessage	Passed-by-value struct argument contains uninitialized data (e.g., field: 'r')	GXSetTevColor(GX_TEVREG0, (GXColor){amp, g, b, p->alpha});
src/battle/ac/ac_air_gauge.c	analyzer:security.ArrayBound	Out of bound access to memory preceding '_table_0'	base -= intplGetValue(0, t[-1].value, t->value, pw->hold - t[-1].frame, t->frame - t[-1].frame);
src/battle/ac/ac_air_gauge.c	analyzer:security.ArrayBound	Out of bound access to memory preceding '_table_1'	base -= intplGetValue(0, t[-1].value, t->value, pw->hold - t[-1].frame, t->frame - t[-1].frame);
src/battle/ac/ac_air_gauge.c	analyzer:security.ArrayBound	Out of bound access to memory preceding '_table_2'	base -= intplGetValue(0, t[-1].value, t->value, pw->hold - t[-1].frame, t->frame - t[-1].frame);
src/battle/ac/ac_air_gauge.c	analyzer:security.ArrayBound	Out of bound access to memory preceding '_table_3'	base -= intplGetValue(0, t[-1].value, t->value, pw->hold - t[-1].frame, t->frame - t[-1].frame);
src/battle/ac/ac_air_gauge.c	analyzer:security.ArrayBound	Out of bound access to memory preceding '_table_4'	base -= intplGetValue(0, t[-1].value, t->value, pw->hold - t[-1].frame, t->frame - t[-1].frame);
src/battle/ac/ac_air_gauge.c	analyzer:security.ArrayBound	Out of bound access to memory preceding '_table_5'	base -= intplGetValue(0, t[-1].value, t->value, pw->hold - t[-1].frame, t->frame - t[-1].frame);
src/battle/ac/ac_air_gauge.c	analyzer:security.ArrayBound	Out of bound access to memory preceding '_table_6'	base -= intplGetValue(0, t[-1].value, t->value, pw->hold - t[-1].frame, t->frame - t[-1].frame);
src/battle/ac/ac_button_down.c	analyzer:core.CallAndMessage	2nd function call argument is an uninitialized value	PCCALL(((IconDispGxS32S32Fn)iconDispGx)(&pos4, size, a, 1.0f), iconDispGx(&pos4, size, a, 1.0f));
src/battle/ac/ac_button_down.c	analyzer:core.CallAndMessage	2nd function call argument is an uninitialized value	PCCALL(((IconDispGxS32S32Fn)iconDispGx)(&pos5, size, b, 1.0f), iconDispGx(&pos5, size, b, 1.0f));
src/battle/ac/ac_gauge_timing.c	misc-redundant-expression	both sides of operator are equivalent	if ((GAC(work)->opts & 2) || (GAC(work)->opts & 2)) {
src/battle/ac/ac_gauge_timing.c	misc-redundant-expression	both sides of operator are equivalent	} else if ((GAC(work)->opts & 2) || (GAC(work)->opts & 2)) {
src/battle/ac/ac_gauge_timing2.c	analyzer:deadcode.DeadStores	Value stored to 'd0' is never read	d0 = (Vec){0.0f, 0.0f, 0.0f};
src/battle/ac/ac_gauge_timing2.c	analyzer:deadcode.DeadStores	Value stored to 'd1' is never read	d1 = (Vec){0.0f, 0.0f, 0.0f};
src/battle/ac/ac_pendulum_crane_timing.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'triggerLeft'	if (stick[PEND_TRIG_R] > 10 && stick[PEND_TRIG_L] < 10) {
src/battle/ac/ac_power_gauge.c	analyzer:core.uninitialized.Branch	Branch condition evaluates to a garbage value	if ((u16)c) {	#5
src/battle/ac/ac_signal_timing.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'actionCommands'	count = ST_COUNT(work);
src/battle/ac/ac_signal_timing.c	misc-redundant-expression	'true' and 'false' expressions are equivalent	PSMTXTrans(mTrans, fx + (f32)((ST_FLAGS(work) & SIGNAL_TIMING_SHOW_BUTTONS) ? count * 0x30 - 26 + ST_LEAD(work) * 32 : count * 0x30 - 26 + ST_LEAD(work) * 32), yb, 0.0f);
src/battle/battle_acrobat.c	analyzer:deadcode.DeadStores	Value stored to 'manager' is never read	manager = &work->actionCommands;
src/battle/battle_audience.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '==' is a garbage value	if (flip == 1)
src/battle/battle_audience.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '==' is a garbage value	if (good == 1) {
src/battle/battle_audience.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '>' is a garbage value	if (subtract > 0.0f) {
src/battle/battle_audience.c	analyzer:core.uninitialized.Assign	The left expression of the compound assignment uses uninitialized memory	flip ^= 1;
src/battle/battle_audience.c	analyzer:deadcode.DeadStores	Value stored to 'audience' during its initialization is never read	BattleAudience* audience = BattleAudienceBaseGetPtr();	#3
src/battle/battle_audience.c	analyzer:deadcode.DeadStores	Value stored to 'member' during its initialization is never read	BattleAudienceMember* member = BattleAudienceGetPtr(index);
src/battle/battle_audience.c	analyzer:deadcode.DeadStores	Value stored to 'star' is never read	star = base->starpower;
src/battle/battle_audience_kinopio.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '*' is a garbage value	if ((f32)m->timer >= 22.0f * scale) {
src/battle/battle_audience_kinopio.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '*' is a garbage value	if ((f32)m->timer >= 32.0f * scale) {
src/battle/battle_audience_kinopio.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '*' is a garbage value	if ((f32)m->timer >= 36.0f * scale) {
src/battle/battle_audience_kinopio.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '*' is a garbage value	if ((f32)m->timer >= 64.0f * scale) {
src/battle/battle_audience_kinopio.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '*' is a garbage value	} else if ((f32)m->timer <= 8.0f * scale + 188.0f) {
src/battle/battle_audience_kinopio.c	analyzer:deadcode.DeadStores	Value stored to 'base' is never read	base = BattleAudienceBaseGetPtr();
src/battle/battle_break_slot.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '==' is a garbage value	if (slot->phaseTimer == count + 100 && k == 200) {
src/battle/battle_break_slot.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	BattleUnit* mario = BattleGetMarioPtr(wp);
src/battle/battle_break_slot.c	analyzer:deadcode.DeadStores	Value stored to 'party' during its initialization is never read	BattleUnit* party = BattleGetPartyPtr(wp);
src/battle/battle_damage.c	analyzer:core.NullDereference	Access to field 'attributes' results in a dereference of a null pointer (loaded from variable 'part')	if ((weapon->special & SPECIAL_FLIPS_BOMB_FLIPPABLE) && (part->attributes & PART_ATTR_BOMB_FLIPPABLE)) {
src/battle/battle_damage.c	analyzer:core.NullDereference	Access to field 'attributes' results in a dereference of a null pointer (loaded from variable 'part')	if ((weapon->special & SPECIAL_FLIPS_SHELLED) && (part->attributes & PART_ATTR_SHELLED)) {
src/battle/battle_damage.c	analyzer:core.NullDereference	Access to field 'attributes' results in a dereference of a null pointer (loaded from variable 'part')	if ((weapon->special & SPECIAL_GROUNDS_WINGED) && (part->attributes & PART_ATTR_WINGED)) {
src/battle/battle_damage.c	analyzer:core.NullDereference	Access to field 'attributes' results in a dereference of a null pointer (loaded from variable 'part')	if (part->attributes & PART_ATTR_IMMUNE_TO_DAMAGE_OR_STATUS) {
src/battle/battle_damage.c	analyzer:core.NullDereference	Access to field 'counterAttributes' results in a dereference of a null pointer (loaded from variable 'part')	if ((part->counterAttributes & COUNTER_ATTR_TOP_SPIKY) && !attacker->badgesEquipped.SpikeShield && !(weapon->counterResistFlags & COUNTER_RESIST_TOP_SPIKY)) {
src/battle/battle_damage.c	analyzer:core.NullDereference	Access to field 'counterAttributes' results in a dereference of a null pointer (loaded from variable 'part')	if (part->counterAttributes & COUNTER_ATTR_VOLATILE_EXPLOSIVE) {
src/battle/battle_damage.c	analyzer:core.NullDereference	Access to field 'superguardedCount' results in a dereference of a null pointer (loaded from variable 'attacker')	if ((damage -= attacker->superguardedCount) <= 0) {
src/battle/battle_damage.c	analyzer:core.NullDereference	Access to field 'tokenFlags' results in a dereference of a null pointer (loaded from variable 'attacker')	attacker->tokenFlags |= TOKEN_FLAG_CHARGE_EXPENDED;
src/battle/battle_damage.c	analyzer:core.NullDereference	Dereference of null pointer	damage += attacker->badgesEquipped.PowerPlus;
src/battle/battle_disp.c	analyzer:deadcode.DeadStores	Value stored to 'height' is never read	height = BtlUnit_GetHeight(unit);
src/battle/battle_event_cmd.c	analyzer:deadcode.DeadStores	Value stored to 'id' is never read	id = BattleTransID(event, id);
src/battle/battle_event_cmd.c	analyzer:deadcode.DeadStores	Value stored to 'index' during its initialization is never read	s32 index = args[0];
src/battle/battle_event_cmd.c	analyzer:deadcode.DeadStores	Value stored to 'unit' is never read	unit = BattleGetUnitPtr(_battleWorkPointer, id); // unused variable	#2
src/battle/battle_event_cmd.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'marioAcSuccess'	if (ac[1] < 200) {
src/battle/battle_event_cmd.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'stylishCommandMultiplier'	aud[3] = (u8)((BattleWeapon*)res)->reserved_1B;
src/battle/battle_event_cmd.c	misc-redundant-expression	both sides of operator are equivalent	unit->moveSpeedY = -(unit->jumpBaseY - unit->jumpBaseY);	#2
src/battle/battle_information.c	analyzer:deadcode.DeadStores	Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'	} else if ((r -= held) < 0) {
src/battle/battle_mario.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	BattleUnit* mario = BattleGetMarioPtr(_battleWorkPointer);
src/battle/battle_menu_disp.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '+' is a garbage value	btlDispGXPoint2D(ofs + pos[i][j], -4.0f / 1.3f + pos[i][j + 1], 0, 0, 0, 0x80, uv[i][j], uv[i][j + 1]);
src/battle/battle_menu_disp.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '+' is a garbage value	btlDispGXQuads2D(-64.0f + ofs, 76.0f, 64.0f + ofs, -4.0f, 0, 0, 0, 0x80);
src/battle/battle_menu_disp.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '+' is a garbage value	btlDispGXQuads2D(64.0f + ofs, 76.0f, -64.0f + ofs, -4.0f, 0, 0, 0, 0x80);
src/battle/battle_menu_disp.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'kakutable'	a = 3.1415927f * kakutable[cursor->count - 3][menu->iconSlot[i]] / 180.0f;	#2
src/battle/battle_menu_disp.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'kakutable'	b = 3.1415927f * kakutable[cursor->count - 3][menu->iconSlot[i]] / 180.0f;
src/battle/battle_menu_disp.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'kakutable'	c = kakutable[cursor->count - 3][menu->iconTimer[i + 10]];	#2
src/battle/battle_message.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(announce->text, text);
src/battle/battle_seq.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '/' is a garbage value	mapObjScale(obj->data->name, sx / 100.0f, sy / 100.0f, 1.0f);	#4
src/battle/battle_seq_command.c	analyzer:deadcode.DeadStores	Although the value stored to 'top' is used in the enclosing expression, the value is never actually read from 'top'	if ((top = cursor->relPos) <= 0)
src/battle/battle_seq_command.c	bugprone-too-small-loop-variable	loop variable has narrower type 'u8' than iteration's upper bound 'int'	for (i = 0; i < cursor->count; i++) {	#4
src/battle/battle_seq_command.c	misc-redundant-expression	both sides of operator are equivalent	if (!event->args && !event->args) {}
src/battle/battle_seq_command.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(buf, msgSearch("btl_msg_multi_item_cancel_check"));
src/battle/battle_seq_end.c	analyzer:core.CallAndMessage	1st function call argument is an uninitialized value	width = FontGetMessageWidthLine(msg, &lines);
src/battle/battle_seq_end.c	analyzer:core.NullDereference	Access to field 'confettiEvtId' results in a dereference of a null pointer (loaded from variable 'work')	work->confettiEvtId = evtGetValue(event, args[0]);
src/battle/battle_seq_end.c	misc-redundant-expression	both sides of operator are equivalent	if (!_battleWorkPointer->seqEndWork && !_battleWorkPointer->seqEndWork && !_battleWorkPointer->seqEndWork) {
src/battle/battle_seq_end.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(buf, msgSearch("btl_msg_lvup_ok"));
src/battle/battle_stage.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 't'	f = x - t[i];
src/battle/battle_stage_object.c	analyzer:core.CallAndMessage	1st function call argument is an uninitialized value	BtlUnit_GetHitPos(unit, part, &sfxPos.x, &sfxPos.y, &sfxPos.z);
src/battle/battle_stage_object.c	analyzer:core.CallAndMessage	1st function call argument is an uninitialized value	if (BtlUnit_GetBelong(unit) == 0) {
src/battle/battle_stage_object.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	mapObjRotate("n_head_c", rotX, rotY, 0.0f);
src/battle/battle_stage_object.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	mapObjRotate("n_head_l", rotX, rotY, 0.0f);
src/battle/battle_stage_object.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	mapObjRotate("n_head_r", rotX, rotY, 0.0f);
src/battle/battle_stage_object.c	analyzer:core.NullDereference	Access to field 'eventId' results in a dereference of a null pointer (loaded from variable 'evt')	unit->ceilFallEventId = evt->eventId;
src/battle/battle_status_effect.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(base->text, msgSearch(_st_chg_msg_data[i].msg0));
src/battle/battle_status_effect.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(base->text, msgSearch(_st_chg_msg_data[i].msg1));
src/battle/battle_unit.c	analyzer:deadcode.DeadStores	Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k'	vol = dv * (k = 0.7);
src/battle/sac/sac_bakugame.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'sleepChance'	q[2] = 100;
src/battle/sac/sac_deka.c	analyzer:deadcode.DeadStores	Value stored to 'h' during its initialization is never read	f32 h = w->h0;
src/battle/sac/sac_genki.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	((IconDispGxColU16S32Fn)iconDispGxCol)(m, flags, icon, (GXColor){255, 255, 255, 255});
src/battle/sac/sac_genki.c	analyzer:core.CallAndMessage	Function taking 2 arguments is called with fewer (0)	((void (*)(void))object_entry)();
src/battle/sac/sac_genki.c	warn:-Wreturn-type	non-void function does not return a value	}
src/battle/sac/sac_muki.c	analyzer:deadcode.DeadStores	Although the value stored to 'frac' is used in the enclosing expression, the value is never actually read from 'frac'	btlDispGXQuads2DRasta(x, 8.0f + y, x + (frac *= 80.0f), y - 8.0f, r, g, b, a);	#2
src/battle/sac/sac_scissor.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'x'	y0 = q[(offsetof(ScissorTri, y) - offsetof(ScissorTri, x)) / sizeof(f32)];
src/battle/sac/sac_scissor.c	bugprone-swapped-arguments	argument with implicit conversion from 'int' to 'f32' (aka 'float') followed by argument converted from 'float' to 's32' (aka 'int'), potentially swapped arguments.	dispEntry(CAMERA_2D, 0, 0.0f, scissor_capture, NULL);
src/battle/sac/sac_scissor.c	bugprone-swapped-arguments	argument with implicit conversion from 'int' to 'f32' (aka 'float') followed by argument converted from 'float' to 's32' (aka 'int'), potentially swapped arguments.	dispEntry(CAMERA_2D, 0, 0.0f, scissor_disp_control, NULL);
src/battle/sac/sac_suki.c	analyzer:core.uninitialized.Branch	Branch condition evaluates to a garbage value	if (icon) {
src/cam_road.c	analyzer:core.NullDereference	Access to field 'idxB' results in a dereference of a null pointer (loaded from field 'cam')	n = a->cam->idxB - a->cam->idxA - 1;
src/cam_road.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '*' is a garbage value	yy = s * (nrm[i + 1].y - nrm[i].y) + nrm[i].y;
src/cam_road.c	analyzer:deadcode.DeadStores	Value stored to 'lim2' is never read	lim2 = PSVECMag(&v2);
src/cam_road.c	analyzer:deadcode.DeadStores	Value stored to 'ok' is never read	ok = (s < -0.0000001 || s > 1.0000001);
src/data/battle/battle_item_data.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'userdata3'	EVT_XYZ(event)
src/data/battle/battle_item_data.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'userdata3'	PSMTXTrans(trans, EVT_XYZ(event)[0], EVT_XYZ(event)[1], EVT_XYZ(event)[2]);
src/driver/animdrv.c	analyzer:core.CallAndMessage	2nd function call argument is an uninitialized value	pose->worldMatrices = (Mtx**)smartAlloc(sizeof(Mtx) * data->groupCount, heap);
src/driver/animdrv.c	analyzer:core.CallAndMessage	2nd function call argument is an uninitialized value	pose->worldPositions = (Vec**)smartAlloc(sizeof(Vec) * data->groupCount, heap);
src/driver/animdrv.c	analyzer:core.NullDereference	Access to field 'active' results in a dereference of a null pointer	tex[0]->active = 1;
src/driver/animdrv.c	analyzer:core.NullDereference	Access to field 'flags' results in a dereference of a null pointer (loaded from variable 'pose')	pose->flags |= ANIM_POSE_FLAG_USED;
src/driver/animdrv.c	analyzer:deadcode.DeadStores	Value stored to 'd' is never read	d = animPoseGetBaseData(pose)->anims[pose->animId].data;
src/driver/animdrv.c	analyzer:unix.cstring.NullArg	Null pointer passed as 1st argument to string comparison function	!strcmp(animPoseGetBaseData(pose)->fileName, animName)) {
src/driver/animdrv.c	analyzer:unix.cstring.NullArg	Null pointer passed as 1st argument to string comparison function	!strcmp(animPoseGetBaseData(pose)->fileName, name)) {
src/driver/animdrv.c	analyzer:unix.cstring.NullArg	Null pointer passed as 1st argument to string comparison function	if (!strcmp(data->fileName, animName)) {
src/driver/animdrv.c	analyzer:unix.cstring.NullArg	Null pointer passed as 1st argument to string comparison function	if (animName && !strcmp(ANIM_FILE_DATA(*wp->files[animPoseGetAnimPosePtr(pose->paperId)->fileId].handle->data)->fileName, animName) &&
src/driver/animdrv.c	bugprone-suspicious-realloc-usage	'sInterpKept' may be set to null if 'realloc' fails, which may result in a leak of the original buffer	sInterpKept = realloc(sInterpKept, sInterpCap);
src/driver/animdrv.c	readability-misleading-indentation	misleading indentation: statement is indented too deeply	dispProc(groupId, group->childGroupId, xluStage, nextKeyframe, blend);
src/driver/animdrv.c	readability-misleading-indentation	misleading indentation: statement is indented too deeply	if ((bindId < 0) || (bindId >= texBindsCapacity)) {
src/driver/camdrv.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '*' is a garbage value	camera->cameraAt.x = (work.at.x * it) + (work2.at.x * t);
src/driver/effdrv.c	analyzer:deadcode.DeadStores	Value stored to 'qd0' is never read	qd0 = __OSs16tof32((s16*)(pa + 4));
src/driver/effdrv.c	analyzer:deadcode.DeadStores	Value stored to 'qd0' is never read	qd0 = __OSs16tof32((s16*)(pb + 6));
src/driver/envdrv.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '==' is a garbage value	if (x0 == 0x3FF || y0 == 0x3FF || x1 == 0x3FF || y1 == 0x3FF) {
src/driver/envdrv.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	hz = *(s16*)i2;
src/driver/envdrv.c	analyzer:deadcode.DeadStores	Value stored to 'hz' is never read	hz = *(s16*)i2;
src/driver/envdrv.c	warn:-Wsometimes-uninitialized	variable 'x0' is used uninitialized whenever 'while' loop exits because its condition is false	while ((obj = envWaterParent(obj)) != NULL) {
src/driver/fadedrv.c	analyzer:core.NullDereference	Access to field 'flags' results in a dereference of an undefined pointer value (loaded from variable 'entry')	entry->flags = 0;
src/driver/fadedrv.c	analyzer:deadcode.DeadStores	Value stored to 'camera' is never read	camera = camGetPtr(camId);
src/driver/hitdrv.c	analyzer:deadcode.DeadStores	Value stored to 'k' is never read	k = 0; // FAKE: dead store, references k before j's first use so the packed k/counter split temps get the target r18/r17
src/driver/hitdrv.c	warn:-Wself-assign	explicitly assigning value of variable of type 's32' (aka 'int') to itself	stride = stride;
src/driver/icondrv.c	analyzer:deadcode.DeadStores	Value stored to 'entry' during its initialization is never read	IconEntry* entry = iconFindIn(wp, name); // inline	#2
src/driver/icondrv.c	misc-redundant-expression	both sides of operator are equivalent	if (icon_bin_ok && icon_bin_ok) {	#2
src/driver/imgdrv.c	analyzer:core.CallAndMessage	1st function call argument is an uninitialized value	mapSetMaterialLastStageBlend(flags, color1, color2);
src/driver/itemdrv.c	analyzer:deadcode.DeadStores	Value stored to 'entry' is never read	entry = itemFindDeletable(wp, 0x7B);
src/driver/itemdrv.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();
src/driver/lightdrv.c	analyzer:deadcode.DeadStores	Value stored to 'tp' is never read	tp = tmp;
src/driver/mapdrv.c	analyzer:core.NullDereference	Access to field 'joint' results in a dereference of a null pointer (loaded from variable 'info')	MapFileJoint* mapJoint = mapSearchDmdJoint(info->joint, info->mapName);
src/driver/mapdrv.c	analyzer:core.NullDereference	Access to field 'offscreenId' results in a dereference of a null pointer (loaded from variable 'obj')	obj->offscreenId = offscreenNameToId(offscreen);
src/driver/mapdrv.c	analyzer:deadcode.DeadStores	Value stored to 'header' is never read	header = &wp->entries[group].header;
src/driver/mapdrv.c	analyzer:deadcode.DeadStores	Value stored to 'j' during its initialization is never read	MapFileJoint* j = obj->joints;
src/driver/mapdrv.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'entries'	MAPENT_TPLARAM(entry) = NULL;
src/driver/mapdrv.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'entries'	aramMgrToMram(MAPENT_TPLARAM(entry), entry->tpl);
src/driver/mobjdrv.c	analyzer:deadcode.DeadStores	Value stored to 'unusedVec' is never read	unusedVec = (Vec){0.0f, 0.0f, 0.0f};
src/driver/msgdrv.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '+' is a garbage value	rubyX = ((rubyX + x) - 4.0f * scale.x - (u16)total) / 2;
src/driver/msgdrv.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '>=' is a garbage value	if ((((s8)args[0]) >= '0') && (((s8)args[0]) <= '9')) {
src/driver/msgdrv.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	entry->rot = dynScale;
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtof' instead	sscanf(args, "%f", &dynScale); // a <dynamic> tag without a number would leave dynScale unset
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtof' instead	sscanf(args, "%f", &scale.x);	#2
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtof' instead	sscanf(args, "%s%f%d%d%d", name, &iconScale, &iconOfsX, &iconOfsY, &iconAdvance);
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(args, "%d", &entry->value);	#2
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(args, "%d", &step);
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(args, "%d", &waitTime);
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(args, "%d%d", &posX, &posY);
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(args, "%d%f%d%d%d", &iconId, &iconScale, &iconOfsX, &iconOfsY, &iconAdvance);
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(args, "%hd%hd%hd%hd", &w16, &w14, &w12, &w10);
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(args, "%hd%hd%hd%hd%hd", &sel0, &sel1, &data->selWidth, &data->selY);
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(args, "%s%d", paper, &paperTime);
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf(args, "%s%s%d%d%f%d", anim1, anim2, &animX, &animY, &animScale, &animFlip);
src/driver/msgdrv.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an unsigned integer value, but function will not report conversion errors; consider using 'strtoul' instead	sscanf(args, "%x", &rgba);
src/driver/msgdrv.c	readability-misleading-indentation	different indentation for 'if' and corresponding 'else'	else // US: one key per frame
src/driver/msgdrv.c	warn:-Wformat-insufficient-args	more '%' conversions than data arguments	sscanf(args, "%hd%hd%hd%hd%hd", &sel0, &sel1, &data->selWidth, &data->selY);
src/driver/npcdrv.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	*dist = d;
src/driver/npcdrv.c	analyzer:core.uninitialized.Assign	The left expression of the compound assignment uses uninitialized memory	res.bits &= ~1;
src/driver/npcdrv.c	analyzer:deadcode.DeadStores	Value stored to 'dz' is never read	dz = mario->wPlayerCollisionBox.y;
src/driver/npcdrv.c	analyzer:security.FloatLoopCounter	Variable 't' with floating point type 'f32' should not be used as a loop counter	for (t = 0.0f; t <= 11.0f; t += 1.0f) {
src/driver/npcdrv.c	bugprone-float-loop-counter	loop induction expression should not have floating-point type	for (t = 0.0f; t <= 11.0f; t += 1.0f) {
src/driver/npcdrv.c	bugprone-sizeof-expression	suspicious usage of 'sizeof' in the loop	for (k = 0; k < sizeof(cur->battleInfo.stolenItems); k += sizeof(ItemType)) {
src/driver/npcdrv.c	misc-redundant-expression	'true' and 'false' expressions are equivalent	if (d > (st == 2 ? entry->territoryHoming.x : entry->territoryHoming.x)) {
src/driver/shadowdrv.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	GXSetTexCopySrc(0, 0, size, size);
src/driver/shadowdrv.c	analyzer:deadcode.DeadStores	Value stored to 't' is never read	t = cam->cameraAt.y * 20.0f;
src/driver/shadowdrv.c	warn:-Wsometimes-uninitialized	variable 'size' is used uninitialized whenever 'if' condition is false	if (wp->flags & SHADOW_WORK_ALLOC_TEX) {
src/driver/shadowdrv.c	warn:-Wuninitialized	variable 'cam' is uninitialized when used here	cam->cameraAt.z = cam->cameraAt.z;
src/effect/eff_damage_star.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'scale_data'	work->scale.x = work->scale.y = work->scale.z = 0.01f * scale_data[frame];
src/effect/eff_fire.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '%' is a garbage value	frame = (work->delay >> 1) % n;
src/effect/eff_fire.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'scale1'	t = (f32)(tbl[idx].frame - kf) / (f32)(tbl[idx].frame - tbl[idx - 1].frame);
src/effect/eff_fire.c	analyzer:security.ArrayBound	Out of bound access to memory preceding 'scale2'	t = (f32)(tbl[idx].frame - kf) / (f32)(tbl[idx].frame - tbl[idx - 1].frame);
src/effect/eff_funemizu.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	u32 u = *p_u;
src/effect/eff_funemizu.c	analyzer:deadcode.DeadStores	Value stored to 'u' during its initialization is never read	u32 u = *p_u;
src/effect/eff_gonbaba_breath.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	effect->count = count;
src/effect/eff_itemget.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'size_tbl'	work->size = 0.75f * ((f32)size_tbl[work->type] / 10.0f);
src/effect/eff_kiss.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '/' is a garbage value	GXPosition3f32(-h / 2.0f, w, 0.0f);
src/effect/eff_mahorn2.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '/' is a garbage value	GXPosition3f32(-w / 2.0f, h / 2.0f, 0.0f);
src/effect/eff_mizutama.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	effect->count = count;
src/effect/eff_recovery.c	analyzer:deadcode.DeadStores	Value stored to 'cam' is never read	cam = camGetPtr(cameraId);
src/effect/eff_recovery.c	analyzer:deadcode.DeadStores	Value stored to 'type' during its initialization is never read	s32 type = work->type;
src/effect/eff_sleep.c	analyzer:deadcode.DeadStores	Although the value stored to 't' is used in the enclosing expression, the value is never actually read from 't'	s0 = 0.5f * (f32)sin((t = (tau * (f32)(u32)(gp->retraceCount + base + off)), t *= 0.015625f));
src/effect/eff_sleep.c	analyzer:deadcode.DeadStores	Although the value stored to 't' is used in the enclosing expression, the value is never actually read from 't'	s1 = 0.5f * (f32)sin((t = (tau * (f32)(u32)(gp->retraceCount + base + (j + 1) * 10)), t *= 0.015625f));
src/effect/eff_splash.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '>' is a garbage value	if (work->timer > maxT) {
src/effect/eff_stageclear.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	effect->count = n;
src/effect/eff_updown.c	analyzer:deadcode.DeadStores	Although the value stored to 'arg' is used in the enclosing expression, the value is never actually read from 'arg'	sv = (f32)sin(arg *= 0.25f);
src/effect/n64/eff_broken_barrier_n64.c	analyzer:deadcode.DeadStores	Although the value stored to 'c' is used in the enclosing expression, the value is never actually read from 'c'	work->position.x = width * (f32)sin(lon = 6.2831855f * a / 360.0f) * (c = (f32)cos(lat));
src/effect/n64/eff_broken_barrier_n64.c	analyzer:deadcode.DeadStores	Although the value stored to 'c' is used in the enclosing expression, the value is never actually read from 'c'	work->position.y = height * (f32)cos(lon) * (c = (f32)cos(lat));
src/effect/n64/eff_broken_barrier_n64.c	analyzer:deadcode.DeadStores	Although the value stored to 'ca' is used in the enclosing expression, the value is never actually read from 'ca'	work->position.x = width * (f32)sin(a = 6.2831855f * a / 360.0f) * (ca = (f32)cos(b));
src/effect/n64/eff_broken_barrier_n64.c	analyzer:deadcode.DeadStores	Although the value stored to 'ca' is used in the enclosing expression, the value is never actually read from 'ca'	work->position.y = height * (f32)cos(a) * (ca = (f32)cos(b));
src/effect/n64/eff_confetti_n64.c	analyzer:deadcode.DeadStores	Value stored to 'anm' is never read	anm = (frame >> 1) % 6;
src/effect/n64/eff_hit_n64.c	analyzer:deadcode.DeadStores	Value stored to 'camera' is never read	camera = camGetPtr(cameraId);
src/effect/n64/eff_kameki_tornade_n64.c	analyzer:deadcode.DeadStores	Value stored to 'p' is never read	p = tmpl;
src/effect/n64/eff_kemuri10_n64.c	analyzer:deadcode.DeadStores	Although the value stored to 'fa' is used in the enclosing expression, the value is never actually read from 'fa'	work->alpha = (fa *= 0.6f);
src/effect/n64/eff_magic3_n64.c	analyzer:deadcode.DeadStores	Value stored to 'inv' is never read	inv = 1.0f / sqrtf(inv);
src/effect/n64/eff_opuku_wgun_n64.c	misc-redundant-expression	both sides of operator are equivalent	if (i == 0 || i == 0) {
src/effect/n64/eff_recover_heart_n64.c	analyzer:deadcode.DeadStores	Value stored to 'fade' is never read	fade = 0.05f * lifetime;
src/effect/n64/eff_recover_heart_n64.c	analyzer:deadcode.DeadStores	Value stored to 'k' is never read	k = 0;
src/effect/n64/eff_rothammer_fail_n64.c	analyzer:deadcode.DeadStores	Value stored to 'child' is never read	child = work++;
src/effect/n64/eff_sunlight_n64.c	analyzer:deadcode.DeadStores	Value stored to 'camera' during its initialization is never read	CameraEntry* camera = camGetPtr(cameraId);
src/error_handler.c	warn:-Wformat	format specifies type 'unsigned int' but the argument has type 'AddrWord' (aka 'unsigned long long')	sprintf(print_buffer2, "0x%08x: 0x%08x 0x%08x\n", stack, *(AddrWord*)stack, *(AddrWord*)(stack + 4));	#3
src/error_handler.c	warn:-Wformat	format specifies type 'unsigned int' but the argument has type 'OSContext *' (aka 'struct OSContext *')	sprintf(print_buffer2, "---- Context 0x%08x ----\n", context);
src/event/evt_audience.c	analyzer:deadcode.DeadStores	Value stored to 'args' during its initialization is never read	EvtWord* args = event->args;
src/event/evt_badgeshop.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'table'	table[pos] = (u8)((u8)(mask & table[pos]) + (u8)(val << shift));
src/event/evt_badgeshop.c	warn:-Wself-assign	explicitly assigning value of variable of type 's16' (aka 'short') to itself	count = count;
src/event/evt_bero.c	analyzer:core.NullDereference	Access to field 'hitName' results in a dereference of a null pointer (loaded from variable 'bero')	event->lwData[3] = (EvtWord)bero->hitName;
src/event/evt_bero.c	analyzer:deadcode.DeadStores	Value stored to 'args' during its initialization is never read	EvtWord* args = event->args;
src/event/evt_cam.c	analyzer:deadcode.DeadStores	Value stored to 'shift' is never read	shift = 32;
src/event/evt_johoya.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	wp->info[infoId].tagEndPos = tagEndPos;
src/event/evt_mario.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	mp->baseSpeed = distABf(mp->position.x, mp->position.z, tx, tz) / (f32)event->userWork[1];
src/event/evt_mario.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '-' is a garbage value	f32 dy2 = ty - mp->position.y;	#2
src/event/evt_mario.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '==' is a garbage value	if (ret == 2) {
src/event/evt_mario.c	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	event->userWork[2] = 0.5f * (f32)event->userWork[1] + 0.5f;	#4
src/event/evt_mario.c	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	event->userdata[2] = 0.5f + t2;
src/event/evt_mario.c	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	event->userdata[2] = 0.5f + t;
src/event/evt_mario.c	misc-redundant-expression	expression is redundant	if (vivianGetStatus() != 0 && vivianGetStatus() == 2) {
src/event/evt_mobj.c	analyzer:core.CallAndMessage	1st function call argument is an uninitialized value	if (animGroupBaseAsync(anim, inBattle, NULL) == 0) {	#2
src/event/evt_mobj.c	analyzer:core.NullDereference	Access to field 'moveTime' results in a dereference of an undefined pointer value (loaded from variable 'npc')	if (npc->moveTime <= npc->moveElapsed) {
src/event/evt_mobj.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '==' is a garbage value	if (mode == 0) {
src/event/evt_mobj.c	analyzer:deadcode.DeadStores	Although the value stored to 'i' is used in the enclosing expression, the value is never actually read from 'i'	} else if ((i = pouchCheckItem(mobj->typeData[0])) != 0) {
src/event/evt_mobj.c	analyzer:deadcode.DeadStores	Value stored to 'c3' is never read	c3 = c1;
src/event/evt_mobj.c	analyzer:deadcode.DeadStores	Value stored to 'dz' during its initialization is never read	Vec dz = (Vec){x, y, z};
src/event/evt_mobj.c	analyzer:deadcode.DeadStores	Value stored to 'inBattle' is never read	inBattle = gp->inBattle != 0;
src/event/evt_mobj.c	analyzer:deadcode.DeadStores	Value stored to 'item' is never read	item = evtGetValue(event, args[1]);
src/event/evt_mobj.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();
src/event/evt_movefloor.c	analyzer:core.uninitialized.Branch	Branch condition evaluates to a garbage value	if (dir) {
src/event/evt_msg.c	analyzer:core.CallAndMessage	2nd function call argument is an uninitialized value	strcpy(msg_article_buf, name);
src/event/evt_msg.c	analyzer:core.CallAndMessage	2nd function call argument is an uninitialized value	strcpy(msg_count_buf, name);
src/event/evt_nannpc.c	analyzer:deadcode.DeadStores	Value stored to 'v78' is never read	v78 = v48;
src/event/evt_nannpc.c	warn:-Wformat	format specifies type 'unsigned int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(makestring, "%06x", name);
src/event/evt_nannpc.c	warn:-Wformat	format specifies type 'unsigned int' but the argument has type 'char *'	sprintf(makestring, "%06x", name);
src/event/evt_party.c	analyzer:deadcode.DeadStores	Value stored to 'dy' is never read	dy = 1.0f;
src/event/evt_party.c	analyzer:deadcode.DeadStores	Value stored to 'half' is never read	half = 0.5f;
src/event/evt_party.c	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	event->userdata[2] = (s32)(0.5f + half);	#2
src/event/evt_sub.c	warn:-Wself-assign	explicitly assigning value of variable of type 'f32' (aka 'float') to itself	t = t; // FAKE: self-assignment gives t a second definition, which keeps the target's float register order
src/event/evt_telop.c	warn:-Wself-assign	explicitly assigning value of variable of type 'f32' (aka 'float') to itself	scale = scale; // FAKE: the empty branch as a self-assignment keeps the target's branch layout
src/event/evt_twoddisp.c	warn:-Wformat-security	format string is not a string literal (potentially insecure)	sprintf(buf, (const char*)p->id);
src/event/evt_uranaisi.c	analyzer:core.uninitialized.ArraySubscript	Array subscript is undefined	saved = initEndPos[tagEndPos];	#2
src/event/evt_win.c	analyzer:core.uninitialized.Branch	Branch condition evaluates to a garbage value	for (k = 0; ((s8*)line1)[k]; k++) {
src/event/evt_win.c	analyzer:deadcode.DeadStores	Value stored to 'flag' is never read	flag = 0; // FAKE: dead store, moves flag's variable record before i so the case 5-7 flag web is a split temp coloured before i's (target r21)
src/event/evt_win.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'mario_status_point_table'	if (j != wp->cursor && *mario_status_point_table[j] - mario_status_henka_table[j] <= 0) {	#2
src/event/evt_win.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(buf, "%3d", item->buy_price * (evtGetValue(NULL, 0xF5DE06A9) + 11) / 10);
src/event/evt_win.c	warn:-Wformat-extra-args	data argument not used by format string	sprintf(buf, " \x81\x48", v);	#3
src/event/evt_window.c	analyzer:core.CallAndMessage	1st function call argument is an uninitialized value	FontDrawMessage(-(s32)FontGetMessageWidth(msg) / 2, entry->y - 8, msg);
src/event/evt_window.c	analyzer:core.CallAndMessage	3rd function call argument is an uninitialized value	iconDispGx2(pos, ICON_DISP_2D, icon);
src/event/evt_window.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '!=' is a garbage value	if (w->coins != coins) {
src/event/evt_window.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '!=' is a garbage value	return w->coins != coins ? EVT_RETURN_BLOCK : EVT_RETURN_DONE;
src/koopa.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();
src/koopa.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'jumpVelocityY'	SETP(mario, -0.05f, -0.08f, -0.006f, -0.002f);
src/koopa.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'jumpVelocityY'	SETP(mario, -0.1f, -0.2f, -0.024f, -0.01f);
src/koopa.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'jumpVelocityY'	SETP(mario, 10.5f, -0.12f, 0.08f, -0.018f);
src/koopa.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'jumpVelocityY'	SETP(mario, 2.6f, -0.06f, -0.01f, -0.002f);
src/koopa.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'jumpVelocityY'	SETP(mario, 7.0f, -0.4f, 0.08f, -0.02f);
src/koopa.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'jumpVelocityY'	SETP(mario, 8.1f, -0.3f, 0.08f, -0.02f);
src/koopa.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of the field 'jumpVelocityY'	SETP(mario, 8.4f, -0.1f, 0.08f, -0.018f);
src/koopa.c	warn:-Wreturn-type	non-void function does not return a value	}
src/koopa_hit.c	warn:-Wreturn-type	non-void function does not return a value	}
src/manager/arammgr.c	analyzer:core.NullDereference	Access to field 'flags' results in a dereference of a null pointer (loaded from variable 'entry')	entry->flags |= ARAM_ENTRY_TO_ARAM_DONE;
src/manager/arammgr.c	analyzer:core.NullDereference	Access to field 'flags' results in a dereference of a null pointer (loaded from variable 'entry')	entry->flags |= ARAM_ENTRY_TO_MRAM_DONE;
src/manager/arammgr.c	analyzer:unix.cstring.NullArg	Null pointer passed as 1st argument to memory set function	memset(entry, 0, sizeof(ARAMEntry));
src/manager/cardmgr.c	analyzer:deadcode.DeadStores	Value stored to 'flags' is never read	flags = wp->flags;
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, " [%d]", reg);
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "GF(%3d) [%d]", reg, data & mask);
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "GSW(%3d) [%08X]", val); // BUG: no argument for the value. Fix: reg, val.
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "GSW(%3d) [%4.2f]", reg, check_float(val));
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "GSW(%3d) [%d]", reg, val);	#2
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "GSWF(%3d)[%d]", reg, swGet(reg));
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "GW(%3d) [%08X]", reg, val);
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "GW(%3d) [%4.2f]", reg, check_float(val));
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "GW(%3d) [%d]", reg, val);	#2
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "LF(%3d) [%d]", reg, data & mask);
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "LSW(%3d) [%08X]", val); // BUG: no argument for the value. Fix: reg, val.
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "LSW(%3d) [%4.2f]", reg, check_float(val));
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "LSW(%3d) [%d]", reg, val);	#2
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "LSWF(%3d)[%d]", reg, _swGet(reg));
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "LW(%3d) [%08X]", reg, val);
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "LW(%3d) [%4.2f]", reg, check_float(val));
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "LW(%3d) [%d]", reg, val);	#2
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "UF(%3d) [%d]", reg, mask & data);
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "UW(%3d) [%08X]", val, val); // BUG: the value is printed as the index. Fix: reg, val.
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "UW(%3d) [%4.2f]", reg, check_float(val));
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "UW(%3d) [%d]", reg, val);	#2
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'unsigned int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "ADDR [%08X]", reg);
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'unsigned int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "GW(%3d) [%08X]", reg, val);
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'unsigned int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "LW(%3d) [%08X]", reg, val);
src/manager/evtmgr_cmd.c	warn:-Wformat	format specifies type 'unsigned int' but the argument has type 'EvtWord' (aka 'long long')	sprintf(str, "UW(%3d) [%08X]", val, val); // BUG: the value is printed as the index. Fix: reg, val.
src/manager/evtmgr_cmd.c	warn:-Wformat-insufficient-args	more '%' conversions than data arguments	sprintf(str, "GSW(%3d) [%08X]", val); // BUG: no argument for the value. Fix: reg, val.
src/manager/evtmgr_cmd.c	warn:-Wformat-insufficient-args	more '%' conversions than data arguments	sprintf(str, "LSW(%3d) [%08X]", val); // BUG: no argument for the value. Fix: reg, val.
src/manager/filemgr.c	analyzer:core.NullDereference	Access to field 'entry' results in a dereference of a null pointer (loaded from variable 'f')	entry = f->entry;
src/manager/filemgr.c	analyzer:security.VAList	Initialized va_list 'va' is leaked	vsprintf(_filename, format, va);	#2
src/manager/fontmgr.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '*' is a garbage value	out.r = 255.0f * r;
src/manager/fontmgr.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtof' instead	sscanf((char*)value, "%s%f%d%d%d", name, &scale, &d1, &d2, &d3);	#3
src/manager/fontmgr.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf((char*)value, "%d%f%d%d%d", &id, &scale, &d1, &d2, &d3);	#3
src/manager/fontmgr.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an unsigned integer value, but function will not report conversion errors; consider using 'strtoul' instead	sscanf((char*)value, "%x", &color);
src/manager/fontmgr.c	misc-redundant-expression	both sides of operator are equivalent	if (code && code) { // FAKE: an empty test that keeps code live here; without it registers are allocated differently (code is unset for an empty string; the test does nothing)
src/manager/fontmgr.c	misc-redundant-expression	logical expression is always false	else if (tag[0] == 'R' || (tag[0] == '/' && tag[0] == (u32)'/r')) {	#3
src/manager/fontmgr.c	misc-redundant-expression	logical expression is always false	if (tag[0] == 'R' || (tag[0] == '/' && tag[0] == (u32)'/r')) {
src/manager/fontmgr.c	warn:-Wformat	format specifies type 'unsigned int *' but the argument has type 'GXColor *' (aka 'struct _GXColor *')	sscanf((char*)value, "%x", &color);
src/manager/fontmgr.c	warn:-Wself-assign	explicitly assigning value of variable of type 'f32' (aka 'float') to itself	scale = scale; // FAKE: the self-assignment gives scale the target register; see FAKES.md
src/manager/winmgr.c	analyzer:core.uninitialized.UndefReturn	Undefined or garbage value returned to caller	return name;
src/manager/winmgr.c	analyzer:deadcode.DeadStores	Although the value stored to 'sel2' is used in the enclosing expression, the value is never actually read from 'sel2'	items3 = (sel2 = (sel3 = sel))->items;
src/manager/winmgr.c	analyzer:deadcode.DeadStores	Value stored to 'pouch' during its initialization is never read	PouchData* pouch = pouchGetPtr();
src/mario/mario.c	analyzer:deadcode.DeadStores	Value stored to 'party' during its initialization is never read	PartyEntry* party = partyGetPtr(marioGetPartyId());
src/mario/mario.c	analyzer:deadcode.DeadStores	Value stored to 's' is never read	s = s * sg * c * cg * sy;
src/mario/mario.c	analyzer:unix.cstring.NullArg	Null pointer passed as 2nd argument to string comparison function	if (!animName || strcmp(animName, name)) { // if different, do stuff
src/mario/mario_balloon.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '==' is a garbage value	if (type == 1) {
src/mario/mario_hit.c	analyzer:core.UndefinedBinaryOperatorResult	The left operand of '<' is a garbage value	if (b < 0.0f) {
src/mario/mario_hit.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	hy = hp.y;
src/mario/mario_hit.c	analyzer:deadcode.DeadStores	Value stored to 'tmp' is never read	tmp = pos;
src/mario/mario_hit.c	misc-redundant-expression	both sides of operator are equivalent	if ((!mario->flags) && (!mario->flags)) {
src/mario/mario_hit.c	misc-redundant-expression	both sides of operator are equivalent	if (m != mario->prevMotionId && m != mario->prevMotionId) {
src/mario/mario_kemuri.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	s = s;
src/mario/mario_kemuri.c	warn:-Wself-assign	explicitly assigning value of variable of type 'f32' (aka 'float') to itself	s = s;
src/mario/mario_kemuri.c	warn:-Wuninitialized	variable 's' is uninitialized when used here	s = s;
src/mario/mario_motion.c	warn:-Wint-to-pointer-cast	cast to 'const char *' from smaller integer type 's32' (aka 'int')	psndSFXOn_3D((const char*)sfx, &pos);
src/mario/mario_party.c	analyzer:core.NullDereference	Access to field 'slitOn' results in a dereference of a null pointer (loaded from variable 'party')	if ((mario->dispFlags & MARIO_DISP_FLAG_SLIT) || party->slitOn == 1) {
src/memory.c	analyzer:core.NullDereference	Access to field 'next' results in a dereference of a null pointer (loaded from variable 'entry')	entry->next = NULL;
src/memory.c	analyzer:unix.cstring.NullArg	Null pointer passed as 1st argument to memory set function	memset(wp->ptr, 0, smartHeapSize());
src/motion/mot_hammer.c	warn:-Wself-assign	explicitly assigning value of variable of type 'f32' (aka 'float') to itself	ang = ang; // FAKE: self-assignment keeps the branch; removing it (or the if) changes codegen
src/motion/mot_roll.c	analyzer:core.NullDereference	Access to field 'dispFlags' results in a dereference of a null pointer (loaded from variable 'mario')	mario->dispFlags |= MARIO_DISP_FLAG_NO_MIRROR;
src/motion/mot_roll.c	analyzer:deadcode.DeadStores	Value stored to 'm' during its initialization is never read	MarioWork* m = marioGetPtr();	#4
src/motion/mot_roll.c	analyzer:deadcode.DeadStores	Value stored to 't' during its initialization is never read	MarioWork* t = marioGetPtr();	#2
src/motion/mot_ship.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'harborPos'	ms->harborPos.y = mm->position.y - 15.0f;
src/motion/mot_ship.c	bugprone-incorrect-roundings	casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead	m->multiTimer = (s16)(s32)(0.5f + tt);
src/parse.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtof' instead	sscanf((char*)&p[start], "%f", data);
src/parse.c	bugprone-unchecked-string-to-number-conversion,cert-err34-c	'sscanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead	sscanf((char*)&p[start], "%d", data);
src/parse.c	warn:-Wformat	format specifies type 'float *' but the argument has type 'void *'	sscanf((char*)&p[start], "%f", data);
src/parse.c	warn:-Wformat	format specifies type 'int *' but the argument has type 'void *'	sscanf((char*)&p[start], "%d", data);
src/party.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'partyDotPoseTbl'	DOKAN_POSE()	#4
src/party.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'partyDotPoseTbl'	pose = partyDotPoseTbl[party->currentMemberId][index];
src/party.c	analyzer:security.ArrayBound	Out of bound access to memory after the end of 'partyDotPoseTbl'	v6 = partyDotPoseTbl[party->currentMemberId][poseIdx];	#2
src/party.c	misc-redundant-expression	both sides of operator are equivalent	if (!party && !party && !party) {
src/party/party_bomhei.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();	#2
src/party/party_chuchu.c	analyzer:deadcode.DeadStores	Value stored to 'minDist' is never read	minDist = PSVECDistance(&bestPos, &player->position);
src/party/party_cloud.c	analyzer:core.UndefinedBinaryOperatorResult	The right operand of '+' is a garbage value	party->position.x, mario->position.y + height, party->position.z,
src/party/party_cloud.c	misc-redundant-expression	expression is redundant	} else if (party->useMotionId == 10 && party->useMotionId < 20) {
src/party/party_cloud.c	warn:-Wsometimes-uninitialized	variable 'height' is used uninitialized whenever 'if' condition is false	if (kind == 2) {
src/party/party_hit.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	gy = outPos.y;
src/party/party_hit.c	misc-redundant-expression	both sides of operator are equivalent	if ((t.z && t.z) && t.z) {
src/party/party_hit.c	misc-redundant-expression	both sides of operator are equivalent	if ((t.z && t.z) && t.z) {}	#3
src/party/party_motion.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	lim = sd;	#2
src/party/party_motion.c	analyzer:core.uninitialized.UndefReturn	Undefined or garbage value returned to caller	return d;
src/party/party_motion.c	analyzer:deadcode.DeadStores	Although the value stored to 'i' is used in the enclosing expression, the value is never actually read from 'i'	if (partyGetFootmarkReadId(id) == (i = partyGetFootmarkWriteId(id))) {
src/party/party_motion.c	analyzer:deadcode.DeadStores	Although the value stored to 'w' is used in the enclosing expression, the value is never actually read from 'w'	if (partyGetFootmarkReadId(id) == (w = partyGetFootmarkWriteId(id))) {
src/party/party_motion.c	warn:-Wsometimes-uninitialized	variable 'd' is used uninitialized whenever 'if' condition is false	} else if (party->currentMemberId == PARTY_MEMBER_VIVIAN) {
src/party/party_motion.c	warn:-Wsometimes-uninitialized	variable 'sd' is used uninitialized whenever 'if' condition is false	} else if (party->currentMemberId == PARTY_MEMBER_VIVIAN) {	#2
src/party/party_move.c	analyzer:deadcode.DeadStores	Value stored to 'back' is never read	back = revise360(180.0f + mario->displayDirection);
src/party/party_move.c	analyzer:deadcode.DeadStores	Value stored to 'mario' during its initialization is never read	MarioWork* mario = marioGetPtr();	#2
src/party/party_nokonoko.c	analyzer:deadcode.DeadStores	Value stored to 'dx' is never read	dx = nokonokoSin(rad);
src/party/party_nokonoko.c	analyzer:deadcode.DeadStores	Value stored to 'dz' is never read	dz = (f32)cos(rad);
src/romfont.c	readability-misleading-indentation	misleading indentation: statement is indented too deeply	GXInitTexObj(&texObj, glyph->texel, 24, 24, GX_TF_I4, GX_CLAMP, GX_CLAMP, GX_FALSE);
src/romfont.c	readability-misleading-indentation	misleading indentation: statement is indented too deeply	width += glyph->width;
src/sdk/DEMOInit.c	analyzer:deadcode.DeadStores	Value stored to 'arenaHi' is never read	arenaHi = OSGetArenaHi();
src/sequence/seq_e3.c	analyzer:core.uninitialized.Assign	Assigned value is uninitialized	foundIdx = idx;
src/sequence/seq_load.c	warn:-Wint-to-pointer-cast	cast to 'const char *' from smaller integer type 'int'	SFX(i < 4 ? 9 : 5);
src/sound.c	analyzer:core.NullDereference	Dereference of null pointer	*(buffer1++) = 0;	#2
src/sound.c	analyzer:core.NullDereference	Dereference of null pointer	*(buffer2++) = 0;	#2
src/sound.c	analyzer:core.NullDereference	Dereference of null pointer	*(dst++) = (s16)portBE16(src16++); /* PC port: stream PCM16 is big-endian */	#2
src/sound.c	analyzer:core.NullDereference	Dereference of null pointer	*(u8*)dst = *(src8++);
src/sound.c	analyzer:core.NullDereference	Dereference of null pointer	*(u8*)dst = *(src8b++);
src/sound.c	analyzer:core.NullDereference	Dereference of null pointer	*out++ = sample;
src/statuswindow.c	readability-misleading-indentation	misleading indentation: statement is indented too deeply	blinkOn = (wp->blinkTimer % 16) >= 6;
src/system.c	analyzer:deadcode.DeadStores	Although the value stored to 'p' is used in the enclosing expression, the value is never actually read from 'p'	} while ((p = *slot) != dst);
src/unit/party/unit_party_vivian.c	analyzer:deadcode.DeadStores	Value stored to 'c' is never read	c = p;
src/unit/party/unit_party_yoshi.c	analyzer:core.CallAndMessage	1st function call argument is an uninitialized value	dispEntry(CAMERA_3D, dispCalcZ((Vec*)p), VERSION_PICK(2, 1), (DispCallback)_btlYoshiDisp, &w->parts[i]);
src/window/win_badge.c	readability-misleading-indentation	misleading indentation: statement is indented too deeply	if (w->badge.sel[tab] < 0) {
src/window/win_item.c	analyzer:security.ArrayBound	Out of bound access to memory around the field 'skip'	id = w->item.skip[w->item.cursor[mode]];
src/window/win_item.c	readability-misleading-indentation	misleading indentation: statement is indented too deeply	w->item.mailNum = pouchReceiveMailCount();
src/window/win_log.c	analyzer:deadcode.DeadStores	Although the value stored to 'c0' is used in the enclosing expression, the value is never actually read from 'c0'	GXColor white = (c2 = (c0 = (GXColor){0xFF, 0xFF, 0xFF, 0xFF}));
src/window/win_log.c	analyzer:deadcode.DeadStores	Although the value stored to 'c2' is used in the enclosing expression, the value is never actually read from 'c2'	GXColor white = (c2 = (c0 = (GXColor){0xFF, 0xFF, 0xFF, 0xFF}));
src/window/win_log.c	analyzer:deadcode.DeadStores	Value stored to 'c1' is never read	c1 = kW;
src/window/win_log.c	analyzer:security.ArrayBound	Out of bound access to memory around the field 'badgeIds'	if (swGet(w->log.badgeIds[w->log.badge.cursor] + GSWF_BADGE_FOUND_BASE)) {
src/window/win_log.c	analyzer:security.ArrayBound	Out of bound access to memory around the field 'recipeIds'	if (swGet(WIN_RECIPE_COOKED_SW(w->log.recipeIds[w->log.recipe.cursor]))) {
src/window/win_main.c	analyzer:security.VAList	Initialized va_list 'args' is leaked	WIN_VSPRINTF(buf, fmt, args);	#5
src/window/win_main.c	misc-redundant-expression	both sides of operator are equivalent	if (!GX_TEVSTAGE2 && !GX_TEVSTAGE2 && !GX_TEVSTAGE2) {
src/window/win_main.c	readability-misleading-indentation	misleading indentation: statement is indented too deeply	if (keyGetButton(0) & PAD_TRIGGER_L) {
src/window/win_mario.c	analyzer:core.CallAndMessage	2nd function call argument is an uninitialized value	animPoseSetAnim(w->mario.poseId, anims[0], 0);	#2
src/window/win_mario.c	analyzer:core.CallAndMessage	2nd function call argument is an uninitialized value	animPoseSetAnim(w->mario.poseId, anims[1], 0);
src/window/win_party.c	analyzer:deadcode.DeadStores	Although the value stored to 'iy' is used in the enclosing expression, the value is never actually read from 'iy'	winIconSet(itemDataTable[0x57].icon_id, (Vec){bx + ((f32)(i * 34)), iy = 4.0f + (by - 32.0f), 0.0f}, (Vec){0.8f, 0.8f, 0.8f}, white2);
src/window/win_party.c	analyzer:deadcode.DeadStores	Value stored to 'black0' is never read	black0 = winPartyBlackC;
src/window/win_party.c	analyzer:deadcode.DeadStores	Value stored to 'white0' is never read	white0 = winPartyWhiteC;
src/window/win_root.c	analyzer:deadcode.DeadStores	Value stored to 'db' is never read	db = &itemDataTable[(s16)wp->badge.list[j].id];
src/window/win_root.c	analyzer:security.ArrayBound	Out of bound access to memory preceding the field 'tab'	if (w->tab[w->tabSel].id == 1 && !w->party.count) {
src/window/win_root.c	misc-redundant-expression	expression is redundant	if (wp->msgItem != 0 && wp->msgItem > 0) {
src/window/win_root.c	readability-misleading-indentation	misleading indentation: statement is indented too deeply	return 0;
