use CODEQL_PLATFORM
This commit is contained in:
parent
dbd8007298
commit
5a03a14bfb
3 changed files with 7 additions and 3 deletions
3
lib/runner.js
generated
3
lib/runner.js
generated
|
|
@ -130,7 +130,8 @@ program
|
|||
// executable is needed to trace when System Integrity Protection is enabled.
|
||||
if (process.platform === "darwin") {
|
||||
const codeqlDist = tracerConfig.env["CODEQL_DIST"];
|
||||
tracerConfig.env["CODEQL_PRELOAD_TRACER"] = path.join(codeqlDist, "tools/osx64/preload_tracer");
|
||||
const codeqlPlatform = tracerConfig.env["CODEQL_PLATFORM"];
|
||||
tracerConfig.env["CODEQL_PRELOAD_TRACER"] = path.join(codeqlDist, "tools", codeqlPlatform, "preload_tracer");
|
||||
}
|
||||
// Always output a json file of the env that can be consumed programmatically
|
||||
const jsonEnvFile = path.join(config.tempDir, codeqlEnvJsonFilename);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -207,9 +207,12 @@ program
|
|||
// executable is needed to trace when System Integrity Protection is enabled.
|
||||
if (process.platform === "darwin") {
|
||||
const codeqlDist = tracerConfig.env["CODEQL_DIST"];
|
||||
const codeqlPlatform = tracerConfig.env["CODEQL_PLATFORM"];
|
||||
tracerConfig.env["CODEQL_PRELOAD_TRACER"] = path.join(
|
||||
codeqlDist,
|
||||
"tools/osx64/preload_tracer"
|
||||
"tools",
|
||||
codeqlPlatform,
|
||||
"preload_tracer"
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue