Skip to content

Fix #12643-46 fuzzing crashes#6336

Merged
chrchr-github merged 4 commits intocppcheck-opensource:mainfrom
chrchr-github:chr_fix12646
Apr 24, 2024
Merged

Fix #12643-46 fuzzing crashes#6336
chrchr-github merged 4 commits intocppcheck-opensource:mainfrom
chrchr-github:chr_fix12646

Conversation

@chrchr-github
Copy link
Copy Markdown
Collaborator

No description provided.

@chrchr-github chrchr-github changed the title Fix #12644, #12646 fuzzing crashes Fix #12643-46 fuzzing crashes Apr 23, 2024
Comment thread test/testgarbage.cpp
}

void garbageCode125() {
ASSERT_THROW_INTERNAL(checkCode("{ T struct B : T valueA_AA ; } T : [ T > ( ) { B } template < T > struct A < > : ] { ( ) { return valueA_AC struct { : } } b A < int > AC ( ) a_aa.M ; ( ) ( ) }"), UNKNOWN_MACRO);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of these UNKNOWN_MACRO in the garbage tests felt undesired.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We mostly use the "if it's uppercase, it's a macro" heuristic, so...

@chrchr-github chrchr-github merged commit 9fab9b9 into cppcheck-opensource:main Apr 24, 2024
@chrchr-github chrchr-github deleted the chr_fix12646 branch April 24, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants