Skip to content

A7-1-7: Exclude functions #628

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

Closed
lcartey opened this issue Jun 26, 2024 · 0 comments · Fixed by #634
Closed

A7-1-7: Exclude functions #628

lcartey opened this issue Jun 26, 2024 · 0 comments · Fixed by #634
Assignees
Labels
Difficulty-Low A false positive or false negative report which is expected to take <1 day effort to address false positive/false negative An issue related to observed false positives or false negatives. Impact-Medium Standard-AUTOSAR user-report Issue reported by an end user of CodeQL Coding Standards

Comments

@lcartey
Copy link
Collaborator

lcartey commented Jun 26, 2024

Affected rules

  • A7-1-7

Description

From: #383

The AUTOSAR rule does not mention function declarations, and including them causes false positives with single line function declarations.

Example

void example_function() { foo(); }
@lcartey lcartey added Difficulty-Low A false positive or false negative report which is expected to take <1 day effort to address false positive/false negative An issue related to observed false positives or false negatives. Impact-Medium user-report Issue reported by an end user of CodeQL Coding Standards labels Jun 26, 2024
@lcartey lcartey moved this from Reported to Assigned in Coding Standards Public Development Board Jun 26, 2024
@knewbury01 knewbury01 moved this from Assigned to In Progress in Coding Standards Public Development Board Jul 4, 2024
@knewbury01 knewbury01 mentioned this issue Jul 5, 2024
30 tasks
@knewbury01 knewbury01 moved this from In Progress to Ready for review in Coding Standards Public Development Board Jul 5, 2024
@github-project-automation github-project-automation bot moved this from Ready for review to Done in Coding Standards Public Development Board Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty-Low A false positive or false negative report which is expected to take <1 day effort to address false positive/false negative An issue related to observed false positives or false negatives. Impact-Medium Standard-AUTOSAR user-report Issue reported by an end user of CodeQL Coding Standards
Projects
Development

Successfully merging a pull request may close this issue.

3 participants