Unify the 3 queries from rules M0-2-1 and RULE-19-1

Open
#273 0 comments 0 reactions 1 assignee View on GitHub

@mbaluda is already working on this.

Since Mar 27, 2023.

Assessment

This issue has not been assessed yet.

Description

enhancement Standard-AUTOSAR

Describe the issue

The 3 following queries share most of the logic and could be merged into one by abstracting the copy/assign operations and their operand types:

  • RULE-19-1/ObjectAssignedToAnOverlappingObject
  • RULE-19-1/ObjectCopiedToAnOverlappingObject
  • M0-2-1/ObjectAssignedToAnOverlappingObject
Dominant language
CodeQL
Stars
227
Forks
82
Avg merge
6d 7h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/codeql-coding-standards

All issues in github/codeql-coding-standards

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.