Using GCC Undefined Behavior Sanitizer

前端 未结 2 2104
不知归路
不知归路 2020-12-10 11:32

Today I have read an article about GCC Undefined Behavior Sanitizer (ubsan). However, when I follow steps there (add -fsanitize=undefined to my

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-10 12:10

    I have installed libubsan0 and lib64ubsan0 and added -lubsan option, and my application compiled successfully!

提交回复
热议问题