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

where is semgrep architecture documentation #10046

Closed
Sof0-0 opened this issue Apr 3, 2024 · 3 comments
Closed

where is semgrep architecture documentation #10046

Sof0-0 opened this issue Apr 3, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@Sof0-0
Copy link

Sof0-0 commented Apr 3, 2024

Hello!
I am researching on the Semgrep functionality for the SAST.

And I could not find any information on how Semgrep is performing its scans. Does it build out the whole environment in the DB format and then performs quering on it or builds a tokenized tree?

What is the operational procedure for it?

@ievans
Copy link
Member

ievans commented Apr 5, 2024

@aryx has probably written the best architecture overview, but I don't know where it is, I'll let him comment

@ievans ievans added the documentation Improvements or additions to documentation label Apr 5, 2024
@ievans ievans changed the title Question where is semgrep architecture documentation Apr 5, 2024
@aryx
Copy link
Collaborator

aryx commented Apr 15, 2024

Semgrep-3.pdf

@aryx
Copy link
Collaborator

aryx commented Apr 15, 2024

There is no real documentation about the architecture of Semgrep unfortunately. I started to write one a long time ago in the attached PDF semgrep-3.pdf above, but it was never finished. Still the few first pages in chapter 2, especially section 2.6 can be useful, even if it's not really uptodate.

@aryx aryx closed this as completed Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Development

No branches or pull requests

3 participants