1. 对“__asan_report_load4”的未定义引用
程序出现大量的报错,应该是静态链接库没有链接上,设置下:
-lasan
解决。
2. 运行时候报错
==20744==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
程序出现大量的报错,应该是静态链接库没有链接上,设置下:
-lasan
解决。
==20744==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
本文标题:AScan 编译一些错误
本文链接:https://www.haomeiwen.com/subject/wbdhxktx.html
网友评论