Meaningful stack traces for address sanitizer in GCC

后端 未结 3 849
心在旅途
心在旅途 2020-12-05 06:45

I just tried compiling with GCC and the -fsanitize=address flag. When I run my program, the address sanitizer finds a flaw, but the stack trace is not helpful.

3条回答
  •  渐次进展
    2020-12-05 07:17

    GCC 4.9.3 above does not require separate symbolizer.

    Check How to compile with GCC with static options

提交回复
热议问题