2025-05-09 02:45 ftp://ftp.de.debian.org/debian/pool/main/y/yara/yara_4.5.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 936 936 elapsed-time: 15.8 16.5 head-timing-info: old-timing-info: head results: yara-4.5.2/cli/args.c:162:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/args.c:266:51: style:inconclusive: Function 'args_print_usage' argument 2 names different: declaration 'alignment' definition 'help_alignment'. [funcArgNamesDifferent] yara-4.5.2/cli/args.h:106:53: note: Function 'args_print_usage' argument 2 names different: declaration 'alignment' definition 'help_alignment'. yara-4.5.2/cli/args.c:266:51: note: Function 'args_print_usage' argument 2 names different: declaration 'alignment' definition 'help_alignment'. yara-4.5.2/cli/args.c:288:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] yara-4.5.2/cli/common.c:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/common.c:144:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/threading.c:98:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sem_t [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/threading.c:128:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SCAN_TIMEOUT [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/threading.c:104:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] yara-4.5.2/cli/threading.c:127:15: style: Checking if unsigned expression 'timeout' is less than zero. [unsignedLessThanZero] yara-4.5.2/cli/threading.c:123:53: style:inconclusive: Function 'cli_semaphore_wait' argument 2 names different: declaration 'abs_timeout' definition 'deadline'. [funcArgNamesDifferent] yara-4.5.2/cli/threading.h:79:53: note: Function 'cli_semaphore_wait' argument 2 names different: declaration 'abs_timeout' definition 'deadline'. yara-4.5.2/cli/threading.c:123:53: note: Function 'cli_semaphore_wait' argument 2 names different: declaration 'abs_timeout' definition 'deadline'. yara-4.5.2/cli/threading.c:180:30: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] yara-4.5.2/cli/yara.c:430:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_MAX_THREADS [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:435:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SCAN_TIMEOUT [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:453:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SCAN_TIMEOUT [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:663:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:745:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:762:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:854:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:900:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:923:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YARA_ERROR_LEVEL_ERROR [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:965:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:1045:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_MSG_RULE_MATCHING [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:1207:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_CONTINUE [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:1298:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:1352:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:1420:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_VERSION [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yara.c:668:25: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] yara-4.5.2/cli/yara.c:686:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] yara-4.5.2/cli/yara.c:699:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] yara-4.5.2/cli/yara.c:733:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] yara-4.5.2/cli/yara.c:1249:14: style: Condition 'rule!=NULL' is always true [knownConditionTrueFalse] yara-4.5.2/cli/yara.c:677:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: full_path [nullPointerOutOfMemory] yara-4.5.2/cli/yara.c:670:29: note: Assuming allocation function fails yara-4.5.2/cli/yara.c:670:29: note: Assignment 'full_path=calloc(YR_MAX_PATH,sizeof(char))', assigned value is 0 yara-4.5.2/cli/yara.c:677:16: note: Null pointer dereference yara-4.5.2/cli/yara.c:679:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: full_path [nullPointerOutOfMemory] yara-4.5.2/cli/yara.c:670:29: note: Assuming allocation function fails yara-4.5.2/cli/yara.c:670:29: note: Assignment 'full_path=calloc(YR_MAX_PATH,sizeof(char))', assigned value is 0 yara-4.5.2/cli/yara.c:679:23: note: Null pointer dereference yara-4.5.2/cli/yara.c:668:20: style: Variable 'de' can be declared as pointer to const [constVariablePointer] yara-4.5.2/cli/yara.c:894:12: style: Variable 'rule' can be declared as pointer to const [constVariablePointer] yara-4.5.2/cli/yara.c:895:14: style: Variable 'string' can be declared as pointer to const [constVariablePointer] yara-4.5.2/cli/yara.c:921:9: style: Variable 'msg_type' can be declared as pointer to const [constVariablePointer] yara-4.5.2/cli/yara.c:1179:14: style: Variable 'string' can be declared as pointer to const [constVariablePointer] yara-4.5.2/cli/yara.c:1180:12: style: Variable 'rule' can be declared as pointer to const [constVariablePointer] yara-4.5.2/cli/yara.c:1298:14: style: Variable 'result' is assigned a value that is never used. [unreadVariable] yara-4.5.2/cli/yarac.c:141:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YARA_ERROR_LEVEL_ERROR [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yarac.c:187:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_VERSION [valueFlowBailoutIncompleteVar] yara-4.5.2/cli/yarac.c:139:9: style: Variable 'msg_type' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/ahocorasick.c:74:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INSUFFICIENT_MEMORY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/ahocorasick.c:175:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_AC_STATE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/ahocorasick.c:208:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/ahocorasick.c:325:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/ahocorasick.c:397:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/ahocorasick.c:441:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_AC_MAX_TRANSITION_TABLE_SIZE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/ahocorasick.c:542:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_BITMASK [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/ahocorasick.c:736:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_AC_AUTOMATON [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/ahocorasick.c:774:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/ahocorasick.c:801:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INSUFFICIENT_MEMORY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/ahocorasick.c:852:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/ahocorasick.c:130:41: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/ahocorasick.c:146:52: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/ahocorasick.c:333:52: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/ahocorasick.c:333:69: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/ahocorasick.c:337:16: style: Variable 'state' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/ahocorasick.c:363:59: style: Parameter 'automaton' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/ahocorasick.c:409:18: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/ahocorasick.c:416:16: style: Variable 'child_state' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/ahocorasick.c:782:22: style: Parameter 'automaton' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/arena.c:83:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/arena.c:140:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/arena.c:238:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_ARENA [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/arena.c:276:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/arena.c:392:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/arena.c:418:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable used [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/arena.c:430:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable used [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/arena.c:435:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_ARENA_NULL_REF [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/arena.c:514:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/arena.c:548:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_FILE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/arena.c:636:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_ARENA_FILE_VERSION [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/arena.c:598:22: style: Variable 'b' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/arena.c:665:13: style: Variable 'reloc' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/atoms.c:113:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_MAX_ATOM_LENGTH [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_MAX_ATOM_LENGTH [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:315:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_MAX_ATOM_QUALITY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:341:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_ATOM_TREE_NODE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:366:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATOM_TREE_OR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:504:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_MAX_ATOM_LENGTH [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:529:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_MIN_ATOM_QUALITY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:704:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_MAX_ATOM_LENGTH [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:774:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_ATOM_LIST_ITEM [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:818:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_ATOM_LIST_ITEM [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:899:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_MAX_ATOM_LENGTH [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:1173:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_ATOM_LIST_ITEM [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:1253:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INSUFFICIENT_MEMORY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:1282:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_ATOM_TREE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:1382:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_ATOM_LIST_ITEM [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:1507:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATOM_TREE_AND [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/atoms.c:254:45: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/atoms.c:876:13: style: Parameter 're_ast' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/atoms.c:1170:72: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/base64.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZED_STRING [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/base64.c:147:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZED_STRING [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/base64.c:219:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE64_NODE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/base64.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INSUFFICIENT_MEMORY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/base64.c:393:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRING_FLAGS_WIDE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/base64.c:49:19: style: Parameter 'alphabet' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/base64.c:57:12: style: Variable 'end' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/base64.c:58:9: style: Variable 'alphabet_str' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/base64.c:130:19: style: Parameter 'encoded_str' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/base64.c:137:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/base64.c:182:51: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/base64.c:264:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/bitmask.c:74:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_BITMASK_SLOT_BITS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/bitmask.c:59:17: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/compiler.c:89:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:162:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_RULES_TABLE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:188:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_SZ_POOL [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:222:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_COMPILER [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:311:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_object_destroy [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:396:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_atoms_table_quality [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:417:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_COULD_NOT_OPEN_FILE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:464:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INCLUDES_CIRCULAR_REFERENCE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:497:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vars_count [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:521:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_NAMESPACES_TABLE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:587:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:622:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:652:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:676:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:687:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_HALT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:742:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:753:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:815:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTERNAL_VARIABLE_TYPE_INTEGER [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:831:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTERNAL_VARIABLE_TYPE_BOOLEAN [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:847:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTERNAL_VARIABLE_TYPE_FLOAT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:863:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTERNAL_VARIABLE_TYPE_STRING [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:1042:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_CONFIG_MAX_STRINGS_PER_RULE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/compiler.c:1043:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] yara-4.5.2/libyara/compiler.c:873:18: style: Parameter 'compiler' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/exec.c:473:3: error: There is an unknown macro here somewhere. Configuration is required. If FAIL_ON_ERROR_WITH_CLEANUP is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/exefiles.c:54:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAGE_DOS_HEADER [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/exefiles.c:105:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAGE_SECTION_HEADER [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/exefiles.c:131:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable elf_ident_t [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/exefiles.c:170:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELF_ET_EXEC [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/exefiles.c:273:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELF_ET_EXEC [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/exefiles.c:379:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/exefiles.c:397:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAGE_FILE_DLL [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/exefiles.c:389:19: style: Variable 'elf_header32' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/exefiles.c:390:19: style: Variable 'elf_header64' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/filemap.c:207:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/filemap.c:325:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] libyara/grammar.y:2821:58: error: syntax error [syntaxError] yara-4.5.2/libyara/hash.c:183:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_HASH_TABLE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/hash.c:251:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INTERNAL_FATAL_ERROR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/hash.c:301:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_HASH_TABLE_ENTRY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/hash.c:402:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] hex_grammar.y:122:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NODE_CONCAT [valueFlowBailoutIncompleteVar] hex_grammar.c:935:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] hex_grammar.c:1072:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] hex_grammar.c:1014:31: note: 'yystate' is assigned value '0' here. hex_grammar.c:1072:3: note: The comparison '0 <= yystate' is always true. libyara/hex_lexer.c:1025:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libyara/hex_lexer.c:1535:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libyara/hex_lexer.c:1847:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libyara/hex_lexer.c:2092:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libyara/hex_lexer.c:2280:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libyara/hex_lexer.c:2311:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libyara/hex_lexer.l:228:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_yyfatal_trampoline_tls [valueFlowBailoutIncompleteVar] libyara/hex_lexer.l:244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] libyara/hex_lexer.l:265:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] libyara/hex_lexer.c:2390:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libyara/hex_lexer.c:1535:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] libyara/hex_lexer.c:1535:3: note: c is initialized libyara/hex_lexer.c:1535:3: note: c is overwritten libyara/hex_lexer.l:103:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:113:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:122:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:132:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:141:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:151:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:161:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:170:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:179:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:188:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:223:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:232:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:241:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:256:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:270:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.l:279:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/hex_lexer.c:1615:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] libyara/hex_lexer.c:569:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. libyara/hex_lexer.c:1615:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. libyara/hex_lexer.c:2041:46: style:inconclusive: Function 'hex_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] libyara/hex_lexer.c:530:46: note: Function 'hex_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. libyara/hex_lexer.c:2041:46: note: Function 'hex_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. libyara/hex_lexer.c:2054:46: style:inconclusive: Function 'hex_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] libyara/hex_lexer.c:531:45: note: Function 'hex_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. libyara/hex_lexer.c:2054:46: note: Function 'hex_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. libyara/hex_lexer.c:2054:60: style:inconclusive: Function 'hex_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] libyara/hex_lexer.c:531:56: note: Function 'hex_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. libyara/hex_lexer.c:2054:60: note: Function 'hex_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. libyara/hex_lexer.c:2251:24: style:inconclusive: Function 'hex_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] libyara/hex_lexer.c:837:24: note: Function 'hex_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. libyara/hex_lexer.c:2251:24: note: Function 'hex_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. libyara/hex_lexer.c:2277:26: style:inconclusive: Function 'hex_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] libyara/hex_lexer.c:826:27: note: Function 'hex_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/hex_lexer.c:2277:26: note: Function 'hex_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/hex_lexer.c:2304:37: style:inconclusive: Function 'hex_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. [funcArgNamesDifferent] libyara/hex_lexer.c:828:38: note: Function 'hex_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. libyara/hex_lexer.c:2304:37: note: Function 'hex_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. libyara/hex_lexer.c:2304:64: style:inconclusive: Function 'hex_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] libyara/hex_lexer.c:828:62: note: Function 'hex_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/hex_lexer.c:2304:64: note: Function 'hex_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/hex_lexer.c:1004:1: style: Parameter 'yylval_param' can be declared as pointer to const [constParameterPointer] libyara/hex_lexer.c:1447:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] libyara/hex_lexer.c:2120:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/hex_lexer.c:2155:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/hex_lexer.c:2164:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/hex_lexer.c:2173:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/hex_lexer.c:2183:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/hex_lexer.c:2247:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/hex_lexer.c:2261:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/lexer.c:1297:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libyara/lexer.c:2498:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libyara/lexer.c:2810:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libyara/lexer.c:3055:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libyara/lexer.c:3243:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libyara/lexer.c:3274:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libyara/lexer.l:794:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_RULES_TABLE [valueFlowBailoutIncompleteVar] libyara/lexer.l:851:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_RULES_TABLE [valueFlowBailoutIncompleteVar] libyara/lexer.l:901:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INSUFFICIENT_MEMORY [valueFlowBailoutIncompleteVar] libyara/lexer.l:933:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INSUFFICIENT_MEMORY [valueFlowBailoutIncompleteVar] libyara/lexer.l:965:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INSUFFICIENT_MEMORY [valueFlowBailoutIncompleteVar] libyara/lexer.l:1009:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_COULD_NOT_READ_FILE [valueFlowBailoutIncompleteVar] libyara/lexer.c:3353:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libyara/lexer.l:886:3: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] libyara/lexer.c:2498:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] libyara/lexer.c:2498:3: note: c is initialized libyara/lexer.c:2498:3: note: c is overwritten libyara/lexer.l:166:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:171:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:176:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:181:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:186:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:191:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:196:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:201:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:206:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:211:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:216:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:221:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:226:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:231:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:236:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:241:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:246:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:251:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:256:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:261:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:266:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:271:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:276:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:281:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:286:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:291:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:296:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:301:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:306:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:311:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:316:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:321:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:326:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:331:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:336:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:341:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:346:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:351:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:356:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:361:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:366:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:371:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:376:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:381:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:386:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:391:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:396:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:582:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:595:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:608:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:627:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:646:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:665:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:706:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:722:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:765:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:773:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:792:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:811:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:828:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:941:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.l:1021:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/lexer.c:2578:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] libyara/lexer.c:569:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. libyara/lexer.c:2578:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. libyara/lexer.c:3004:46: style:inconclusive: Function 'yara_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] libyara/lexer.c:530:46: note: Function 'yara_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. libyara/lexer.c:3004:46: note: Function 'yara_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. libyara/lexer.c:3017:46: style:inconclusive: Function 'yara_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] libyara/lexer.c:531:45: note: Function 'yara_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. libyara/lexer.c:3017:46: note: Function 'yara_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. libyara/lexer.c:3017:60: style:inconclusive: Function 'yara_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] libyara/lexer.c:531:56: note: Function 'yara_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. libyara/lexer.c:3017:60: note: Function 'yara_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. libyara/lexer.c:3214:24: style:inconclusive: Function 'yara_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] libyara/lexer.c:1109:24: note: Function 'yara_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. libyara/lexer.c:3214:24: note: Function 'yara_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. libyara/lexer.c:3240:26: style:inconclusive: Function 'yara_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] libyara/lexer.c:1098:27: note: Function 'yara_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/lexer.c:3240:26: note: Function 'yara_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/lexer.c:3267:37: style:inconclusive: Function 'yara_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. [funcArgNamesDifferent] libyara/lexer.c:1100:38: note: Function 'yara_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. libyara/lexer.c:3267:37: note: Function 'yara_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. libyara/lexer.c:3267:64: style:inconclusive: Function 'yara_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] libyara/lexer.c:1100:62: note: Function 'yara_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/lexer.c:3267:64: note: Function 'yara_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/lexer.c:2410:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] libyara/lexer.c:3083:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/lexer.c:3118:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/lexer.c:3127:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/lexer.c:3136:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/lexer.c:3146:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/lexer.c:3210:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/lexer.c:3224:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/lexer.l:125:11: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] libyara/lexer.l:431:3: style: Variable 'yptr' can be declared as pointer to const [constVariablePointer] libyara/lexer.l:537:13: style: Variable 'err_msg_fmt' can be declared as pointer to const [constVariablePointer] libyara/lexer.l:895:3: style: Variable 'yptr' can be declared as pointer to const [constVariablePointer] libyara/lexer.l:970:3: style: Variable 'yptr' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/libyara.c:243:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/libyara.c:325:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/libyara.c:398:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INTERNAL_FATAL_ERROR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/libyara.c:441:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/libyara.c:457:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/libyara.c:488:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/libyara.c:531:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/libyara.c:547:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/libyara.c:72:12: style: struct member 'yr_config_var::sz' is never used. [unusedStructMember] yara-4.5.2/libyara/libyara.c:75:11: style: struct member 'yr_config_var::str' is never used. [unusedStructMember] yara-4.5.2/libyara/mem.c:117:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/mem.c:122:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules.c:70:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules.c:83:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules.c:102:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_UNKNOWN_MODULE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules.c:118:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules.c:193:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:38:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/console/console.c:84:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/console/console.c:125:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/console/console.c:145:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/console/console.c:166:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/console/console.c:186:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/console/console.c:207:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/console/console.c:227:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/console/console.c:52:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_MSG_CONSOLE_LOG [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:99:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:135:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:156:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:176:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:197:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:217:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:238:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:261:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:266:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:275:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:280:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/console/console.c:259:34: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/console/console.c:264:32: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/console/console.c:270:22: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/console/console.c:271:16: style: Parameter 'module_object' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/console/console.c:272:11: style: Parameter 'module_data' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/console/console.c:278:30: style: Parameter 'module_object' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/cuckoo/cuckoo.c:380:3: error: There is an unknown macro here somewhere. Configuration is required. If end_struct is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/modules/demo/demo.c:41:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/demo/demo.c:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/demo/demo.c:59:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/demo/demo.c:65:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/demo/demo.c:39:34: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/demo/demo.c:45:32: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/demo/demo.c:63:30: style: Parameter 'module_object' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/dex/dex.c:244:3: error: There is an unknown macro here somewhere. Configuration is required. If begin_struct is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/modules/dotnet/dotnet.c:3368:3: error: There is an unknown macro here somewhere. Configuration is required. If begin_struct_array is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/modules/elf/elf.c:878:3: error: There is an unknown macro here somewhere. Configuration is required. If begin_struct_array is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/modules/hash/hash.c:165:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/hash/hash.c:190:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/hash/hash.c:215:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/hash/hash.c:240:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/hash/hash.c:260:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/hash/hash.c:390:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/hash/hash.c:519:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/hash/hash.c:647:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/hash/hash.c:717:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/hash/hash.c:738:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/hash/hash.c:121:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:147:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INSUFFICIENT_MEMORY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:167:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_MD5_LEN [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:192:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_SHA256_LEN [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:217:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_SHA1_LEN [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:251:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:264:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_MD5_LEN [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:394:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_SHA1_LEN [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:523:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_SHA256_LEN [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:654:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:729:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:750:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:830:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:837:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:848:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:861:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/hash/hash.c:92:20: style: Parameter 'digest' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/macho/macho.c:1265:3: error: There is an unknown macro here somewhere. Configuration is required. If begin_struct_array is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/modules/magic/magic.c:88:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/magic/magic.c:127:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/magic/magic.c:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INSUFFICIENT_MEMORY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/magic/magic.c:96:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCAN_FLAGS_PROCESS_MEMORY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/magic/magic.c:135:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCAN_FLAGS_PROCESS_MEMORY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/magic/magic.c:195:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/magic/magic.c:214:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/magic/magic.c:190:22: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/magic/magic.c:191:16: style: Parameter 'module_object' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/magic/magic.c:192:11: style: Parameter 'module_data' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/math/math.c:169:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:200:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:236:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:250:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:278:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:290:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:317:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:407:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:445:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:534:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:579:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:593:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:601:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:609:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:614:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:619:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:640:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:659:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:685:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:709:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:734:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:756:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:764:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/math/math.c:179:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:216:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:266:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:305:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:332:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:464:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:573:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:626:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:645:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:666:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:690:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:719:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:741:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:760:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:773:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:817:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:822:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:832:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:837:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/math/math.c:78:16: style: Condition 'offset>=block->base' is always true [knownConditionTrueFalse] yara-4.5.2/libyara/modules/math/math.c:70:59: note: Assuming that condition 'offsetbase' is not redundant yara-4.5.2/libyara/modules/math/math.c:78:16: note: Condition 'offset>=block->base' is always true yara-4.5.2/libyara/modules/math/math.c:784:3: warning: snprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] yara-4.5.2/libyara/modules/math/math.c:127:52: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/math/math.c:238:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/modules/math/math.c:769:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/modules/math/math.c:815:34: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/math/math.c:820:32: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/math/math.c:835:30: style: Parameter 'module_object' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/math/math.c:411:16: style: Variable 'sccun' is assigned a value that is never used. [unreadVariable] yara-4.5.2/libyara/modules/pb_tests/pb_tests.c:22:5: error: There is an unknown macro here somewhere. Configuration is required. If begin_struct is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:13:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST__STRUCT__NESTED_STRUCT__INIT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:18:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST__STRUCT__INIT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:23:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__struct__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:29:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__struct__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:36:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__struct__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:46:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__struct__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:54:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__struct__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:59:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST__MAP_STRUCT__INIT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:64:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__map_struct__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:70:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__map_struct__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:77:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__map_struct__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:87:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__map_struct__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:95:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__map_struct__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:102:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST__ROOT_MESSAGE__FMAP_INT32_ENTRY__INIT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:109:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST__ROOT_MESSAGE__FMAP_BOOL_ENTRY__INIT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:116:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST__ROOT_MESSAGE__FMAP_STRING_ENTRY__INIT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:123:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST__ROOT_MESSAGE__FMAP_FLOAT_ENTRY__INIT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:130:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST__ROOT_MESSAGE__FMAP_STRUCT_ENTRY__INIT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:135:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST__ROOT_MESSAGE__INIT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:140:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__root_message__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:146:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__root_message__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:153:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__root_message__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:163:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__root_message__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:171:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test__root_message__descriptor [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:906:15: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] yara-4.5.2/libyara/modules/pb_tests/pb_tests.pb-c.c:920:15: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] yara-4.5.2/libyara/modules/pe/authenticode-parser/structs.h:96:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ASN1_FUNCTIONS is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/modules/pe/authenticode-parser/certificate.c:356:45: debug: Function::addArguments found argument 'X509' with varid 0. [varid0] yara-4.5.2/libyara/modules/pe/authenticode-parser/certificate.c:107:63: debug: Function::addArguments found argument 'X509' with varid 0. [varid0] yara-4.5.2/libyara/modules/pe/authenticode-parser/certificate.c:109:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable certs [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pe/authenticode-parser/certificate.c:274:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pe/authenticode-parser/certificate.c:358:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable certs [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pe/authenticode-parser/certificate.c:107:44: style:inconclusive: Function 'parse_signer_chain' argument 1 names different: declaration 'signer_cert' definition 'signCert'. [funcArgNamesDifferent] yara-4.5.2/libyara/modules/pe/authenticode-parser/certificate.h:39:44: note: Function 'parse_signer_chain' argument 1 names different: declaration 'signer_cert' definition 'signCert'. yara-4.5.2/libyara/modules/pe/authenticode-parser/certificate.c:107:44: note: Function 'parse_signer_chain' argument 1 names different: declaration 'signer_cert' definition 'signCert'. yara-4.5.2/libyara/modules/pe/authenticode-parser/certificate.c:63:22: style: Variable 'asn1String' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/modules/pe/authenticode-parser/certificate.c:188:14: style: Variable 'serial_bytes' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/modules/pe/authenticode-parser/certificate.c:333:51: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/pe/pe.c:3724:3: error: There is an unknown macro here somewhere. Configuration is required. If begin_struct_array is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/modules/pe/pe_utils.c:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMAGE_DOS_HEADER [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pe/pe_utils.c:95:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DataDirectory [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pe/pe_utils.c:122:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PE_SECTIONS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/pe/pe_utils.c:226:26: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/pe/pe_utils.c:257:24: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/pe/pe_utils.c:117:17: style: Variable 'alignment' is assigned a value that is never used. [unreadVariable] yara-4.5.2/libyara/modules/pe/pe_utils.c:118:12: style: Variable 'rest' is assigned a value that is never used. [unreadVariable] yara-4.5.2/libyara/modules/string/string.c:62:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/string/string.c:74:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/string/string.c:90:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/string/string.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/string/string.c:70:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/string/string.c:81:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/string/string.c:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/string/string.c:109:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/string/string.c:118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/string/string.c:123:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/string/string.c:102:34: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/string/string.c:107:32: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/string/string.c:113:22: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/string/string.c:114:16: style: Parameter 'module_object' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/string/string.c:115:11: style: Parameter 'module_data' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/string/string.c:121:30: style: Parameter 'module_object' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/tests/tests.c:110:3: error: There is an unknown macro here somewhere. Configuration is required. If end_struct is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/modules/time/time.c:36:1: portability: Omitted return type of function 'define_function' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] yara-4.5.2/libyara/modules/time/time.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_UNDEFINED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/time/time.c:52:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/time/time.c:58:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/time/time.c:68:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/time/time.c:74:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/modules/time/time.c:50:34: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/time/time.c:56:32: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/time/time.c:63:22: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/time/time.c:64:16: style: Parameter 'module_object' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/time/time.c:65:11: style: Parameter 'module_data' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/modules/time/time.c:72:30: style: Parameter 'module_object' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/notebook.c:70:3: error: There is an unknown macro here somewhere. Configuration is required. If YR_ALIGN is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/object.c:594:7: error: There is an unknown macro here somewhere. Configuration is required. If FAIL_ON_ERROR_WITH_CLEANUP is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/parser.c:233:29: error: syntax error [syntaxError] yara-4.5.2/libyara/proc.c:42:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/proc.c:86:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:106:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_altercase [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:126:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NODE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:155:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NODE_CLASS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:194:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_AST [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:252:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_UNKNOWN_ESCAPE_SEQUENCE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:313:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NODE_LITERAL [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:367:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NODE_STAR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:475:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NODE_CONCAT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:529:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_RE_CODE_SECTION [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:546:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_RE_CODE_SECTION [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:570:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_RE_CODE_SECTION [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:594:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_RE_CODE_SECTION [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:618:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_RE_CODE_SECTION [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:643:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_RE_CODE_SECTION [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:665:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_OPCODE_SPLIT_A [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:723:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_ARENA_NULL_REF [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:1219:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:1236:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_MAX_FIBERS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:1365:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:1459:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_MAX_SPLIT_ID [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:1753:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_FLAGS_WIDE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:2103:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_FAST_EXEC_POSITION [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:2182:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_FLAGS_BACKWARDS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/re.c:2182:47: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] yara-4.5.2/libyara/re.c:2237:27: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] yara-4.5.2/libyara/re.c:2395:23: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] yara-4.5.2/libyara/re.c:280:47: style: Parameter 're' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/re.c:309:12: style: Variable 'child' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/re.c:1287:20: style: Parameter 'fiber_list' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/re.c:1288:15: style: Parameter 'target_fiber' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/re.c:1289:15: style: Parameter 'last_fiber' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/re.c:1291:13: style: Variable 'fiber' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/re.c:1465:19: style: Variable 'repeat_args' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/re.c:1466:23: style: Variable 'repeat_any_args' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/re.c:1469:13: style: Variable 'last' can be declared as pointer to const [constVariablePointer] re_grammar.y:121:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] re_grammar.c:956:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] re_grammar.c:1081:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] re_grammar.c:1023:31: note: 'yystate' is assigned value '0' here. re_grammar.c:1081:3: note: The comparison '0 <= yystate' is always true. libyara/re_lexer.c:1063:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libyara/re_lexer.c:1825:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libyara/re_lexer.c:2137:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libyara/re_lexer.c:2382:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libyara/re_lexer.c:2570:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libyara/re_lexer.c:2601:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libyara/re_lexer.l:578:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN_ESCAPE_SEQUENCE [valueFlowBailoutIncompleteVar] libyara/re_lexer.l:603:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libyara/re_lexer.l:634:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_yyfatal_trampoline_tls [valueFlowBailoutIncompleteVar] libyara/re_lexer.l:650:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] libyara/re_lexer.l:669:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] libyara/re_lexer.l:690:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] libyara/re_lexer.c:2680:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libyara/re_lexer.c:1825:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] libyara/re_lexer.c:1825:3: note: c is initialized libyara/re_lexer.c:1825:3: note: c is overwritten libyara/re_lexer.l:150:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:171:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:235:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:242:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:249:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:256:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:263:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:270:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:277:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:284:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:291:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:300:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:342:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:527:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.l:550:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libyara/re_lexer.c:1905:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] libyara/re_lexer.c:569:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. libyara/re_lexer.c:1905:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. libyara/re_lexer.c:2331:46: style:inconclusive: Function 're_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] libyara/re_lexer.c:530:46: note: Function 're_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. libyara/re_lexer.c:2331:46: note: Function 're_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. libyara/re_lexer.c:2344:46: style:inconclusive: Function 're_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] libyara/re_lexer.c:531:45: note: Function 're_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. libyara/re_lexer.c:2344:46: note: Function 're_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. libyara/re_lexer.c:2344:60: style:inconclusive: Function 're_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] libyara/re_lexer.c:531:56: note: Function 're_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. libyara/re_lexer.c:2344:60: note: Function 're_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. libyara/re_lexer.c:2541:24: style:inconclusive: Function 're_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] libyara/re_lexer.c:875:24: note: Function 're_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. libyara/re_lexer.c:2541:24: note: Function 're_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. libyara/re_lexer.c:2567:26: style:inconclusive: Function 're_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] libyara/re_lexer.c:864:27: note: Function 're_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/re_lexer.c:2567:26: note: Function 're_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/re_lexer.c:2594:37: style:inconclusive: Function 're_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. [funcArgNamesDifferent] libyara/re_lexer.c:866:38: note: Function 're_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. libyara/re_lexer.c:2594:37: note: Function 're_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. libyara/re_lexer.c:2594:64: style:inconclusive: Function 're_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] libyara/re_lexer.c:866:62: note: Function 're_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/re_lexer.c:2594:64: note: Function 're_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. libyara/re_lexer.c:1042:1: style: Parameter 'yylval_param' can be declared as pointer to const [constParameterPointer] libyara/re_lexer.c:1737:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] libyara/re_lexer.c:2410:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/re_lexer.c:2445:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/re_lexer.c:2454:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/re_lexer.c:2463:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/re_lexer.c:2473:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/re_lexer.c:2537:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/re_lexer.c:2551:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] libyara/re_lexer.l:124:9: style: Variable 'hi_bound_ptr' can be declared as pointer to const [constVariablePointer] libyara/re_lexer.l:499:11: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/rules.c:52:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:81:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:110:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:139:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:207:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:253:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:276:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:296:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:329:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_SUMMARY_SECTION [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:405:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:416:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_COULD_NOT_OPEN_FILE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:440:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_COULD_NOT_OPEN_FILE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:458:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_RULES_STATS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:539:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTERNAL_VARIABLE_TYPE_MALLOC_STRING [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:556:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RULE_FLAGS_DISABLED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:568:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RULE_FLAGS_DISABLED [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/rules.c:227:1: style: Label '_exit' is not used. [unusedLabel] yara-4.5.2/libyara/rules.c:45:15: style: Parameter 'rules' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/rules.c:74:15: style: Parameter 'rules' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/rules.c:103:15: style: Parameter 'rules' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/rules.c:132:15: style: Parameter 'rules' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/rules.c:482:20: style: Variable 'm' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/scan.c:92:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/scan.c:175:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_lowercase [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/scan.c:208:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/scan.c:233:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_lowercase [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/scan.c:273:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable head [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/scan.c:295:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/scan.c:417:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/scan.c:649:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/scan.c:794:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/scan.c:915:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/scan.c:1042:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/scan.c:1055:26: style: Checking if unsigned expression 'data_size-offset' is less than zero. [unsignedLessThanZero] yara-4.5.2/libyara/scan.c:907:18: style: Parameter 'ac_match' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/scanner.c:316:5: error: There is an unknown macro here somewhere. Configuration is required. If FAIL_ON_ERROR_WITH_CLEANUP is a macro then please configure it. [unknownMacro] yara-4.5.2/libyara/simple_str.c:68:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIMPLE_STR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/sizedstr.c:73:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_lowercase [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/sizedstr.c:112:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_lowercase [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/sizedstr.c:150:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_lowercase [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/sizedstr.c:185:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_lowercase [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/sizedstr.c:199:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZED_STRING [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/sizedstr.c:221:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZED_STRING [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/sizedstr.c:242:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZED_STRING [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/sizedstr.c:44:30: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:44:48: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:68:31: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:68:49: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:94:32: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:94:50: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:102:33: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:102:51: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:126:34: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:126:52: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:143:35: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:143:53: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:161:32: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:161:50: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:178:33: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:178:51: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/sizedstr.c:196:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/stack.c:43:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_STACK [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/stack.c:86:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INSUFFICIENT_MEMORY [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/stack.c:78:42: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/strutils.c:214:9: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/strutils.c:215:9: style: Variable 'eos' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/threading.c:126:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INTERNAL_FATAL_ERROR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/threading.c:135:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INTERNAL_FATAL_ERROR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/threading.c:144:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INTERNAL_FATAL_ERROR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/threading.c:153:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INTERNAL_FATAL_ERROR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/threading.c:162:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INTERNAL_FATAL_ERROR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/threading.c:171:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INTERNAL_FATAL_ERROR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/threading.c:180:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INTERNAL_FATAL_ERROR [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh.c:7:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Tlsh [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:145:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:432:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLSH_OPTION_PRIVATE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:701:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:813:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTERNAL_TLSH_STRING_LEN [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:860:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLSH_STRING_LEN_REQ [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:906:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLSH_STRING_LEN_REQ [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:987:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLSH_CHECKSUM_LEN [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:1000:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODE_SIZE [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:1028:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFF_BUCKETS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:1061:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLSH_CHECKSUM_LEN [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:1090:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFF_BUCKETS [valueFlowBailoutIncompleteVar] yara-4.5.2/libyara/tlshc/tlsh_impl.c:697:32: style:inconclusive: Function 'tlsh_impl_final' argument 1 names different: declaration 'impl' definition 'this'. [funcArgNamesDifferent] yara-4.5.2/libyara/tlshc/tlsh_impl.h:103:34: note: Function 'tlsh_impl_final' argument 1 names different: declaration 'impl' definition 'this'. yara-4.5.2/libyara/tlshc/tlsh_impl.c:697:32: note: Function 'tlsh_impl_final' argument 1 names different: declaration 'impl' definition 'this'. yara-4.5.2/libyara/tlshc/tlsh_impl.c:917:33: style:inconclusive: Function 'tlsh_impl_compare' argument 1 names different: declaration 'impl' definition 'this'. [funcArgNamesDifferent] yara-4.5.2/libyara/tlshc/tlsh_impl.h:106:35: note: Function 'tlsh_impl_compare' argument 1 names different: declaration 'impl' definition 'this'. yara-4.5.2/libyara/tlshc/tlsh_impl.c:917:33: note: Function 'tlsh_impl_compare' argument 1 names different: declaration 'impl' definition 'this'. yara-4.5.2/libyara/tlshc/tlsh_impl.c:917:33: style: Parameter 'this' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/tlshc/tlsh_impl.c:917:49: style: Parameter 'other' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/tlshc/tlsh_impl.c:980:34: style: Parameter 'impl' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/tlshc/tlsh_util.c:3607:28: style: Parameter 'psrc' can be declared as pointer to const [constParameterPointer] yara-4.5.2/libyara/tlshc/tlsh_util.c:3625:19: style: Variable 'pwHex' can be declared as pointer to const [constVariablePointer] yara-4.5.2/libyara/tlshc/tlsh_util.c:3639:24: style: Variable 'DecLookup' can be declared as const array [constVariable] yara-4.5.2/sandbox/collect_matches.cc:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_MSG_RULE_MATCHING [valueFlowBailoutIncompleteVar] yara-4.5.2/sandbox/sandboxed_yara.cc:63:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] yara-4.5.2/sandbox/sandboxed_yara.cc:92:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] yara-4.5.2/sandbox/sandboxed_yara.cc:140:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] yara-4.5.2/sandbox/yara_entry_points.cc:116:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_queue [valueFlowBailoutIncompleteVar] yara-4.5.2/sandbox/yara_entry_points.cc:157:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_MAX_THREADS [valueFlowBailoutIncompleteVar] yara-4.5.2/sandbox/yara_entry_points.cc:177:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/sandbox/yara_entry_points.cc:236:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_result_id [valueFlowBailoutIncompleteVar] yara-4.5.2/sandbox/yara_entry_points.cc:116:35: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] yara-4.5.2/sandbox/yara_transaction.cc:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_rules [valueFlowBailoutIncompleteVar] yara-4.5.2/sandbox/yara_transaction.cc:89:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] yara-4.5.2/sandbox/yara_transaction_test.cc:134:1: error: syntax error [syntaxError] yara-4.5.2/tests/mapper.c:45:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/mapper.c:66:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/mapper.c:43:22: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] yara-4.5.2/tests/mapper.c:75:9: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] yara-4.5.2/tests/oss-fuzz/dex_fuzzer.cc:13:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/oss-fuzz/dex_fuzzer.cc:34:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_CONTINUE [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/oss-fuzz/dex_fuzzer.cc:29:22: style: Parameter 'context' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/dex_fuzzer.cc:44:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/dex_fuzzer.cc:29:22: note: Parameter 'context' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/dex_fuzzer.cc:31:11: style: Parameter 'message_data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'message_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/dex_fuzzer.cc:44:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/dex_fuzzer.cc:31:11: note: Parameter 'message_data' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/dex_fuzzer.cc:32:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/dex_fuzzer.cc:44:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/dex_fuzzer.cc:32:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/dotnet_fuzzer.cc:46:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/oss-fuzz/dotnet_fuzzer.cc:67:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_CONTINUE [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/oss-fuzz/dotnet_fuzzer.cc:62:22: style: Parameter 'context' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/dotnet_fuzzer.cc:77:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/dotnet_fuzzer.cc:62:22: note: Parameter 'context' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/dotnet_fuzzer.cc:64:11: style: Parameter 'message_data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'message_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/dotnet_fuzzer.cc:77:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/dotnet_fuzzer.cc:64:11: note: Parameter 'message_data' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/dotnet_fuzzer.cc:65:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/dotnet_fuzzer.cc:77:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/dotnet_fuzzer.cc:65:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/elf_fuzzer.cc:42:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/oss-fuzz/elf_fuzzer.cc:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_CONTINUE [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/oss-fuzz/elf_fuzzer.cc:58:22: style: Parameter 'context' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/elf_fuzzer.cc:73:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/elf_fuzzer.cc:58:22: note: Parameter 'context' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/elf_fuzzer.cc:60:11: style: Parameter 'message_data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'message_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/elf_fuzzer.cc:73:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/elf_fuzzer.cc:60:11: note: Parameter 'message_data' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/elf_fuzzer.cc:61:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/elf_fuzzer.cc:73:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/elf_fuzzer.cc:61:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/macho_fuzzer.cc:46:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/oss-fuzz/macho_fuzzer.cc:67:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_CONTINUE [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/oss-fuzz/macho_fuzzer.cc:62:22: style: Parameter 'context' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/macho_fuzzer.cc:77:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/macho_fuzzer.cc:62:22: note: Parameter 'context' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/macho_fuzzer.cc:64:11: style: Parameter 'message_data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'message_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/macho_fuzzer.cc:77:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/macho_fuzzer.cc:64:11: note: Parameter 'message_data' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/macho_fuzzer.cc:65:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/macho_fuzzer.cc:77:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/macho_fuzzer.cc:65:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/pe_fuzzer.cc:47:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/oss-fuzz/pe_fuzzer.cc:68:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_CONTINUE [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/oss-fuzz/pe_fuzzer.cc:63:22: style: Parameter 'context' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/pe_fuzzer.cc:78:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/pe_fuzzer.cc:63:22: note: Parameter 'context' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/pe_fuzzer.cc:65:11: style: Parameter 'message_data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'message_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/pe_fuzzer.cc:78:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/pe_fuzzer.cc:65:11: note: Parameter 'message_data' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/pe_fuzzer.cc:66:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/oss-fuzz/pe_fuzzer.cc:78:50: note: You might need to cast the function pointer here yara-4.5.2/tests/oss-fuzz/pe_fuzzer.cc:66:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/oss-fuzz/rules_fuzzer.cc:56:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/oss-fuzz/rules_fuzzer.cc:48:18: style: C-style pointer casting [cstyleCast] yara-4.5.2/tests/oss-fuzz/rules_fuzzer.cc:53:20: style: C-style pointer casting [cstyleCast] yara-4.5.2/tests/oss-fuzz/rules_fuzzer.cc:62:41: style: C-style pointer casting [cstyleCast] yara-4.5.2/tests/oss-fuzz/rules_fuzzer.cc:36:42: style: Parameter 'argc' can be declared as pointer to const [constParameterPointer] yara-4.5.2/tests/test-alignment.c:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_SUMMARY [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-alignment.c:75:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:76:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:77:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:78:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:80:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:81:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:82:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:89:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:90:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:91:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:93:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:94:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:95:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:96:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:97:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:98:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:100:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:101:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:102:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:103:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:104:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:105:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:106:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:107:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:108:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:109:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:110:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:112:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:113:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:114:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:115:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:116:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:117:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:118:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:119:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:120:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:122:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:123:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:124:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:125:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:126:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:128:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:129:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:130:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:131:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:132:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-alignment.c:133:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-api.c:62:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:107:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:147:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:200:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_CONFIG_MAX_STRINGS_PER_RULE [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:240:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_MSG_RULE_MATCHING [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:271:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YR_CONFIG_MAX_MATCH_DATA [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:305:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_CONTINUE [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:314:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_MSG_TOO_MANY_MATCHES [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:335:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:403:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_CONTINUE [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:412:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_MSG_TOO_SLOW_SCANNING [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:432:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:508:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:585:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:670:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:821:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_MSG_RULE_MATCHING [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:861:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:919:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:983:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:1018:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:1056:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:1142:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:1191:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:1266:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-api.c:93:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that '_include_callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:113:46: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:93:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/test-api.c:238:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'test_max_match_data_callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:285:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:238:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/test-api.c:300:22: style: Parameter 'context' can be declared as pointer to const. However it seems that 'ignore_too_many_matches' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:377:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:300:22: note: Parameter 'context' can be declared as pointer to const yara-4.5.2/tests/test-api.c:302:11: style: Parameter 'message_data' can be declared as pointer to const. However it seems that 'ignore_too_many_matches' is a callback function, if 'message_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:377:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:302:11: note: Parameter 'message_data' can be declared as pointer to const yara-4.5.2/tests/test-api.c:303:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'ignore_too_many_matches' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:377:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:303:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/test-api.c:309:22: style: Parameter 'context' can be declared as pointer to const. However it seems that 'propagate_too_many_matches' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:356:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:309:22: note: Parameter 'context' can be declared as pointer to const yara-4.5.2/tests/test-api.c:311:11: style: Parameter 'message_data' can be declared as pointer to const. However it seems that 'propagate_too_many_matches' is a callback function, if 'message_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:356:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:311:11: note: Parameter 'message_data' can be declared as pointer to const yara-4.5.2/tests/test-api.c:312:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'propagate_too_many_matches' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:356:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:312:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/test-api.c:398:22: style: Parameter 'context' can be declared as pointer to const. However it seems that 'ignore_too_slow_scanning' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:550:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:398:22: note: Parameter 'context' can be declared as pointer to const yara-4.5.2/tests/test-api.c:400:11: style: Parameter 'message_data' can be declared as pointer to const. However it seems that 'ignore_too_slow_scanning' is a callback function, if 'message_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:550:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:400:11: note: Parameter 'message_data' can be declared as pointer to const yara-4.5.2/tests/test-api.c:401:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'ignore_too_slow_scanning' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:550:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:401:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/test-api.c:407:22: style: Parameter 'context' can be declared as pointer to const. However it seems that 'propagate_too_slow_scanning' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:529:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:407:22: note: Parameter 'context' can be declared as pointer to const yara-4.5.2/tests/test-api.c:409:11: style: Parameter 'message_data' can be declared as pointer to const. However it seems that 'propagate_too_slow_scanning' is a callback function, if 'message_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:529:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:409:11: note: Parameter 'message_data' can be declared as pointer to const yara-4.5.2/tests/test-api.c:410:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'propagate_too_slow_scanning' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:529:7: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:410:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/test-api.c:819:11: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'xor_key_check' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yara-4.5.2/tests/test-api.c:890:36: note: You might need to cast the function pointer here yara-4.5.2/tests/test-api.c:819:11: note: Parameter 'user_data' can be declared as pointer to const yara-4.5.2/tests/test-arena.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-arena.c:92:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-arena.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-async.c:56:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-async.c:220:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-async.c:330:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-atoms.c:61:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_atoms_table_quality [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-atoms.c:182:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_atoms_heuristic_quality [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-atoms.c:583:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-bitmask.c:43:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-bitmask.c:231:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-dex.c:11:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-dotnet.c:13:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-elf.c:11:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-exception.c:101:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-exception.c:123:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_MSG_RULE_MATCHING [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-exception.c:143:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-exception.c:177:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-exception.c:200:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-exception.c:247:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-exception.c:60:16: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] yara-4.5.2/tests/test-exception.c:59:26: note: Assuming allocation function fails yara-4.5.2/tests/test-exception.c:59:26: note: Assignment 'filename=strdup("yara-testblob.XXXXXX")', assigned value is 0 yara-4.5.2/tests/test-exception.c:60:16: note: Null pointer dereference yara-4.5.2/tests/test-exception.c:68:10: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] yara-4.5.2/tests/test-exception.c:59:26: note: Assuming allocation function fails yara-4.5.2/tests/test-exception.c:59:26: note: Assignment 'filename=strdup("yara-testblob.XXXXXX")', assigned value is 0 yara-4.5.2/tests/test-exception.c:62:10: note: Assuming condition is false yara-4.5.2/tests/test-exception.c:68:10: note: Null pointer dereference yara-4.5.2/tests/test-exception.c:102:4: error: Null pointer dereference: i [nullPointer] yara-4.5.2/tests/test-exception.c:100:12: note: Assignment 'i=0', assigned value is 0 yara-4.5.2/tests/test-exception.c:102:4: note: Null pointer dereference yara-4.5.2/tests/test-exception.c:249:9: style: Variable 'op' can be declared as pointer to const [constVariablePointer] yara-4.5.2/tests/test-macho.c:13:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-magic.c:13:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-math.c:11:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-pb.c:39:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-pe.c:13:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-re-split.c:40:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:48:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:161:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:236:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:350:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:384:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:450:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:531:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:547:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:667:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:1335:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:1354:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:1705:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:1720:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:1757:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:1776:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:1799:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:1851:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:1899:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:2069:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:2337:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:2846:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:2873:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:2890:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:2959:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:2994:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3051:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3277:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3416:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3447:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3469:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3508:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3620:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3665:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3809:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3830:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3955:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:4036:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-rules.c:3556:10: warning: Assert statement calls a function which may have desired side effects: 'waitpid'. [assertWithSideEffect] yara-4.5.2/tests/test-rules.c:3583:10: warning: Assert statement calls a function which may have desired side effects: 'waitpid'. [assertWithSideEffect] yara-4.5.2/tests/test-rules.c:3604:10: warning: Assert statement calls a function which may have desired side effects: 'waitpid'. [assertWithSideEffect] yara-4.5.2/tests/test-rules.c:3567:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] yara-4.5.2/tests/test-rules.c:3590:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] yara-4.5.2/tests/test-rules.c:2877:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] yara-4.5.2/tests/test-rules.c:3563:16: warning: If memory allocation fails, then there is a possible null pointer dereference: tf [nullPointerOutOfMemory] yara-4.5.2/tests/test-rules.c:3562:14: note: Assuming allocation function fails yara-4.5.2/tests/test-rules.c:3562:14: note: Assignment 'tf=strdup("./map-XXXXXX")', assigned value is 0 yara-4.5.2/tests/test-rules.c:3563:16: note: Null pointer dereference yara-4.5.2/tests/test-stack.c:40:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-string.c:11:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/test-version.c:38:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:63:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:84:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:101:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:116:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:131:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:146:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:216:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:239:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:260:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:323:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:351:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_MSG_RULE_NOT_MATCHING [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:368:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_CONTINUE [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:379:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YARA_ERROR_LEVEL_WARNING [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:399:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:441:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:475:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:571:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALLBACK_MSG_RULE_MATCHING [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:602:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:639:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:678:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yr_atoms_heuristic_quality [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:723:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_PARSER_FLAG_NONE [valueFlowBailoutIncompleteVar] yara-4.5.2/tests/util.c:646:10: style: Condition 'sz==-1' is always false [knownConditionTrueFalse] yara-4.5.2/tests/util.c:127:25: style: Variable 'context' can be declared as pointer to const [constVariablePointer] yara-4.5.2/tests/util.c:304:31: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] yara-4.5.2/tests/util.c:363:22: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] yara-4.5.2/tests/util.c:365:11: style: Parameter 'message_data' can be declared as pointer to const [constParameterPointer] yara-4.5.2/tests/util.c:366:11: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] yara-4.5.2/tests/util.c:632:21: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] yara-4.5.2/tests/util.c:666:66: style: Parameter 'expected_atoms' can be declared as pointer to const [constParameterPointer] yara-4.5.2/tests/util.c:670:22: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] diff: DONE