Skip to content
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

For Java skip the check for dereference of a deallocated or dead object #89

Closed
wants to merge 129 commits into from
Closed

For Java skip the check for dereference of a deallocated or dead object #89

wants to merge 129 commits into from

Conversation

cristina-david
Copy link
Collaborator

@cristina-david cristina-david commented May 12, 2016

This is when running cbmc with the "--pointer-check" flag on Java programs.

tautschnig and others added 30 commits April 3, 2016 11:25
This will enable recovering the full path to a source file where necessary.
Used for coverage output and dead-code analysis
Catch decl in the try/catch is not used.
Making string constants to be ID_constant expressions with string_typet
Typecheking function call.
Added "nan" symbol. Assigning type to lhs after unknown function call.
White spaces, positioning { in new line.
Cleaning up the code. Correct includes.
Renaming jsil types.
Explicit constructors. Inlining expressions if used only once.
Asserting that expression does not have type set just yet.
More efficient implementation for is_subtype.
Introduced jsil_incompatible_types to hide low level implementation.
Fixed bug in is_subtype.
Typechecking throw and return labels.
Typechecking bitwise operators.
Avoiding duplicate type-checking by marking symbols as type-checked.
Add empty decl symbol. Special case for index expression. Clean up.
Converting all procedure declarations to symbols before typechecking.
Supports, e.g., x86_64-apple-darwin14-llvm-gcc-4.2 when invoked as
x86_64-apple-darwin14-llvm-goto-gcc-4.2

cr https://cr.amazon.com/r/4975025/
Windows vs. Unix need distinct treatment for executables; cleanup
of duplicate declaration (using include instead) and formatting.
tautschnig and others added 24 commits May 30, 2016 11:43
Do not generate necessarily dead instructions
a5bc493 introduced cases where information in the frame may become
inconsistent with the actual renaming being used, as shown in the regression
test.
Follow-up to 3f01cce to support

void foo() __attribute__((constructor)); in addition to
void __attribute__((constructor)) foo();
Fix java bytecode translation of control-flow joins
Support for postfixed __attribute__((constructor))
Object descriptor should skip typecasts
Fix consistency error in SSA level 1 renaming
… are missing (pointer related assertions missing from the goto program)
@cristina-david
Copy link
Collaborator Author

I'm closing this pull request as it got too messy and difficult to review (I didn't rebase until too late). I'll make a cleaner version.

@tautschnig
Copy link
Collaborator

@cristina-david note that you are always free to push --force a new series into the same branch to do such cleanup without being force to closing and creating a new pull request!
Best,
Michael

@cristina-david
Copy link
Collaborator Author

@tautschnig noted, thanks. Being in doubt yesterday, I relied on the git "manual" https://xkcd.com/1597/ :) (courtesy of @martin-cs )

smowton pushed a commit to smowton/cbmc that referenced this pull request May 9, 2018
smowton pushed a commit to smowton/cbmc that referenced this pull request May 9, 2018
…aint_summaries_PR

Improving HTML dump of taint summaries.
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.

None yet

6 participants