Skip to content

Made the default to display crates having only array-index-accesses - #5

Open
diajowe wants to merge 1 commit into
YassinEldeeb:mainfrom
diajowe:feature_ignore_arrayonly_crate
Open

Made the default to display crates having only array-index-accesses#5
diajowe wants to merge 1 commit into
YassinEldeeb:mainfrom
diajowe:feature_ignore_arrayonly_crate

Conversation

@diajowe

@diajowe diajowe commented May 13, 2024

Copy link
Copy Markdown
Contributor

Previous behavior

Panic-Analyzer would previously hide crates that only have array-access audit triggers and no other audit triggers.

Why the change

As we want to see all audit triggers for possible panics, suppressing crates with only array-access audit triggers as a default is surprising and counter-intuitive for us.

What this does

Made it default, that panic-analyzer would display all audit triggers, even if the crate only has array-access audit triggers.
Added an environment variable to restore previous behavior and hide crates that have only array-audit triggers again.
Ultimately making the default of panic-analyzer the most restrictive setting possible.

added env option to disable and get back previous behaviour of suppressing only-array-index-access crates
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