* Bump release 0.9 -- codename 'furoner'
* Fix perms in sys/clang-analyzer.sh * Enhace the sys/farm/html generator
This commit is contained in:
parent
c87ee35bfb
commit
83afc157a1
|
@ -104,12 +104,12 @@ done
|
|||
: ${INSTALL_PROGRAM:=${INSTALL} -m 755 -s}
|
||||
: ${INSTALL_MAN:=${INSTALL} -m 444}
|
||||
: ${INSTALL_LIB:=${INSTALL} -c}
|
||||
PKGNAME='radare2' ; VERSION='0.9hg' ; CONTACT_MAIL="pancake@nopcode.org" ; CONTACT_NAME="pancake" ; CONTACT="pancake <pancake@nopcode.org>" ;
|
||||
PKGNAME='radare2' ; VERSION='0.9' ; CONTACT_MAIL="pancake@nopcode.org" ; CONTACT_NAME="pancake" ; CONTACT="pancake <pancake@nopcode.org>" ;
|
||||
}
|
||||
|
||||
show_usage() {
|
||||
cat <<EOF2
|
||||
'configure' configures radare2-0.9hg to adapt to many kinds of systems.
|
||||
'configure' configures radare2-0.9 to adapt to many kinds of systems.
|
||||
|
||||
Usage: ./configure [OPTION]... [VAR=VALUE]...
|
||||
|
||||
|
@ -181,7 +181,7 @@ take_environ() {
|
|||
}
|
||||
|
||||
show_version() {
|
||||
echo "radare2-0.9hg configuration script done with acr v0.8.6.
|
||||
echo "radare2-0.9 configuration script done with acr v0.8.6.
|
||||
The 'Free Software Foundation' message is only for autodetection.
|
||||
Originally written by pancake <youterm.com>."
|
||||
exit 0
|
||||
|
@ -199,7 +199,7 @@ case $flag in
|
|||
show_version ; ;;
|
||||
"-r"|"--r"|"--report")
|
||||
echo "PKGNAME: radare2"
|
||||
echo "VERSION: 0.9hg"
|
||||
echo "VERSION: 0.9"
|
||||
echo "LANGS: c"
|
||||
echo "REQUIRED: libdl"
|
||||
echo "OPTIONAL: libmagic"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
PKGNAME radare2
|
||||
VERSION 0.9hg
|
||||
VERSION 0.9
|
||||
CONTACT pancake ; pancake@nopcode.org
|
||||
|
||||
LANG_C!
|
||||
|
|
|
@ -96,12 +96,12 @@ done
|
|||
: ${INSTALL_PROGRAM:=${INSTALL} -m 755 -s}
|
||||
: ${INSTALL_MAN:=${INSTALL} -m 444}
|
||||
: ${INSTALL_LIB:=${INSTALL} -c}
|
||||
PKGNAME='radare2-bindings' ; VERSION='0.9hg' ; CONTACT_MAIL="pancake@nopcode.org" ; CONTACT_NAME="pancake" ; CONTACT="pancake <pancake@nopcode.org>" ;
|
||||
PKGNAME='radare2-bindings' ; VERSION='0.9' ; CONTACT_MAIL="pancake@nopcode.org" ; CONTACT_NAME="pancake" ; CONTACT="pancake <pancake@nopcode.org>" ;
|
||||
}
|
||||
|
||||
show_usage() {
|
||||
cat <<EOF2
|
||||
'configure' configures radare2-bindings-0.9hg to adapt to many kinds of systems.
|
||||
'configure' configures radare2-bindings-0.9 to adapt to many kinds of systems.
|
||||
|
||||
Usage: ./configure [OPTION]... [VAR=VALUE]...
|
||||
|
||||
|
@ -169,7 +169,7 @@ take_environ() {
|
|||
}
|
||||
|
||||
show_version() {
|
||||
echo "radare2-bindings-0.9hg configuration script done with acr v0.8.6.
|
||||
echo "radare2-bindings-0.9 configuration script done with acr v0.8.6.
|
||||
The 'Free Software Foundation' message is only for autodetection.
|
||||
Originally written by pancake <youterm.com>."
|
||||
exit 0
|
||||
|
@ -187,7 +187,7 @@ case $flag in
|
|||
show_version ; ;;
|
||||
"-r"|"--r"|"--report")
|
||||
echo "PKGNAME: radare2-bindings"
|
||||
echo "VERSION: 0.9hg"
|
||||
echo "VERSION: 0.9"
|
||||
echo "LANGS: c c++"
|
||||
echo "PKG-CONFIG: r_core"
|
||||
echo "FLAGS: --enable-devel --with-cc=gcc --with-cxx=g++ --with-ostype=auto"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
PKGNAME radare2-bindings
|
||||
VERSION 0.9hg
|
||||
VERSION 0.9
|
||||
CONTACT pancake ; pancake@nopcode.org
|
||||
|
||||
LANG_C!
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
all:
|
||||
sh run.sh
|
||||
sh html.sh
|
||||
mkdir -p farm/log/clang
|
||||
mkdir -p log/clang
|
||||
#cd .. ; sh clang-analyzer.sh && mv ../clang-log/* farm/log/clang
|
||||
sh push.sh
|
||||
|
|
|
@ -11,7 +11,12 @@ for a in log/*.log ; do
|
|||
echo "<html><body style=background-color:black;color:white;font-family:Verdana>" > $b
|
||||
echo "<h1><a href=./>index</a></h1>" >> $b
|
||||
echo "<h1>$a</h1>" >> $b
|
||||
allocas=$(cat $a|grep -e "alloca'" |wc -l)
|
||||
formats=$(cat $a|grep -e "in format" -e "format'" |wc -l)
|
||||
unused=$(cat $a|grep -e "not used" -e unused |wc -l)
|
||||
casts=$(cat $a|grep incompatible |wc -l)
|
||||
warnings=$(cat $a|grep warning: |wc -l)
|
||||
undefineds=$(cat $a|grep undefined |wc -l)
|
||||
errors=$(cat $a|grep -e error: -e 'returned 1'|wc -l)
|
||||
if [ -f $t ]; then
|
||||
echo "<h2>time:</h2>" >> $b
|
||||
|
@ -25,22 +30,48 @@ for a in log/*.log ; do
|
|||
cat $c >> $b
|
||||
echo "</pre>" >> $b
|
||||
fi
|
||||
echo "<h2>warnings: $warnings</h2>" >> $b
|
||||
echo "<h2>errors: $errors</h2>" >> $b
|
||||
echo "<h2>return: "`cat $r`"</h2>" >> $b
|
||||
echo "<h2>warnings:</h2>" >> $b
|
||||
echo "<pre>" >> $b
|
||||
grep warning: $a | awk '{
|
||||
gsub(/warning\: (.*)$/,"<b style=color:yellow>warning: &</b>");
|
||||
echo "<h2>warnings: $warnings</h2>" >> $b
|
||||
echo "read below" >> $b
|
||||
echo "<h2>errors: $errors + $undefineds</h2>" >> $b
|
||||
echo "read below" >> $b
|
||||
echo "<h2>return: "`cat $r`"</h2>" >> $b
|
||||
echo "<h2>casts: $casts</h2>" >> $b
|
||||
grep -e "incompatible" $a | awk '{
|
||||
gsub(/incompatible (.*)$/,"<b style=color:yellow>incompatible &</b>");
|
||||
print}' >> $b
|
||||
echo "<h2>formats: $formats</h2>" >> $b
|
||||
grep -e "in format" -e "format'" $a | awk '{
|
||||
gsub(/format(.*)$/,"<b style=color:yellow>format &</b>");
|
||||
print}' >> $b
|
||||
echo "<h2>allocas: $allocas</h2>" >> $b
|
||||
grep "alloca'" $a | awk '{
|
||||
gsub(/warning\: (.*)$/,"<b style=color:yellow>&</b>");
|
||||
print}' >> $b
|
||||
echo "<h2>undefined: $undefineds</h2>" >> $b
|
||||
grep -C 2 undefined $a | awk '{
|
||||
gsub(/undefined (.*)$/,"<b style=color:orange>&</b>");
|
||||
print}' >> $b
|
||||
echo "<h2>errors:</h2>" >> $b
|
||||
grep error: $a | awk '{
|
||||
gsub(/error\: (.*)$/,"<b style=color:red>error: &</b>");
|
||||
grep -e Error -e error: $a | awk '{
|
||||
gsub(/rror\: (.*)$/,"<b style=color:red>&</b>");
|
||||
print}' >> $b
|
||||
grep -C 2 'returned 1' $a | awk '{
|
||||
gsub(/^---$/,"<br />");
|
||||
gsub(/^(.*)$/,"<b style=color:red>&</b>");
|
||||
print}' >> $b
|
||||
echo "<h2>unused: $unused</h2>" >> $b
|
||||
grep -e "not used" -e unused $a | awk '{
|
||||
gsub(/warning\: (.*)$/,"<b style=color:yellow>&</b>");
|
||||
print}' >> $b
|
||||
echo "<h2>warnings:</h2>" >> $b
|
||||
grep warning: $a | awk '{
|
||||
gsub(/warning\: (.*)$/,"<b style=color:yellow>&</b>");
|
||||
print}' >> $b
|
||||
echo "<h2>build:</h2>" >> $b
|
||||
cat $a | awk '{
|
||||
gsub(/warning\: (.*)$/,"<b style=color:yellow>warning: &</b>");
|
||||
gsub(/error\: (.*)$/,"<b style=color:red>error: &</b>");
|
||||
gsub(/error\: (.*)$/,"<b style=color:red>&</b>");
|
||||
print}' >> $b
|
||||
echo "<pre></body></html>" >> $b
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue