trailofbits / polytracker

An LLVM-based instrumentation tool for universal taint tracking, dataflow analysis, and tracing.
Apache License 2.0
532 stars 46 forks source link

Instrumented binary segfaults upon writing env var info #6480

Closed surovic closed 2 years ago

surovic commented 2 years ago

If POLYTRACKER_STDOUT_SINK or POLYTRACKER_STDERR_SINK env var is not set the instrumented binary does a nullptr dereference here because of this.