Skip to content

gnu.cfg: Add support for some built-in functions to check overflow - #8449

Merged
danmar merged 1 commit into
cppcheck-opensource:mainfrom
gagachang:add-gnu-overflow
Oct 19, 2026
Merged

danmar merged 1 commit into
cppcheck-opensource:mainfrom
gagachang:add-gnu-overflow

Conversation

@gagachang

Copy link
Copy Markdown
Contributor

@sonarqubecloud

Copy link
Copy Markdown

@danmar danmar left a comment

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.

please add some tests for each function here:

test/cfg/gnu.c

@gagachang

Copy link
Copy Markdown
Contributor Author

please add some tests for each function here:

test/cfg/gnu.c

I've added test cases. Please see if they are reasonable.

Comment thread cfg/gnu.cfg Outdated
@gagachang
gagachang force-pushed the add-gnu-overflow branch from 4582cf6 to 66c63ca Compare May 8, 2026 08:27
Comment thread cfg/gnu.cfg
@danmar
danmar merged commit b5e10f6 into cppcheck-opensource:main Oct 19, 2026
70 checks passed
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.

3 participants