Last change
on this file since 62537 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 |
|
---|
2 | extern void MyIprtPrintf(const char *pszFormat, ...) __attribute__((__iprt_format__(1,2)));
|
---|
3 | extern void foo(void);
|
---|
4 |
|
---|
5 | void 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.