Skip to content

Commit 1949a4e

Browse files
committed
autoformat
1 parent c66d299 commit 1949a4e

File tree

1 file changed

+4
-1
lines changed
  • javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling

1 file changed

+4
-1
lines changed

javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/CoreKnowledge.qll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,10 @@ predicate isOtherModeledArgument(DataFlow::Node n, FilteringReason reason) {
201201
call instanceof FileSystemAccess and reason instanceof FileSystemAccessReason
202202
or
203203
// TODO database accesses are less well defined than database query sinks, so this may cover unmodeled sinks on existing database models
204-
[call, call.getAMethodCall() /* command pattern where the query is built, and then exec'ed later */] instanceof DatabaseAccess and
204+
[
205+
call, call.getAMethodCall()
206+
/* command pattern where the query is built, and then exec'ed later */ ] instanceof
207+
DatabaseAccess and
205208
reason instanceof DatabaseAccessReason
206209
or
207210
call = DOM::domValueRef() and reason instanceof DOMReason

0 commit comments

Comments
 (0)