trailofbits / pasta

Peter's Amazing Syntax Tree Analyzer
Apache License 2.0
123 stars 9 forks source link

Unable to match token range for vsprintf #31

Open pgoodman opened 2 years ago

pgoodman commented 2 years ago
int  vsprintf(char * __restrict, const char * __restrict, va_list) __printflike(2, 0) __swift_unavailable("Use vsnprintf instead.");

From image

Used in compile command:

[{
  "directory": "/Users/pag/Code/MonetDB/clients/examples/C",
  "command": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -I/Users/pag/Code/MonetDB/clients/mapilib  -Werror -Wall -Wextra -Werror-implicit-function-declaration -Wpointer-arith -Wundef -Wformat=2 -Wno-format-nonliteral -Winit-self -Winvalid-pch -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wno-missing-field-initializers -Wold-style-definition -Wpacked -Wunknown-pragmas -Wvariadic-macros -Wstack-protector -fstack-protector-all -Wmissing-include-dirs -Wnested-externs -Wmissing-noreturn -Wuninitialized -Wno-char-subscripts -Wunreachable-code -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -std=gnu99 -o CMakeFiles/sample0.dir/sample0.c.o -c /Users/pag/Code/MonetDB/clients/examples/C/sample0.c",
  "file": "/Users/pag/Code/MonetDB/clients/examples/C/sample0.c"
}]