mirror of
https://github.com/hohn/codeql-lab.git
synced 2025-12-17 02:13:04 +01:00
Add text version of diagram to illustrate library modeling options
This commit is contained in:
committed by
=Michael Hohn
parent
b34dc262da
commit
d12c157b25
56
codeql-modeling.txt
Normal file
56
codeql-modeling.txt
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||||
|
│ Modeling (framework/library) │
|
||||||
|
│ ql library enhancements │
|
||||||
|
│ ┌─────────────────────┐ ┌────────────────────────────┐ │
|
||||||
|
│ │ models as data │ │ QL customization │ │
|
||||||
|
│ │ │ │ │ │
|
||||||
|
│ └─────────────────────┘ └────────────────────────────┘ │
|
||||||
|
│ │ │ │
|
||||||
|
│ │ │ │
|
||||||
|
│ ┌──────────┴────────────┐ │ │
|
||||||
|
│ │ │ │ │
|
||||||
|
│ │ │ ▼ │
|
||||||
|
│ ▼ ▼ ┌─────────────────────────────┐ │
|
||||||
|
│┌─────────────────────┐ ┌─────────────────────┐ │ Customizations.qll │ │
|
||||||
|
││ sqlite Java example │ │ sqlite C example │ │ │ │
|
||||||
|
││ in-editor │ │ out-of-editor │ │ ┌───────────────────────┐ │ │
|
||||||
|
││ │ │ │ │ │ source addition │ │ │
|
||||||
|
│└─────────────────────┘ └─────────────────────┘ │ │ │ │ │
|
||||||
|
│ │ │ │ └───────────────────────┘ │ │
|
||||||
|
│ ┌───┴──────────────────┬────┴──────────────────┐ │ │ │
|
||||||
|
│ │ │ │ │ ┌───────────────────────┐ │ │
|
||||||
|
│ ▼ ▼ ▼ │ │ sink addition │ │ │
|
||||||
|
├──────────────┐ ┌────────────┐ ┌──────────────┐ │ │ │ │ │
|
||||||
|
│ model editor │ │ text edit │ │ gpt │ │ └───────────────────────┘ │ │
|
||||||
|
├──────────────┘ └────────────┘ └──────────────┘ │ │ │
|
||||||
|
│ │ │ │ └─────────────────────────────┘ │
|
||||||
|
│ └──────────────────────┼───────────────────────┘ │ │
|
||||||
|
│ │ │ │
|
||||||
|
│ ▼ │ │
|
||||||
|
│ ┌────────────────────────────────────────────────────┐ │ │
|
||||||
|
│ │.github/codeql/extensions/sqlite-db/models/sqlite.mo│ │ │
|
||||||
|
│ └────────────────────────────────────────────────────┘ │ │
|
||||||
|
│ │ │ │
|
||||||
|
└──────────────────────────────┼────────────────────────────────────────────────────┼─────────────────┘
|
||||||
|
│ │
|
||||||
|
│ │
|
||||||
|
│ ┌─────────────────┘
|
||||||
|
│ │
|
||||||
|
│ │
|
||||||
|
┌─────┴──────────────────────────────────┤
|
||||||
|
│ │
|
||||||
|
│ │
|
||||||
|
│ │
|
||||||
|
│ │
|
||||||
|
┌──────────────────────┼────────────────────────────────────────┼───────────────────┐
|
||||||
|
│ │ queries │ │
|
||||||
|
│ ▼ ▼ │
|
||||||
|
│ ┌──────────────────────────┐ ┌────────────────────────────┐ │
|
||||||
|
│ │codeql-sqlite/Illustration│ │ │ │
|
||||||
|
│ │ s.ql │ │ │ │
|
||||||
|
│ └──────────────────────────┘ │../ql/java/ql/src/Security/C│ │
|
||||||
|
│ │ WE/CWE-089/SqlTainted.ql │ │
|
||||||
|
│ │ │ │
|
||||||
|
│ │ │ │
|
||||||
|
│ └────────────────────────────┘ │
|
||||||
|
└───────────────────────────────────────────────────────────────────────────────────┘
|
||||||
Reference in New Issue
Block a user