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

Add heuristics for C and C++ #526

Merged
merged 6 commits into from
Mar 4, 2025

Conversation

ankddev
Copy link
Contributor

@ankddev ankddev commented Feb 28, 2025

Closes #65.

Description

Add some heuristics for C and C++. Also create sample for C++ (it's just C sample, rewritten to C++)

Copy link

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.59%. Comparing base (5784019) to head (6f35917).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #526   +/-   ##
=======================================
  Coverage   71.59%   71.59%           
=======================================
  Files          18       18           
  Lines         521      521           
=======================================
  Hits          373      373           
  Misses        148      148           
Flag Coverage Δ
--no-default-features 72.63% <ø> (ø)
--no-default-features --features color 71.20% <ø> (ø)
ubuntu-latest 71.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@spenserblack spenserblack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'm going to make sure these are safe from ReDoS, but lgtm!

@ankddev ankddev force-pushed the add-heuristics-for-c-cpp branch from 5a5ae33 to d6eba2a Compare February 28, 2025 19:29
@ankddev ankddev requested a review from spenserblack March 1, 2025 08:25
Copy link
Owner

@spenserblack spenserblack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@spenserblack spenserblack enabled auto-merge (squash) March 1, 2025 18:49
@spenserblack spenserblack disabled auto-merge March 1, 2025 18:49
@ankddev ankddev requested a review from spenserblack March 4, 2025 15:05
@spenserblack spenserblack merged commit cdc908a into spenserblack:main Mar 4, 2025
17 of 19 checks passed
@ankddev ankddev deleted the add-heuristics-for-c-cpp branch March 4, 2025 16:53
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.

Add heuristics for C/C++
2 participants