From 71bb1fef5cfb622ac32ecf4d0f71bfd45fa8d046 Mon Sep 17 00:00:00 2001 From: Luca Bancale <43883450+sbancuz@users.noreply.github.com> Date: Mon, 23 Dec 2024 23:50:16 +0100 Subject: [PATCH] Ignore a warning when compiling with asm --- pwnlib/asm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pwnlib/asm.py b/pwnlib/asm.py index 139ab6726..ee73079a4 100644 --- a/pwnlib/asm.py +++ b/pwnlib/asm.py @@ -471,6 +471,7 @@ def cpp(shellcode): code = _include_header() + shellcode cmd = [ cpp, + '-Wno-unused-command-line-argument', '-C', '-nostdinc', '-undef',