Files
codeql/php/tools/index-files.sh
Josef Svenningsson cea862bfb3 PHP extractor and query library, built with AI
This is built with copilot, via a number
of iterations and run various test. But it should
by no means be considered production ready. I'm
looking for feeback on how to take this forward.
2026-03-05 17:02:05 +00:00

10 lines
266 B
Bash
Executable File

#!/bin/sh
set -eu
exec "${CODEQL_EXTRACTOR_PHP_ROOT}/tools/${CODEQL_PLATFORM}/extractor" \
extract \
--file-list "$1" \
--source-archive-dir "$CODEQL_EXTRACTOR_PHP_SOURCE_ARCHIVE_DIR" \
--output-dir "$CODEQL_EXTRACTOR_PHP_TRAP_DIR"