2026-05-06 02:08 ftp://ftp.de.debian.org/debian/pool/main/a/amdsmi/amdsmi_7.2.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=googletest --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 1091 1091 elapsed-time: 10.7 8.9 head-timing-info: old-timing-info: head results: ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:308:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_INIT_AMD_GPUS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1400:27: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:213:37: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1331:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1438:17: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1438:17: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1438:17: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1438:17: warning: %ld in format string (no. 5) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1314:18: style: The scope of the variable 'bad_page_status_names' can be reduced. [variableScope] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1115:31: style: Local variable 'i' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:850:19: note: Shadowed declaration ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1115:31: note: Shadow variable ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1936:27: style: Local variable 'idx' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1538:22: note: Shadowed declaration ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1936:27: note: Shadow variable ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1945:27: style: Local variable 'idx' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1538:22: note: Shadowed declaration ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1945:27: note: Shadow variable ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1987:34: style: Local variable 'bdf' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:993:26: note: Shadowed declaration ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1987:34: note: Shadow variable ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1769:28: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1771:30: style: Variable 'col' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1787:28: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1789:30: style: Variable 'col' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1805:28: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1807:30: style: Variable 'col' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1823:28: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1825:30: style: Variable 'col' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1841:28: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1843:30: style: Variable 'col' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1860:28: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1862:30: style: Variable 'col' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1879:28: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1881:30: style: Variable 'col' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1898:28: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1900:30: style: Variable 'col' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1916:28: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1918:30: style: Variable 'col' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1265:39: style: Variable 'temp_types' can be declared as const array [constVariable] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1288:18: style: Variable 'block_names' can be declared as const array [constVariable] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1292:18: style: Variable 'status_names' can be declared as const array [constVariable] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1314:18: style: Variable 'bad_page_status_names' can be declared as const array [constVariable] ROCm-amdsmi-49f4715/example/amd_smi_drm_example.cc:1394:36: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/example/amd_smi_nodrm_example.cc:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_INIT_AMD_GPUS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/example/amd_smi_nodrm_example.cc:263:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/example/amd_smi_nodrm_example.cc:246:18: style: The scope of the variable 'bad_page_status_names' can be reduced. [variableScope] ROCm-amdsmi-49f4715/example/amd_smi_nodrm_example.cc:258:59: style: Local variable 'bad_page_info' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/example/amd_smi_nodrm_example.cc:249:55: note: Shadowed declaration ROCm-amdsmi-49f4715/example/amd_smi_nodrm_example.cc:258:59: note: Shadow variable ROCm-amdsmi-49f4715/example/amd_smi_nodrm_example.cc:355:34: style: Local variable 'bdf' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/example/amd_smi_nodrm_example.cc:114:26: note: Shadowed declaration ROCm-amdsmi-49f4715/example/amd_smi_nodrm_example.cc:355:34: note: Shadow variable ROCm-amdsmi-49f4715/example/amd_smi_nodrm_example.cc:225:39: style: Variable 'temp_types' can be declared as const array [constVariable] ROCm-amdsmi-49f4715/example/amd_smi_nodrm_example.cc:246:18: style: Variable 'bad_page_status_names' can be declared as const array [constVariable] ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:61:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_INIT_AMD_CPUS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:167:20: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:159:16: style: Variable 'err_bits' is reassigned a value before the old one has been used. [redundantAssignment] ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:144:20: note: err_bits is assigned ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:159:16: note: err_bits is overwritten ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:167:18: style: Variable 'retVal' is reassigned a value before the old one has been used. [redundantAssignment] ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:155:14: note: retVal is assigned ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:167:18: note: retVal is overwritten ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:159:16: style: Variable 'err_bits' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:169:20: style: Variable 'err_bits' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:192:20: style: Variable 'err_bits' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:206:20: style: Variable 'err_bits' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:220:20: style: Variable 'err_bits' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/example/amdsmi_esmi_intg_example.cc:259:20: style: Variable 'err_bits' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENABLE_DEBUG_LEVEL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:95:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENABLE_DEBUG_LEVEL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:280:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENABLE_DEBUG_LEVEL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:289:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:305:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENABLE_DEBUG_LEVEL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:312:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENABLE_DEBUG_LEVEL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:322:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:332:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:342:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:352:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:362:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:374:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:388:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENABLE_DEBUG_LEVEL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:401:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENABLE_DEBUG_LEVEL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:419:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:455:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:470:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:513:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:547:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:563:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:603:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:620:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:637:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:653:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:518:162: style: Condition 'readSuccess' is always true [knownConditionTrueFalse] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:515:23: note: Assignment 'readSuccess=true', assigned value is 1 ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:518:162: note: Condition 'readSuccess' is always true ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:95:62: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:95:62: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:95:62: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:100:62: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:100:62: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:100:62: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:109:62: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:109:62: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:114:62: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:114:62: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:132:62: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:253:58: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:253:58: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:253:58: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:260:58: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:260:58: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:266:73: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:266:73: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:266:73: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:267:73: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:267:73: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:280:51: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:280:51: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:280:51: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:323:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:323:54: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:333:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:343:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:353:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:363:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:375:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:375:54: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:388:54: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:388:54: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:420:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:460:51: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:473:58: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:478:62: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:482:58: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:490:58: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:495:62: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:499:58: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:503:54: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:518:58: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:518:58: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:518:58: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:552:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:568:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:608:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:626:51: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:642:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:658:54: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:408:54: warning: If memory allocation fails, then there is a possible null pointer dereference: dev_name [nullPointerOutOfMemory] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:408:35: note: Assuming allocation function fails ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:408:22: note: Assignment 'dev_name=(char*)malloc(sizeof(char)*len)', assigned value is 0 ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:408:54: note: Null pointer dereference ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:409:12: warning: If memory allocation fails, then there is a possible null pointer dereference: dev_name [nullPointerOutOfMemory] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:408:35: note: Assuming allocation function fails ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:408:22: note: Assignment 'dev_name=(char*)malloc(sizeof(char)*len)', assigned value is 0 ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:409:12: note: Null pointer dereference ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:434:61: warning: If memory allocation fails, then there is a possible null pointer dereference: gpu_vendor_name [nullPointerOutOfMemory] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:434:42: note: Assuming allocation function fails ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:434:29: note: Assignment 'gpu_vendor_name=(char*)malloc(sizeof(char)*len)', assigned value is 0 ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:434:61: note: Null pointer dereference ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:435:12: warning: If memory allocation fails, then there is a possible null pointer dereference: gpu_vendor_name [nullPointerOutOfMemory] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:434:42: note: Assuming allocation function fails ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:434:29: note: Assignment 'gpu_vendor_name=(char*)malloc(sizeof(char)*len)', assigned value is 0 ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:435:12: note: Null pointer dereference ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:443:59: warning: If memory allocation fails, then there is a possible null pointer dereference: vbios_version [nullPointerOutOfMemory] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:443:40: note: Assuming allocation function fails ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:443:27: note: Assignment 'vbios_version=(char*)malloc(sizeof(char)*len)', assigned value is 0 ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:443:59: note: Null pointer dereference ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:444:12: warning: If memory allocation fails, then there is a possible null pointer dereference: vbios_version [nullPointerOutOfMemory] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:443:40: note: Assuming allocation function fails ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:443:27: note: Assignment 'vbios_version=(char*)malloc(sizeof(char)*len)', assigned value is 0 ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:444:12: note: Null pointer dereference ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:316:48: style:inconclusive: Function 'goamdsmi_cpu_core_energy_get' argument 1 names different: declaration 'num' definition 'thread_index'. [funcArgNamesDifferent] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.h:48:48: note: Function 'goamdsmi_cpu_core_energy_get' argument 1 names different: declaration 'num' definition 'thread_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:316:48: note: Function 'goamdsmi_cpu_core_energy_get' argument 1 names different: declaration 'num' definition 'thread_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:328:50: style:inconclusive: Function 'goamdsmi_cpu_socket_energy_get' argument 1 names different: declaration 'socket_idx' definition 'socket_index'. [funcArgNamesDifferent] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.h:64:50: note: Function 'goamdsmi_cpu_socket_energy_get' argument 1 names different: declaration 'socket_idx' definition 'socket_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:328:50: note: Function 'goamdsmi_cpu_socket_energy_get' argument 1 names different: declaration 'socket_idx' definition 'socket_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:338:51: style:inconclusive: Function 'goamdsmi_cpu_prochot_status_get' argument 1 names different: declaration 'socket_idx' definition 'socket_index'. [funcArgNamesDifferent] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.h:80:51: note: Function 'goamdsmi_cpu_prochot_status_get' argument 1 names different: declaration 'socket_idx' definition 'socket_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:338:51: note: Function 'goamdsmi_cpu_prochot_status_get' argument 1 names different: declaration 'socket_idx' definition 'socket_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:348:49: style:inconclusive: Function 'goamdsmi_cpu_socket_power_get' argument 1 names different: declaration 'sock_ind' definition 'socket_index'. [funcArgNamesDifferent] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.h:95:49: note: Function 'goamdsmi_cpu_socket_power_get' argument 1 names different: declaration 'sock_ind' definition 'socket_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:348:49: note: Function 'goamdsmi_cpu_socket_power_get' argument 1 names different: declaration 'sock_ind' definition 'socket_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:358:53: style:inconclusive: Function 'goamdsmi_cpu_socket_power_cap_get' argument 1 names different: declaration 'sock_ind' definition 'socket_index'. [funcArgNamesDifferent] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.h:111:53: note: Function 'goamdsmi_cpu_socket_power_cap_get' argument 1 names different: declaration 'sock_ind' definition 'socket_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:358:53: note: Function 'goamdsmi_cpu_socket_power_cap_get' argument 1 names different: declaration 'sock_ind' definition 'socket_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:368:52: style:inconclusive: Function 'goamdsmi_cpu_core_boostlimit_get' argument 1 names different: declaration 'socket' definition 'thread_index'. [funcArgNamesDifferent] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.h:125:52: note: Function 'goamdsmi_cpu_core_boostlimit_get' argument 1 names different: declaration 'socket' definition 'thread_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:368:52: note: Function 'goamdsmi_cpu_core_boostlimit_get' argument 1 names different: declaration 'socket' definition 'thread_index'. ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:467:49: style: Variable 'gpu_power_temp' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:509:34: style: Variable 'readSuccess' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi.cc:1208:3: error: There is an unknown macro here somewhere. Configuration is required. If CHK_SUPPORT_NAME_ONLY is a macro then please configure it. [unknownMacro] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable field_name [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:113:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:159:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable field_name [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:248:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:132:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:119:9: error: Resource leak: infile [resourceLeak] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:43:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:47:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:51:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:60:14: style: The scope of the variable 'v1' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:35:63: style: Parameter 'field' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:62:14: style: Variable 'origbuf' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_binary_parser.cc:148:21: style: Variable 'origbuf' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_board_temp.cc:95:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_board_temp.cc:129:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_board_temp.cc:198:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_board_temp.cc:285:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_INVALID_ARGS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_board_temp.cc:347:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_INVALID_ARGS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_EVNT_XGMI_LAST [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:132:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:144:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_EVNT_GRP_INVALID [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:164:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:221:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evt_path_root_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:263:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:297:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attr_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:331:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:351:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:375:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:394:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:116:11: style: The scope of the variable 'ret' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:163:7: style: The scope of the variable 'ret' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:367:11: style: The scope of the variable 'bytes' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:282:48: style: Parameter 'ev_info' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:288:13: style: Consider using std::any_of, std::all_of, std::none_of, or std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:176:21: style: Unused variable: fs [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:178:15: style: Unused variable: field_name [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_counters.cc:266:15: style: Unused variable: fstr [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:714:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable env_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:733:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mutex_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:753:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:780:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:807:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:948:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:971:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1033:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_DEV_PERF_LEVEL_FIRST [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1058:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1065:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1155:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1290:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENXIO [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1342:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1426:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1471:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1488:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1543:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1551:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1598:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1663:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MONITOR_IND_BIT_MASK [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1682:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_DEFAULT_VARIANT [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1715:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQUIRE_ROOT_ACCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1820:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQUIRE_ROOT_ACCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1869:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1909:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1941:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1961:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1977:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1986:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1793:61: style: Condition 'restartSuccessful' is always false [knownConditionTrueFalse] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1790:7: note: Assuming that condition '!restartSuccessful' is not redundant ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1793:61: note: Condition 'restartSuccessful' is always false ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1813:12: style: Condition 'restartSuccessful' is always true [knownConditionTrueFalse] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1790:7: note: Assuming that condition '!restartSuccessful' is not redundant ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1805:18: note: Assuming condition is false ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1813:12: note: Condition 'restartSuccessful' is always true ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1599:8: style: The scope of the variable 'mand_depends_met' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:2008:19: style: Local variable 'ret' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1986:17: note: Shadowed declaration ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:2008:19: note: Shadow variable ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1324:22: style: Unused variable: ss [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1608:55: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1622:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1631:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1636:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_device.cc:1649:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc:72:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc:137:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc:282:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc:295:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc:126:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc:83:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc:99:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_dyn_gpu_metrics.cc:300:18: style: Checking if unsigned expression 'read_size' is less than zero. [unsignedLessThanZero] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:117:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable boolalpha [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:302:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kGpuMetricNone [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:343:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:378:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:431:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kUInt8 [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:485:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kUInt64 [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:535:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:790:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:1086:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:1345:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:1588:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:1820:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:2038:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:2181:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:2369:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:2661:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:2866:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:3057:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:3247:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:3422:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:3684:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:3802:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:4042:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:4142:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:4369:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:4467:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:4547:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:4689:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:4843:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:4970:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:5012:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:5209:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:5244:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEVICE_MUTEX [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:5332:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEVICE_MUTEX [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:5112:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:4550:7: style: The scope of the variable 'op_result' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:5150:19: style: The scope of the variable 'tmp_value' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:5130:5: style: Local variable 'status_code' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:5112:8: note: Shadowed declaration ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:5130:5: note: Shadow variable ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_gpu_metrics.cc:2148:14: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:99:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:165:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:246:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_LINK_DIRECTORY [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:251:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P2P_LINK_DIRECTORY [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:259:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:306:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_LINK_DIRECTORY [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:311:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P2P_LINK_DIRECTORY [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:327:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable link_dir_type_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:359:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:392:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:405:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:432:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNonDirectional [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:181:8: style: Variable 'dentry_kfd' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:204:10: style: Variable 'dentry_io_link' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:275:8: style: Variable 'dentry' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_io_link.cc:419:17: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:146:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:164:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:190:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:237:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENXIO [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:275:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:317:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:361:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_INVALID_ARGS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:438:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:449:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:479:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ESRCH [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:555:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:648:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_indx_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:684:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_indx_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:764:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:777:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:790:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:804:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:822:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:892:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:919:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:985:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:1027:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:1068:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_indx_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:1088:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_indx_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:1100:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_indx_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:1115:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_indx_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:1154:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_indx_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:897:7: error: Resource leak: kfd_fd [resourceLeak] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:689:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:687:7: note: ret is assigned ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:689:7: note: ret is overwritten ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:469:7: style: The scope of the variable 'err' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:656:12: style: The scope of the variable 'val_int' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:703:12: style: The scope of the variable 'node_to' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:127:57: performance: Function parameter 'node_file' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:282:8: style: Variable 'dentry' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:328:18: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:383:8: style: Variable 'q_dentry' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:569:8: style: Variable 'dentry' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:117:27: style: Variable 'iss' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:129:15: style: Unused variable: line [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:179:15: style: Unused variable: properties_path [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:213:15: style: Unused variable: line [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:245:15: style: Unused variable: line [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:285:15: style: Unused variable: tmp [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:386:15: style: Unused variable: q_dir [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:658:22: style: Unused variable: ss [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:1087:38: style: Variable 'properties_path' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:1099:38: style: Variable 'properties_path' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:488:55: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_kfd.cc:707:67: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:74:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_loggingIsOn [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Instance [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:99:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:111:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:146:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_loggingIsOn [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:180:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_loggingIsOn [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:214:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_loggingIsOn [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:247:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_LogType [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:282:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_loggingIsOn [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:316:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_loggingIsOn [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:350:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_loggingIsOn [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:381:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_LogLevel [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:385:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_LogLevel [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:390:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_LogLevel [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:395:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_LogType [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:399:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_LogType [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:403:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_LogType [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:419:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_LogType [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:466:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_loggingIsOn [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:473:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_loggingIsOn [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_logger.cc:130:22: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:96:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:134:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:217:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:265:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ref_count_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:409:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_FILE_ERROR [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:486:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logging_on [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:506:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable env_vars_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:512:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logging_on [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:520:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logging_on [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:524:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:531:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_output_bitfield [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:618:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable env_vars_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:641:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:692:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:783:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:822:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:867:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:1018:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:1088:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:1098:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:60:10: warning: Assert statement calls a function which may have desired side effects: 'stoi'. [assertWithSideEffect] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:784:41: style: Condition 'isAmdGpu' is always false [knownConditionTrueFalse] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:779:19: note: Assignment 'isAmdGpu=false', assigned value is 0 ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:784:41: note: Condition 'isAmdGpu' is always false ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:794:41: style: Condition 'isAmdGpu' is always false [knownConditionTrueFalse] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:779:19: note: Assignment 'isAmdGpu=false', assigned value is 0 ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:782:7: note: Assuming condition is false ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:794:41: note: Condition 'isAmdGpu' is always false ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:228:15: style: The scope of the variable 'slash_i' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:230:15: style: The scope of the variable 'tmp' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:1074:12: style: The scope of the variable 'ret' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:55:50: performance: Function parameter 's' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:68:54: performance: Function parameter 's' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:106:44: performance: Function parameter 's' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:146:47: performance: Function parameter 'in_name' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:203:61: performance: Function parameter 'path' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:778:51: performance: Function parameter 'dev_path' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:80:8: style: Variable 'dentry' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:118:8: style: Variable 'dentry' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:830:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:1057:41: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:859:15: style: Unused variable: err_msg [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:896:39: style: Unused variable: allSystemNodes [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_main.cc:345:67: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_monitor.cc:286:3: error: There is an unknown macro here somewhere. Configuration is required. If DBG_FILE_ERROR is a macro then please configure it. [unknownMacro] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_npm.cc:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_FILE_ERROR [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_npm.cc:54:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_INVALID_ARGS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_npm.cc:76:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_INVALID_ARGS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_power_mon.cc:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_power_mon.cc:111:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_power_mon.cc:119:28: style: C-style pointer casting [cstyleCast] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:145:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:161:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:178:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:211:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:273:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_OUT_OF_RESOURCES [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:305:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_INVALID_ARGS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:318:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_INVALID_ARGS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:328:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:357:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:419:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:465:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:502:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:587:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:609:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:627:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:738:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:853:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:896:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:956:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1007:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMonName [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1087:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_AVERAGE_POWER [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1189:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1199:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GET_DEV_AND_KFDNODE_FROM_INDX [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1233:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GET_DEV_AND_KFDNODE_FROM_INDX [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1258:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1287:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:950:25: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:951:37: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1293:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:746:24: style: Condition 'isSystemBigEndian()' is always false [knownConditionTrueFalse] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:889:19: note: Assignment 'isBigEndian=false', assigned value is 0 ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:746:24: note: Calling function 'isSystemBigEndian' returns 0 ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:746:24: note: Condition 'isSystemBigEndian()' is always false ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:835:24: style: Condition 'isSystemBigEndian()' is always false [knownConditionTrueFalse] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:889:19: note: Assignment 'isBigEndian=false', assigned value is 0 ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:835:24: note: Calling function 'isSystemBigEndian' returns 0 ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:835:24: note: Condition 'isSystemBigEndian()' is always false ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:888:19: style: Condition '*(char*)&n==1' is always true [knownConditionTrueFalse] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:886:11: note: Assignment 'n=1', assigned value is 1 ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:888:19: note: Condition '*(char*)&n==1' is always true ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:448:14: warning: If resource allocation fails, then there is a possible null pointer dereference: pipe [nullPointerOutOfResources] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:433:21: note: Assuming allocation function fails ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:433:21: note: Assignment 'pipe=popen(command.c_str(),"r")', assigned value is 0 ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:448:14: note: Null pointer dereference ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:821:29: style: C-style pointer casting [cstyleCast] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:888:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:747:16: style: Redundant initialization for 'endianness'. The initialized value is overwritten before it is read. [redundantInitialization] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:713:26: note: endianness is initialized ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:747:16: note: endianness is overwritten ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:754:17: style: Redundant initialization for 'rocm_lib_path'. The initialized value is overwritten before it is read. [redundantInitialization] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:714:29: note: rocm_lib_path is initialized ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:754:17: note: rocm_lib_path is overwritten ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:753:19: style: Redundant initialization for 'rocm_build_type'. The initialized value is overwritten before it is read. [redundantInitialization] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:715:31: note: rocm_build_type is initialized ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:753:19: note: rocm_build_type is overwritten ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:755:19: style: Redundant initialization for 'rocm_build_date'. The initialized value is overwritten before it is read. [redundantInitialization] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:716:31: note: rocm_build_date is initialized ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:755:19: note: rocm_build_date is overwritten ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:756:22: style: Redundant initialization for 'rocm_env_variables'. The initialized value is overwritten before it is read. [redundantInitialization] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:717:34: note: rocm_env_variables is initialized ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:756:22: note: rocm_env_variables is overwritten ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:836:16: style: Redundant initialization for 'endianness'. The initialized value is overwritten before it is read. [redundantInitialization] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:834:26: note: endianness is initialized ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:836:16: note: endianness is overwritten ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:920:9: style: Redundant initialization for 'build'. The initialized value is overwritten before it is read. [redundantInitialization] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:918:21: note: build is initialized ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:920:9: note: build is overwritten ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:939:15: style: The scope of the variable 'libName' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1202:12: style: The scope of the variable 'orig_target_version' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1203:12: style: The scope of the variable 'major' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1204:12: style: The scope of the variable 'minor' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1205:12: style: The scope of the variable 'rev' can be reduced. [variableScope] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:60:32: performance: Function parameter 'fileA' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:60:57: performance: Function parameter 'fileB' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:139:31: performance: Function parameter 'fname' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:173:31: performance: Function parameter 'path' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:173:49: performance: Function parameter 'val' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:206:30: performance: Function parameter 'path' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:414:44: performance: Function parameter 'origStr' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:462:33: performance: Function parameter 'originalString' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:494:57: performance: Function parameter 'parameterName' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:495:40: performance: Function parameter 'stateName' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:495:63: performance: Function parameter 'storageData' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:597:57: performance: Function parameter 'v' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:644:55: performance: Function parameter 'stateName' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:645:55: performance: Function parameter 'parameterName' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:947:45: performance: Function parameter 'path' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:975:47: performance: Function parameter 'path' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1113:43: performance: Function parameter 'title' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1126:42: performance: Function parameter 'title' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:585:16: style: Variable 'x' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:737:16: style: Variable 'line' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:528:18: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:950:14: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:977:18: style: Variable 'dent' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1113:62: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1126:61: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:738:59: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:117:22: style: Unused variable: ss [unusedVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:571:28: style: Variable 'ss' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1202:32: style: Variable 'orig_target_version' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1203:18: style: Variable 'major' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1204:18: style: Variable 'minor' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1205:16: style: Variable 'rev' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/rocm_smi/src/rocm_smi_utils.cc:1254:24: style: Variable 'response' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi.cc:1038:36: error: There is an unknown macro here somewhere. Configuration is required. If LIBDRM_AMDGPU_SONAME is a macro then please configure it. [unknownMacro] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_common.cc:31:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_MAP_ERROR [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_common.cc:45:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_VRAM_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:92:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_FILE_ERROR [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:166:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amdsmi_cper_guid_t [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:171:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amdsmi_cper_guid_t [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:176:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amdsmi_cper_guid_t [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:181:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amdsmi_cper_guid_t [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:206:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amdsmi_cper_hdr_t [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:220:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amdsmi_cper_hdr_t [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:230:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:275:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:308:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:329:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:363:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:506:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:206:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:220:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:223:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:286:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:214:27: style: Variable 'tmp_desc' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:341:61: style: Parameter 'cper' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:500:24: style: Variable 'section' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:504:40: style: Variable 'crashdump' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:517:41: style: Variable 'crashdump' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_cper.cc:523:41: style: Variable 'crashdump' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_drm.cc:59:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDRM_AMDGPU_SONAME [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_drm.cc:164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_drm.cc:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_drm.cc:176:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_drm.cc:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drm_paths_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_drm.cc:190:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drm_bdfs_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_drm.cc:194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_id [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:37:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpu_id_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:42:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:57:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:72:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:86:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:90:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bdf_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:94:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_id_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:101:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpu_id_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:113:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpu_id_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:139:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:286:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compute_process_list_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:297:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:323:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:357:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:45:9: style: Redundant initialization for 'ret'. The initialized value is overwritten before it is read. [redundantInitialization] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:42:23: note: ret is initialized ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:45:9: note: ret is overwritten ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:60:9: style: Redundant initialization for 'ret'. The initialized value is overwritten before it is read. [redundantInitialization] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:57:23: note: ret is initialized ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:60:9: note: ret is overwritten ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:75:9: style: Redundant initialization for 'ret'. The initialized value is overwritten before it is read. [redundantInitialization] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:72:23: note: ret is initialized ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:75:9: note: ret is overwritten ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:147:91: style: Checking if unsigned expression 'num_running_processes' is less than zero. [unsignedLessThanZero] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:164:35: style: Checking if unsigned expression 'num_running_processes' is less than zero. [unsignedLessThanZero] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_gpu_device.cc:177:85: style: Checking if unsigned expression 'num_running_devices' is less than zero. [unsignedLessThanZero] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_lib_loader.cc:34:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_FAIL_LOAD_MODULE [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_lib_loader.cc:59:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable library_mutex_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_lib_loader.cc:55:5: error: Resource leak: isLibOpen [resourceLeak] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_socket.cc:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable processors_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_socket.cc:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_socket.cc:49:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:138:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_FILE_ERROR [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:176:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_API_FAILED [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:233:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init_flag_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:304:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:354:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:401:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init_flag_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:422:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_INVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:438:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_INVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:453:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_INVAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:209:17: style: The scope of the variable 'info' can be reduced. [variableScope] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:145:13: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:182:13: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:205:16: error: Out of bounds access in expression 'sockets[0]' because 'sockets' is empty. [containerOutOfBounds] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:161:32: warning: Uninitialized variable: physical_id [uninitvar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:143:35: note: Assuming condition is false ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_system.cc:161:32: note: Uninitialized variable: physical_id ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_utils.cc:571:5: error: There is an unknown macro here somewhere. Configuration is required. If SMIGPUDEVICE_MUTEX is a macro then please configure it. [unknownMacro] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_uuid.cc:106:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/amd_smi_uuid.cc:51:43: style: Parameter 'uuid' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/src/amd_smi/fdinfo.cc:163:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] ROCm-amdsmi-49f4715/src/amd_smi/fdinfo.cc:168:25: style: Local variable 'fdinfo' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/src/amd_smi/fdinfo.cc:156:19: note: Shadowed declaration ROCm-amdsmi-49f4715/src/amd_smi/fdinfo.cc:168:25: note: Shadow variable ROCm-amdsmi-49f4715/src/amd_smi/fdinfo.cc:47:18: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/src/amd_smi/fdinfo.cc:126:18: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/src/amd_smi/fdinfo.cc:143:11: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] ROCm-amdsmi-49f4715/src/amd_smi/scoped_fd.cc:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/scoped_fd.cc:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/scoped_fd.cc:54:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/scoped_fd.cc:62:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/scoped_fd.cc:64:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/amd_smi/scoped_fd.cc:66:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_decode.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_SEVERITY_UNCORRECTED_NON_FATAL [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_decode.c:85:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_SEVERITY_UNKNOWN [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_decode.c:121:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_SEVERITY_UNKNOWN [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_decode.c:193:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_SEVERITY_UNKNOWN [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_decode.c:276:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aca_decoder_t [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_tables.c:418:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hw_id [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_tables.c:434:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_code [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_tables.c:451:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_code [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_tables.c:466:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oam [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_tables.c:480:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable instance_id_lo [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_version.c:27:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_VERSION_MAJOR [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_version.c:29:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_VERSION_MINOR [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_version.c:31:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_VERSION_PATCH [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_version.c:33:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_VERSION_STRING [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/aca_version.c:38:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_VERSION_MAJOR [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:72:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOOT_ERROR_PRESENT_MARKER [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:77:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOOT_IN_BOOT_MARKER [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:107:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HBM_STACK_UNKNOWN [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:148:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_HBM_TRAINING [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:170:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_FW_LOAD [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:190:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_WAFL_LINK_TRAINING [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:209:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_XGMI_LINK_TRAINING [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:228:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_USR_CP_LINK_TRAINING [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:247:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_USR_DP_LINK_TRAINING [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:265:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_HBM_MEMORY_TEST [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:284:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_HBM_BIST_TEST [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:302:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_BOOT_CONTROLLER_GENERIC [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:320:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_HBM_TRAINING [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:342:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_FW_LOAD [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:362:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_WAFL_LINK_TRAINING [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:381:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_XGMI_LINK_TRAINING [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:400:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_USR_CP_LINK_TRAINING [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:419:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_USR_DP_LINK_TRAINING [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:437:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_HBM_MEMORY_TEST [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:456:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_HBM_BIST_TEST [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:483:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_BOOT_CONTROLLER_GENERIC [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:514:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_BOOT_CONTROLLER_DATA_ABORT [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:543:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_BOOT_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:560:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_UNHANDLED [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:581:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_ERROR_TYPE_UNHANDLED [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:596:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOOT_IN_BOOT_MARKER [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/boot_decode.c:625:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OamBootMsg [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/error_map.c:105:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_SEVERITY_UNKNOWN [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:32:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JsonValue [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:39:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JsonValue [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:47:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JsonValue [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:57:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JsonValue [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:70:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JsonValue [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:78:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JsonValue [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:93:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_OBJECT [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:138:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_OBJECT [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:155:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_ARRAY [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:173:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_ARRAY [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:180:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_ARRAY [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/json_util.c:140:13: style: Variable 'current' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/src/ras-decode/main.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_REGISTER_ARRAY_SIZE_32_BYTES [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/ras_decode_api.c:68:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAS_DECODE_REGISTER_ARRAY_SIZE_32_BYTES [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/ras_decode_api.c:94:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_OBJECT [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/ras-decode/ras_decode_api.c:163:13: style: Variable 'current_pair' can be declared as pointer to const [constVariablePointer] ROCm-amdsmi-49f4715/src/rocm_smi_properties.cc:64:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDevInfoTypes [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/rocm_smi_properties.cc:312:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/rocm_smi_properties.cc:371:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/rocm_smi_properties.cc:396:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_UNKNOWN_ERROR [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/src/rocm_smi_properties.cc:463:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_UNKNOWN_ERROR [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.cc:64:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:143:8: style: The member function 'TestBase::checkIfMaxValue' can be static. [functionStatic] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:33:12: style: The destructor '~TestAPISupportRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/api_support_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:69:15: performance: Function 'title()' should return member 'title_' by const reference. [returnByReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:66:30: performance: Function parameter 'name' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:157:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:181:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:201:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:385:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:33:12: style: The destructor '~TestComputePartitionReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:538:28: style: Condition 'nps_caps_str.empty()' is always true [knownConditionTrueFalse] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:703:30: style: Condition 'nps_caps_str.empty()' is always true [knownConditionTrueFalse] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:653:7: style: Redundant initialization for 'original_profile_config'. The initialized value is overwritten before it is read. [redundantInitialization] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:651:54: note: original_profile_config is initialized ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:653:7: note: original_profile_config is overwritten ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:681:19: style: Local variable 'profile_type_str' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:551:17: note: Shadowed declaration ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:681:19: note: Shadow variable ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:694:19: style: Local variable 'nps_caps_str' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:529:17: note: Shadowed declaration ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:694:19: note: Shadow variable ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:189:55: performance: Function parameter 'current_partition' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/computepartition_read_write.cc:187:68: style: Parameter 'processor_handle' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/dynamic_metrics_test.cc:52:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kGpuXcpMetricV10 [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/dynamic_metrics_test.cc:99:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/dynamic_metrics_test.cc:118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/dynamic_metrics_test.cc:169:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/dynamic_metrics_test.cc:53:24: style: Condition 'minor>=1' is always true [knownConditionTrueFalse] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/dynamic_metrics_test.cc:51:17: note: Assuming that condition 'minor==0' is not redundant ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/dynamic_metrics_test.cc:53:24: note: Condition 'minor>=1' is always true ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.cc:72:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:33:12: style: The destructor '~TestErrCntRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/err_cnt_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.cc:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:33:12: style: The destructor '~TestEvtNotifReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.cc:167:17: style: Local variable 'dv_ind' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.cc:63:12: note: Shadowed declaration ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/evt_notif_read_write.cc:167:17: note: Shadow variable ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.cc:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:33:12: style: The destructor '~TestFanRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.cc:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:33:12: style: The destructor '~TestFanReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/fan_read_write.cc:65:11: style: The scope of the variable 'new_speed' can be reduced. [variableScope] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.cc:73:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.cc:96:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:33:12: style: The destructor '~TestFrequenciesRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read.cc:64:66: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.cc:74:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_CLK_TYPE_SYS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:33:12: style: The destructor '~TestFrequenciesReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/frequencies_read_write.cc:71:12: style: The scope of the variable 'freq_bitmask' can be reduced. [variableScope] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.cc:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:33:12: style: The destructor '~TestGPUBusyRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_busy_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.cc:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:32:12: style: The destructor '~TestGPUCacheRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:32:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:35:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:35:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:38:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:38:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:41:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:41:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:44:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:44:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:47:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:47:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:33:12: style: The destructor '~TestGpuMetricsRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:47:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_cache_read.h:47:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.cc:76:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.cc:307:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.cc:318:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.cc:329:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.cc:340:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.cc:351:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.cc:362:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.cc:373:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.cc:384:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_metrics_read.cc:395:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:74:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:113:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:33:12: style: The destructor '~TestGpuPartitionMetricsRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:334:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:345:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:356:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:367:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:378:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:389:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:400:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:411:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/gpu_partition_metrics_read.cc:422:22: style: Variable 'row' can be declared as reference to const [constVariableReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.cc:81:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:33:12: style: The destructor '~TestHWTopologyRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/hw_topology_read.cc:436:15: style: Variable 'topology_link_type_str' can be declared as const array [constVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.cc:84:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:33:12: style: The destructor '~TestIdInfoRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/id_info_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:50:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_INIT_AMD_GPUS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:62:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:72:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_INIT_AMD_GPUS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:126:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:33:14: style: The destructor '~TestConcurrentInit' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:33:14: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:36:18: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:36:18: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:39:18: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:39:18: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:42:18: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:42:18: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:45:18: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:45:18: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:48:18: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:48:18: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:42:18: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.h:42:18: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:172:21: style: Local variable 'err' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:157:19: note: Shadowed declaration ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:172:21: note: Shadow variable ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:183:9: style: Local variable 'err' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:157:19: note: Shadowed declaration ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:183:9: note: Shadow variable ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:203:9: style: Local variable 'err' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:157:19: note: Shadowed declaration ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/init_shutdown_refcount.cc:203:9: note: Shadow variable ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.cc:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:33:12: style: The destructor '~TestMemPageInfoRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_page_info_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.cc:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:33:12: style: The destructor '~TestMemUtilRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mem_util_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:52:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:33:12: style: The destructor '~TestMemoryPartitionReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:202:28: style: Condition 'nps_caps_str.empty()' is always true [knownConditionTrueFalse] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:349:30: style: Condition 'nps_caps_str.empty()' is always true [knownConditionTrueFalse] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:607:52: style: Condition 'memory_caps_str.empty()' is always true [knownConditionTrueFalse] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:422:10: style: The scope of the variable 'wasSetSuccess' can be reduced. [variableScope] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:327:19: style: Local variable 'profile_type_str' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:215:17: note: Shadowed declaration ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:327:19: note: Shadow variable ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:340:19: style: Local variable 'nps_caps_str' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:193:17: note: Shadowed declaration ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:340:19: note: Shadow variable ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:834:10: style: Local variable 'ret_set' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:155:29: note: Shadowed declaration ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/memorypartition_read_write.cc:834:10: note: Shadow variable ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.cc:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:33:12: style: The destructor '~TestMetricsCounterRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/metrics_counter_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.cc:69:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.cc:124:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.cc:34:22: warning: Member variable 'TestMutualExclusion::sleeper_process_' is not initialized in the constructor. [uninitMemberVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.cc:34:22: warning: Member variable 'TestMutualExclusion::child_' is not initialized in the constructor. [uninitMemberVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:33:12: style: The destructor '~TestMutualExclusion' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.cc:177:9: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.cc:173:9: note: ret is assigned ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/mutual_exclusion.cc:177:9: note: ret is overwritten ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.cc:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:33:12: style: The destructor '~TestOverdriveRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.cc:68:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:33:12: style: The destructor '~TestOverdriveReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/overdrive_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.cc:74:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:33:12: style: The destructor '~TestPciReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/pci_read_write.cc:69:12: style: The scope of the variable 'freq_bitmask' can be reduced. [variableScope] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:93:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:138:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:213:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:323:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:86:29: style:inconclusive: Technically the member function 'TestPerfCntrReadWrite::CountEvents' can be const. [functionConst] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:53:8: note: Technically the member function 'TestPerfCntrReadWrite::CountEvents' can be const. ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:86:29: note: Technically the member function 'TestPerfCntrReadWrite::CountEvents' can be const. ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:35:12: style: The destructor '~TestPerfCntrReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:35:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:38:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:38:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:41:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:41:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:44:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:44:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:47:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:47:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:50:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:50:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:44:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:44:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:50:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:50:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.h:70:17: performance: Function 'name()' should return member 'name_' by const reference. [returnByReference] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:333:7: style: Exception should be caught by reference. [catchExceptionByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:249:14: style: The scope of the variable 'num_created' can be reduced. [variableScope] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:35:36: performance: Function parameter 'name' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:177:23: performance: Range variable 'grp' should be declared as const reference. [iterateByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:223:23: performance: Range variable 'grp' should be declared as const reference. [iterateByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:249:26: style: Variable 'num_created' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_cntr_read_write.cc:281:13: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.cc:73:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:33:12: style: The destructor '~TestPerfDeterminism' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_determinism.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.cc:70:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:33:12: style: The destructor '~TestPerfLevelRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.cc:73:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:33:12: style: The destructor '~TestPerfLevelReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/perf_level_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.cc:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.cc:129:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:36:12: style: The destructor '~TestPowerCapReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:36:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:39:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:42:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:45:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:48:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:51:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:51:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:45:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:51:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.h:51:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.cc:155:31: style: Local variable 'info' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.cc:137:29: note: Shadowed declaration ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.cc:155:31: note: Shadow variable ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_cap_read_write.cc:69:58: performance: Function parameter 'msg' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.cc:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:33:12: style: The destructor '~TestPowerRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.cc:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:33:12: style: The destructor '~TestPowerReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/power_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.cc:64:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.cc:76:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:33:12: style: The destructor '~TestProcInfoRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.cc:80:12: style: The scope of the variable 'num_devices' can be reduced. [variableScope] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.cc:152:16: style: The scope of the variable 'i' can be reduced. [variableScope] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/process_info_read.cc:62:48: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.cc:75:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:33:12: style: The destructor '~TestSysInfoRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/sys_info_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.cc:130:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:33:12: style: The destructor '~TestTempRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/temp_read.cc:140:71: performance: Function parameter 'label' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.cc:65:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:33:12: style: The destructor '~TestVersionRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/version_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:65:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:73:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:79:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:86:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_NUM_VOLTAGE_CURVE_POINTS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:94:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable basefield [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:117:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:33:12: style: The destructor '~TestVoltCurvRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:62:36: performance: Function parameter 'title' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:70:35: performance: Function parameter 'title' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:62:59: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:70:58: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_freq_curv_read.cc:78:47: style: Parameter 'pt' can be declared as pointer to const [constParameterPointer] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.cc:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:33:12: style: The destructor '~TestVoltRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.cc:108:19: style: Local variable 'i' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.cc:77:17: note: Shadowed declaration ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.cc:108:19: note: Shadow variable ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/volt_read.cc:81:69: performance: Function parameter 'label' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.cc:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:33:12: style: The destructor '~TestXGMIReadWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:39:12: note: Virtual destructor in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:33:12: note: Destructor in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:36:16: style: The function 'SetUp' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:48:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:36:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:39:16: style: The function 'Run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:51:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:39:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:45:16: style: The function 'DisplayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:57:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:45:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:42:16: style: The function 'Close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:54:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:42:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:48:16: style: The function 'DisplayTestInfo' overrides a function in a base class but just delegates back to the base class. [uselessOverride] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:60:16: note: Virtual function in base class ROCm-amdsmi-49f4715/tests/amd_smi_test/functional/xgmi_read_write.h:48:16: note: Function in derived class ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:71:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_INIT_AMD_GPUS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:89:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:177:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:321:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:378:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable profile_type [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:422:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:158:25: warning: Either the condition 'num_monitor_devs_>=128' is redundant or the array 'processor_handles_[128]' is accessed at index 128, which is out of bounds. [arrayIndexOutOfBoundsCond] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:154:29: note: Assuming that condition 'num_monitor_devs_>=128' is not redundant ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:158:25: note: Array index out of bounds ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:52:11: warning: Member variable 'TestBase::num_monitor_devs_' is not initialized in the constructor. [uninitMemberVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:52:11: warning: Member variable 'TestBase::socket_count_' is not initialized in the constructor. [uninitMemberVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:52:11: warning: Member variable 'TestBase::verbosity_' is not initialized in the constructor. [uninitMemberVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:52:11: warning: Member variable 'TestBase::dont_fail_' is not initialized in the constructor. [uninitMemberVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:52:11: warning: Member variable 'TestBase::init_options_' is not initialized in the constructor. [uninitMemberVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:52:11: warning: Member variable 'TestBase::num_iterations_' is not initialized in the constructor. [uninitMemberVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:420:20: style: The member function 'TestBase::promptNumDevicesToTest' can be static. [functionStatic] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:138:12: note: The member function 'TestBase::promptNumDevicesToTest' can be static. ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:420:20: note: The member function 'TestBase::promptNumDevicesToTest' can be static. ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:451:23: style: The member function 'TestBase::getResourceType' can be static. [functionStatic] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.h:140:15: note: The member function 'TestBase::getResourceType' can be static. ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:451:23: note: The member function 'TestBase::getResourceType' can be static. ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:352:10: style: The scope of the variable 'endlptr' can be reduced. [variableScope] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:348:44: performance: Function parameter 'd' should be passed by const reference. [passedByValue] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_base.cc:377:34: style: Variable 'profile_type_str' is assigned a value that is never used. [unreadVariable] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_common.cc:129:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_common.cc:158:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_common.cc:200:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDSMI_CLK_TYPE__MAX [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/tests/amd_smi_test/test_common.cc:144:7: style: The scope of the variable 'a' can be reduced. [variableScope] ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:141:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:323:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:113:5: error: Memory leak: mutex_ptr [memleak] ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:117:5: error: Memory leak: mutex_ptr [memleak] ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:122:5: error: Memory leak: mutex_ptr [memleak] ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:126:5: error: Memory leak: mutex_ptr [memleak] ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:244:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:281:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:283:15: style: Local variable 'ret' shadows outer variable [shadowVariable] ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:199:7: note: Shadowed declaration ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:283:15: note: Shadow variable ROCm-amdsmi-49f4715/third_party/shared_mutex/shared_mutex.cc:267:23: style: Variable 'mutex.created' is assigned a value that is never used. [unreadVariable] diff: DONE