Ruby: ensure ApiGraphs.qll imports its entry points

This commit is contained in:
Asger Feldthaus
2022-03-16 13:40:14 +01:00
parent e3fbaf5d8f
commit 8cef512234

View File

@@ -298,6 +298,11 @@ module API {
API::Node getANode() { result = root().getASuccessor(Label::entryPoint(this)) }
}
// Ensure all entry points are imported from ApiGraphs.qll
private module ImportEntryPoints {
private import codeql.ruby.frameworks.data.ModelsAsData
}
/** Gets the root node. */
Root root() { any() }