mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Python: Add note about incompleteness
I was going to do this in an issue, but it makes sense to have it in the code. We could still add an issue as well.
This commit is contained in:
@@ -131,6 +131,12 @@ private module Django {
|
||||
/** Gets a reference to the `django.db.connection.cursor.execute` function. */
|
||||
DataFlow::Node execute() { result = execute(DataFlow::TypeTracker::end()) }
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// django.db.models
|
||||
// -------------------------------------------------------------------------
|
||||
// NOTE: The modelling of django models is currently fairly incomplete.
|
||||
// It does not fully take `Model`s, `Manager`s, `and QuerySet`s into account.
|
||||
// It simply identifies some common dangerous cases.
|
||||
/** Gets a reference to the `django.db.models` module. */
|
||||
private DataFlow::Node models(DataFlow::TypeTracker t) {
|
||||
t.start() and
|
||||
|
||||
Reference in New Issue
Block a user