From 60d3de191154aa428a9569a4819aa658350920dc Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Wed, 19 Aug 2020 12:33:10 +0100 Subject: [PATCH] Document undocumented public symbols --- ql/src/ideContextual.qll | 3 +++ ql/src/semmle/go/security/InsecureFeatureFlag.qll | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ql/src/ideContextual.qll b/ql/src/ideContextual.qll index 97360578ea5..5945931126f 100644 --- a/ql/src/ideContextual.qll +++ b/ql/src/ideContextual.qll @@ -5,5 +5,8 @@ import go +/** + * Gets the `File` with encoded name `name`. + */ cached File getEncodedFile(string name) { result.getAbsolutePath().replaceAll(":", "_") = name } diff --git a/ql/src/semmle/go/security/InsecureFeatureFlag.qll b/ql/src/semmle/go/security/InsecureFeatureFlag.qll index 2f5d61c0c0b..c1b6db0d4f7 100644 --- a/ql/src/semmle/go/security/InsecureFeatureFlag.qll +++ b/ql/src/semmle/go/security/InsecureFeatureFlag.qll @@ -4,6 +4,9 @@ import go +/** + * Provides classes and predicates relating to flags that may indicate security expectations. + */ module InsecureFeatureFlag { /** * A kind of flag that may indicate security expectations regarding the code it guards.