Re: Write plugin for `sanopt` or `asan0` passes

2020-06-15 Thread Martin Liška
On 6/14/20 4:15 PM, Shuai Wang via Gcc wrote: Hello, I am writing to inquire the procedure (or any tutorial) to write plugins for the `sanopt` pass. Basically I am doing some analysis of ASan/UBSan checks. I use the following command to dump all passes in IR format: gcc -fdump-tree-all -fsaniti

Write plugin for `sanopt` or `asan0` passes

2020-06-14 Thread Shuai Wang via Gcc
Hello, I am writing to inquire the procedure (or any tutorial) to write plugins for the `sanopt` pass. Basically I am doing some analysis of ASan/UBSan checks. I use the following command to dump all passes in IR format: gcc -fdump-tree-all -fsanitize=address test.c To me, I think the following