feat(cpp): add C/C++ detection engine, language support, and register in LanguageSupporter#409
feat(cpp): add C/C++ detection engine, language support, and register in LanguageSupporter#409Divyateja2709 wants to merge 17 commits into
Conversation
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
Signed-off-by: Divyateja Indrakanti <indrakantidivyateja@gmail.com>
|
Hi @Divyateja2709, Thank you for your PR and for the time and effort you put into contributing to CBOMkit—we truly appreciate your interest. You may have noticed that we are already working on adding C/C++ support to sonar-cryptography in PR #377. This approach differs from yours, as it relies on Sonar’s native C/C++ support package rather than ANTLR, similar to how the existing Java module is implemented. Work on PR #377 is already quite advanced, and at this stage we are leaning toward this approach because we expect it to provide stronger support for cross-file symbol tracing through the Sonar infrastructure. That said, we will keep your PR open for now until a final decision is made. |
|
Hi @san-zrl sir, Thank you for the clarification and for keeping the PR open. I actually made these PRs as part of my contributions for the Linux Foundation Mentorship program. I explored this ANTLR-based approach and worked on multiple related PRs around it. Could you please confirm if the mentorship/project is still open for contributors or mentees to continue working on it? Thank you once again. |
Description:
This PR completes the engine interface layer for C/C++. It depends on PR 1C-1 being merged first since CppLanguageSupport wires together all three classes from that PR.
Files added in engine/src/main/java/com/ibm/engine/language/cpp/:
One file modified:
engine/src/main/java/com/ibm/engine/language/LanguageSupporter.java — adds cppLanguageSupporter() static method returning a new CppLanguageSupport(), same pattern as csharpLanguageSupporter().