File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
rm -rf testdb
9
9
10
- codeql database create --language=go testdb --search-path ..
10
+ codeql database create --language=go testdb --search-path ../build/codeql-extractor-go
11
11
codeql dataset check testdb/db-go
12
12
codeql query run ../ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/ControlFlowNode_getASuccessor.ql --database=testdb --output=notracing-out.bqrs --search-path ..
13
13
codeql bqrs decode notracing-out.bqrs --format=csv --output=notracing-out.csv
@@ -19,7 +19,7 @@ export CODEQL_EXTRACTOR_GO_BUILD_TRACING=on
19
19
20
20
rm -rf testdb
21
21
22
- codeql database create --language=go testdb --search-path ..
22
+ codeql database create --language=go testdb --search-path ../build/codeql-extractor-go
23
23
codeql dataset check testdb/db-go
24
24
codeql query run ../ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/ControlFlowNode_getASuccessor.ql --database=testdb --output=tracing-out.bqrs --search-path ..
25
25
codeql bqrs decode tracing-out.bqrs --format=csv --output=tracing-out.csv
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ if [ -z "$SEMMLE_PLATFORM" ]
4
4
then
5
5
case " $OSTYPE " in
6
6
linux* ) SEMMLE_PLATFORM=" linux" ;;
7
- darwin* ) SEMMLE_PLATFORM=" osx " ;;
7
+ darwin* ) SEMMLE_PLATFORM=" osx64 " ;;
8
8
msys* ) SEMMLE_PLATFORM=" win" ;;
9
9
* ) echo " This script only works on Linux, macOS and msys; OSTYPE: $OSTYPE " && exit 1
10
10
esac
20
20
run () {
21
21
cmd=$1
22
22
shift
23
- " $SCRIPTDIR /platform/ $SEMMLE_PLATFORM /bin /$cmd$EXE " " $@ "
23
+ " $SCRIPTDIR /$SEMMLE_PLATFORM /$cmd$EXE " " $@ "
24
24
}
You can’t perform that action at this time.
0 commit comments