File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 77
88rm -rf testdb
99
10- codeql database create --language=go testdb --search-path ..
10+ codeql database create --language=go testdb --search-path ../build/codeql-extractor-go
1111codeql dataset check testdb/db-go
1212codeql query run ../ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/ControlFlowNode_getASuccessor.ql --database=testdb --output=notracing-out.bqrs --search-path ..
1313codeql bqrs decode notracing-out.bqrs --format=csv --output=notracing-out.csv
@@ -19,7 +19,7 @@ export CODEQL_EXTRACTOR_GO_BUILD_TRACING=on
1919
2020rm -rf testdb
2121
22- codeql database create --language=go testdb --search-path ..
22+ codeql database create --language=go testdb --search-path ../build/codeql-extractor-go
2323codeql dataset check testdb/db-go
2424codeql query run ../ql/test/library-tests/semmle/go/controlflow/ControlFlowGraph/ControlFlowNode_getASuccessor.ql --database=testdb --output=tracing-out.bqrs --search-path ..
2525codeql 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" ]
44then
55 case " $OSTYPE " in
66 linux* ) SEMMLE_PLATFORM=" linux" ;;
7- darwin* ) SEMMLE_PLATFORM=" osx " ;;
7+ darwin* ) SEMMLE_PLATFORM=" osx64 " ;;
88 msys* ) SEMMLE_PLATFORM=" win" ;;
99 * ) echo " This script only works on Linux, macOS and msys; OSTYPE: $OSTYPE " && exit 1
1010 esac
2020run () {
2121 cmd=$1
2222 shift
23- " $SCRIPTDIR /platform/ $SEMMLE_PLATFORM /bin /$cmd$EXE " " $@ "
23+ " $SCRIPTDIR /$SEMMLE_PLATFORM /$cmd$EXE " " $@ "
2424}
You can’t perform that action at this time.
0 commit comments