Skip to content

Update CVE 2021 15551 - #123

Open
TheVeryDarkness wants to merge 5 commits into
RPL-Toolchain:masterfrom
TheVeryDarkness:update-CVE-2021-15551
Open

Update CVE 2021 15551#123
TheVeryDarkness wants to merge 5 commits into
RPL-Toolchain:masterfrom
TheVeryDarkness:update-CVE-2021-15551

Conversation

@TheVeryDarkness

Copy link
Copy Markdown
Collaborator

No description provided.

- Added support for new predicates: `lifetime_bypass`, `strong_bypass`, `weak_bypass`, `unresolvable_generic`, `generic_drop`, `cfg_reaches`, `bypass_on_copy`, and `set_len_to_zero`, improving the expressiveness of dataflow constraints.
- Implemented evaluation functions for the new predicates in `PredicateEvaluator`, allowing for more comprehensive analysis of unsafe dataflow scenarios.
- Updated the `mentions_cfg_reaches` method in `Constraints` to facilitate the handling of CFG reachability in pattern matching.
- Enhanced documentation for dataflow predicates, including usage examples and clarifications on their implications in the context of panic safety and CVE handling.
- Added tests to validate the new predicates and ensure correct behavior in various scenarios.
…weak safety levels

- Renamed diagnostic names from `panic_safety` to `panic_safety_strong` and `panic_safety_weak` to improve clarity in error reporting.
- Updated related test outputs to reflect the new diagnostic names, ensuring consistency across panic safety checks.
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.

1 participant