-
Notifications
You must be signed in to change notification settings - Fork 84
String Literals Domain #1048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
String Literals Domain #1048
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
4533c51
strlen-case in special of base: first draft
nathanschmidt ab07547
Registering library functions strcat and strstr
nathanschmidt 41dc76d
Merge branch 'goblint:master' into base-string-analyses
nathanschmidt 6e089be
Merge branch 'base-string-analyses' of github.com:nathanschmidt/analy…
nathanschmidt 0242361
Merge branch 'base-string-analyses' of github.com:nathanschmidt/analy…
nathanschmidt ccd58d6
String literals analysis: strlen
nathanschmidt 2cfae22
Merge branch 'goblint:master' into base-string-analyses
nathanschmidt 3b02139
String literals analysis: strncpy
nathanschmidt fb70556
Merge branch 'goblint:master' into base-string-analyses
nathanschmidt 5567015
String literals analysis: strncpy
nathanschmidt 4207673
Merge branch 'base-string-analyses' of github.com:nathanschmidt/analy…
nathanschmidt 8756057
String literals analysis: strcat
nathanschmidt c7e159c
String literals analysis: strncat
nathanschmidt 40a5265
String literals analysis: strncat
nathanschmidt c5eb843
String literals analysis: strstr
nathanschmidt 3d6513d
String literals analysis: strcmp and strncmp
nathanschmidt fe171c5
Merge branch 'base-string-analyses' of github.com:nathanschmidt/analy…
nathanschmidt f6962bb
String literals analyses: fixed wrong behavior + cleaned up code
nathanschmidt 826bcc7
Merge branch 'goblint:master' into base-string-analyses
nathanschmidt 8ee2f47
Merge branch 'base-string-analyses' of github.com:nathanschmidt/analy…
nathanschmidt e94b0cc
Fixed analysis for functions that write to string literals + first dr…
nathanschmidt 5467880
Merge branch 'goblint:master' into base-string-analyses
nathanschmidt 6a115c0
Adapted tests for string literals analysis
nathanschmidt f73f5de
Reintroduced code that shouldn't have been deleted
nathanschmidt 5ac4ca2
Reintroduced another line that shouldn't have been deleted
nathanschmidt 1ac36e3
Added invalidate_actions
nathanschmidt b7775e2
Incorporated github-code-scanning suggestions
nathanschmidt 6a1bc3a
Added Apple's version of str(n)cpy and str(n)cat to library functions…
nathanschmidt cea104f
Added missing argument of chk versions of strcpy and co.
nathanschmidt 4acfb23
Added __builtin_object_size to invalide_actions
nathanschmidt 527ee45
Excluded str(n)cpy / str(n)cat portion of string literals test for macOS
nathanschmidt 50193f2
Changed test annotations until CIL issue fixed
nathanschmidt 627396e
Merge branch 'base-string-analyses' of github.com:nathanschmidt/analy…
nathanschmidt 7fd3341
Clarified test comments
nathanschmidt db30ec3
Fixed false warning
nathanschmidt 09276ca
Improvements after review
nathanschmidt 74e90e4
Use Cil.kindOfSizeOf instead of IUInt for strlen
nathanschmidt e92cc88
Updated test 01
nathanschmidt 5ef49e9
Try *0; in #ifdef __APPLE__ to trigger warning on macOS in test 01
nathanschmidt f789322
Merge branch 'base-string-analyses' of github.com:nathanschmidt/analy…
nathanschmidt 822b63c
Trying workaround to make macOS test warn
nathanschmidt 290ca8d
Further changes to trigger warnings on macOS test
nathanschmidt c2538e7
Fix mistake in test 01
nathanschmidt 5095d2b
Use Z.minus_one in string_comparison
nathanschmidt 587db3d
Handle null byte in string correctly for all functions
nathanschmidt 52fea5d
Merge branch 'master' into base-string-analyses
nathanschmidt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.