Created
October 14, 2015 14:45
-
-
Save bshastry/275de8e60c245b157880 to your computer and use it in GitHub Desktop.
Create gdb style breakpoints from Clang SA bug reports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
DIR=$1 | |
for file in $(find $DIR/report*.html); | |
do | |
filename=$(sed '63q;d' $file | awk '{print $3}'); | |
linenum=$(sed '69q;d' $file | awk '{print $3}'); | |
echo -e "break $filename:$linenum"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment