VirtualBox

source: vbox/trunk/src/bldprogs/test-gccplugin.c@ 59010

Last change on this file since 59010 was 56933, checked in by vboxsync, 9 years ago

gccplugin: Getting a bit further, can identify relevant function calls and detect NULL format string pointers.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 211 bytes
Line 
1
2extern void MyIprtPrintf(const char *pszFormat, ...) __attribute__((__iprt_format__(1,2)));
3extern void foo(void);
4
5void foo(void)
6{
7 MyIprtPrintf(0);
8 MyIprtPrintf("%RX32 %d %s\n", 10, 42, "string");
9}
10
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette