mirror of
https://github.com/hohn/codeql-lab.git
synced 2025-12-15 17:43:04 +01:00
56 lines
8.0 KiB
Plaintext
56 lines
8.0 KiB
Plaintext
┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
│ 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 │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ └────────────────────────────┘ │
|
|
└───────────────────────────────────────────────────────────────────────────────────┘ |