We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#define LogCheckPtrVoid(ptr, ...) if(nullptr == ptr){ ERROR_LOG(VA_ARGS); return; }
有这样的一段宏定义,在程序其他地方调用的时候判断指针。但是扫描之后,后面使用该指针的时候,扫描工具会报空指针警告。
The text was updated successfully, but these errors were encountered:
你好,应该是扫描的时候,宏没有正常展开。您可以在配置文件中添加一下配置cfg/cfg/xml文件 section JumpCode。
<jumpcode name="LogCheckPtrVoid"> <arg index="1"/> </jumpcode>
Sorry, something went wrong.
你好,应该是扫描的时候,宏没有正常展开。您可以在配置文件中添加一下配置cfg/cfg/xml文件 section JumpCode。 <jumpcode name="LogCheckPtrVoid"> <arg index="1"/> </jumpcode>
您好!请问JumpCode的name部分是配置宏的名字吗?我可以使用JumpCode的name跳过函数或者变量么?期待您的回答,谢谢!
No branches or pull requests
#define LogCheckPtrVoid(ptr, ...)
if(nullptr == ptr){
ERROR_LOG(VA_ARGS);
return;
}
有这样的一段宏定义,在程序其他地方调用的时候判断指针。但是扫描之后,后面使用该指针的时候,扫描工具会报空指针警告。
The text was updated successfully, but these errors were encountered: