Inspiration

What it does

How we built it

Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for QNX BuildGuard

Inspiration

Developers migrating from QNX 7.x to QNX SDP 8.0 or authoring new QEMU system images frequently hit silent buildfile and toolchain breaks (deprecated slogger instead of slogger2, 32-bit armv7 compiler flags instead of 64-bit gcc_ntox86_64 / gcc_ntoaarch64le, missing LD_LIBRARY_PATH, or unsafe perms=4777 setuid binaries).

What It Does

QNX BuildGuard is a host-based static auditor and QEMU readiness workbench for QNX SDP 8.0 (Windows, macOS, and Linux hosts):

  • audit-buildfile: Validates mkifs .build files ([+script], procnto-smp-instr, slogger2, LD_LIBRARY_PATH, perms=4777, +raw).
  • audit-qcc: Checks qcc / q++ target variants (-Vgcc_ntox86_64, -Vgcc_ntoaarch64le) and flags deprecated 32-bit targets.
  • gen-qemu: Generates ready-to-build QNX SDP 8.0 QEMU x86_64 and aarch64le .build files and qemu-system-* launch commands.
  • Interactive Web Auditor & Step-by-Step Codelab: https://devbox-zero-ops.github.io/qnx-buildguard/codelab.html

QNX Environment & Reproduction

  • QNX Version: QNX SDP 8.0
  • Targets: QEMU (x86_64 & aarch64le) + Host CLI (Windows/macOS/Linux)
  • Toolchain: qcc, mkifs, Node.js 22+, TypeScript bash npm install && npm run build && npm test npm run cli -- audit-buildfile examples/qnx8-qemu-x86_64.build npm run cli -- audit-qcc "qcc -Vgcc_ntox86_64 -O2 -o sensor_node main.c"

Built With

Share this project:

Updates

Submission history