• Paul Chaignon's avatar
    Verify format specifiers in bpf_trace_printk in rewriter · 93419428
    Paul Chaignon authored
    Verifies format specifiers while rewriting calls to bpf_trace_printk
    and prints a warning the printk will be rejected by the kernel at
    runtime.
    
    For tests, redirects stderr at the file descriptor level in order to
    catch warnings from the C library.
    93419428
test_clang.py 12.6 KB