=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== intel2gas-1.3.3/configure-69- case "$ac_option" in intel2gas-1.3.3/configure:70: -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; intel2gas-1.3.3/configure-71- *) ac_optarg= ;; ############################################## intel2gas-1.3.3/configure-101- -disable-* | --disable-*) intel2gas-1.3.3/configure:102: ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` intel2gas-1.3.3/configure-103- # Reject names that are not valid shell variable names. intel2gas-1.3.3/configure:104: if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then intel2gas-1.3.3/configure-105- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } intel2gas-1.3.3/configure-106- fi intel2gas-1.3.3/configure:107: ac_feature=`echo $ac_feature| sed 's/-/_/g'` intel2gas-1.3.3/configure-108- eval "enable_${ac_feature}=no" ;; ############################################## intel2gas-1.3.3/configure-110- -enable-* | --enable-*) intel2gas-1.3.3/configure:111: ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` intel2gas-1.3.3/configure-112- # Reject names that are not valid shell variable names. intel2gas-1.3.3/configure:113: if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then intel2gas-1.3.3/configure-114- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } intel2gas-1.3.3/configure-115- fi intel2gas-1.3.3/configure:116: ac_feature=`echo $ac_feature| sed 's/-/_/g'` intel2gas-1.3.3/configure-117- case "$ac_option" in ############################################## intel2gas-1.3.3/configure-341- -with-* | --with-*) intel2gas-1.3.3/configure:342: ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` intel2gas-1.3.3/configure-343- # Reject names that are not valid shell variable names. intel2gas-1.3.3/configure:344: if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then intel2gas-1.3.3/configure-345- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } intel2gas-1.3.3/configure-346- fi intel2gas-1.3.3/configure:347: ac_package=`echo $ac_package| sed 's/-/_/g'` intel2gas-1.3.3/configure-348- case "$ac_option" in ############################################## intel2gas-1.3.3/configure-354- -without-* | --without-*) intel2gas-1.3.3/configure:355: ac_package=`echo $ac_option|sed -e 's/-*without-//'` intel2gas-1.3.3/configure-356- # Reject names that are not valid shell variable names. intel2gas-1.3.3/configure:357: if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then intel2gas-1.3.3/configure-358- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } intel2gas-1.3.3/configure-359- fi intel2gas-1.3.3/configure:360: ac_package=`echo $ac_package| sed 's/-/_/g'` intel2gas-1.3.3/configure-361- eval "with_${ac_package}=no" ;; ############################################## intel2gas-1.3.3/configure-384- *) intel2gas-1.3.3/configure:385: if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then intel2gas-1.3.3/configure-386- echo "configure: warning: $ac_option: invalid host type" 1>&2 ############################################## intel2gas-1.3.3/configure-397-if test -n "$ac_prev"; then intel2gas-1.3.3/configure:398: { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } intel2gas-1.3.3/configure-399-fi ############################################## intel2gas-1.3.3/configure-462- ac_prog=$0 intel2gas-1.3.3/configure:463: ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` intel2gas-1.3.3/configure-464- test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. ############################################## intel2gas-1.3.3/configure-478-fi intel2gas-1.3.3/configure:479:srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` intel2gas-1.3.3/configure-480- ############################################## intel2gas-1.3.3/configure-532-echo "configure:531: checking for $ac_word" >&5 intel2gas-1.3.3/configure:533:if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then intel2gas-1.3.3/configure-534- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## intel2gas-1.3.3/configure-611-echo "configure:610: checking whether we are using GNU C++" >&5 intel2gas-1.3.3/configure:612:if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then intel2gas-1.3.3/configure-613- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## intel2gas-1.3.3/configure-639-echo "configure:638: checking whether ${CXX-g++} accepts -g" >&5 intel2gas-1.3.3/configure:640:if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then intel2gas-1.3.3/configure-641- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## intel2gas-1.3.3/configure-643- echo 'void f(){}' > conftest.cc intel2gas-1.3.3/configure:644:if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then intel2gas-1.3.3/configure-645- ac_cv_prog_cxx_g=yes ############################################## intel2gas-1.3.3/configure-677-if test -z "$CPP"; then intel2gas-1.3.3/configure:678:if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then intel2gas-1.3.3/configure-679- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## intel2gas-1.3.3/configure-693-{ (eval echo configure:692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } intel2gas-1.3.3/configure:694:ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` intel2gas-1.3.3/configure-695-if test -z "$ac_err"; then ############################################## intel2gas-1.3.3/configure-710-{ (eval echo configure:709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } intel2gas-1.3.3/configure:711:ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` intel2gas-1.3.3/configure-712-if test -z "$ac_err"; then ############################################## intel2gas-1.3.3/configure-727-{ (eval echo configure:726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } intel2gas-1.3.3/configure:728:ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` intel2gas-1.3.3/configure-729-if test -z "$ac_err"; then ############################################## intel2gas-1.3.3/configure-753-echo "configure:752: checking for glob.h" >&5 intel2gas-1.3.3/configure:754:if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then intel2gas-1.3.3/configure-755- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## intel2gas-1.3.3/configure-763-{ (eval echo configure:762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } intel2gas-1.3.3/configure:764:ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` intel2gas-1.3.3/configure-765-if test -z "$ac_err"; then ############################################## intel2gas-1.3.3/configure-776-fi intel2gas-1.3.3/configure:777:if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then intel2gas-1.3.3/configure-778- echo "$ac_t""yes" 1>&6 ############################################## intel2gas-1.3.3/configure-965- fi intel2gas-1.3.3/configure:966: ac_file=`expr $ac_file + 1` intel2gas-1.3.3/configure-967- ac_beg=$ac_end intel2gas-1.3.3/configure:968: ac_end=`expr $ac_end + $ac_max_sed_cmds` intel2gas-1.3.3/configure-969- fi ############################################## intel2gas-1.3.3/configure-985- case "$ac_file" in intel2gas-1.3.3/configure:986: *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` intel2gas-1.3.3/configure:987: ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; intel2gas-1.3.3/configure-988- *) ac_file_in="${ac_file}.in" ;; ############################################## intel2gas-1.3.3/configure-993- # Remove last slash and all that follows it. Not all systems have dirname. intel2gas-1.3.3/configure:994: ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` intel2gas-1.3.3/configure-995- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then ############################################## intel2gas-1.3.3/configure-997- test ! -d "$ac_dir" && mkdir "$ac_dir" intel2gas-1.3.3/configure:998: ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" intel2gas-1.3.3/configure-999- # A "../" for each directory in $ac_dir_suffix. intel2gas-1.3.3/configure:1000: ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` intel2gas-1.3.3/configure-1001- else ############################################## intel2gas-1.3.3/configure-1007- if test -z "$ac_dots"; then top_srcdir=. intel2gas-1.3.3/configure:1008: else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; intel2gas-1.3.3/configure-1009- /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; ############################################## intel2gas-1.3.3/configure-1017- rm -f "$ac_file" intel2gas-1.3.3/configure:1018: configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." intel2gas-1.3.3/configure-1019- case "$ac_file" in ############################################## intel2gas-1.3.3/configure-1024- intel2gas-1.3.3/configure:1025: ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` intel2gas-1.3.3/configure-1026- sed -e "$ac_comsub ############################################## intel2gas-1.3.3/i2g/num.syntax:1:# this simply converts the NASM number format to AT&T style intel2gas-1.3.3/i2g/num.syntax-2-# the hex,oct,dec,bin all only match the numbers they indicate ############################################## intel2gas-1.3.3/m2g/num.syntax:1:# this simply converts the NASM number format to AT&T style intel2gas-1.3.3/m2g/num.syntax-2-# the hex,oct,dec,bin all only match the numbers they indicate ############################################## intel2gas-1.3.3/README-11-Intel2gas is a small text parser that can convert assembler source intel2gas-1.3.3/README:12:written in NASM syntax to gas syntax. And nowadays intel2gas-1.3.3/README-13-more often also the other way. ############################################## intel2gas-1.3.3/README-22- intel2gas-1.3.3/README:23:It's simple. To convert from NASM format to gas format type intel2gas-1.3.3/README:24: intel2gas infile.asm -o outfile.s intel2gas-1.3.3/README-25-or intel2gas-1.3.3/README:26: cat infile.asm | intel2gas > outfile.s intel2gas-1.3.3/README-27- intel2gas-1.3.3/README:28:Or the other way around from gas to NASM format intel2gas-1.3.3/README-29- intel2gas -g infile.s -i outfile.asm ############################################## intel2gas-1.3.3/README-31-To test how correctly intel2gas works try: intel2gas-1.3.3/README:32: intel2gas infile.asm | intel2gas -g -o outfile.asm intel2gas-1.3.3/README:33: diff -u infile.asm outfile.asm intel2gas-1.3.3/README-34- ############################################## intel2gas-1.3.3/README-47-Use the command-line switch -m or -t to use the less strict syntax intel2gas-1.3.3/README:48:files suitable for MASM/TASM conversion. intel2gas-1.3.3/README-49- ############################################## intel2gas-1.3.3/README-52- intel2gas-1.3.3/README:53:I chose NASM syntax as the base because it's so much simpler and does intel2gas-1.3.3/README-54-not have thousands of useless directives and compatibility defines ############################################## intel2gas-1.3.3/README-70-When converting code with variables declared .globl: intel2gas-1.3.3/README:71:NASM seems to require that only functions should be declared GLOBAL and intel2gas-1.3.3/README-72-variables instead as COMMON. Currently i2g defaults to GLOBAL and all ############################################## intel2gas-1.3.3/README-89-feature of gcc's extended inline assembly syntax. This is the field intel2gas-1.3.3/README:90:that comes after the second colon (:) at the end of an asm block. intel2gas-1.3.3/README:91:(Search for the word FIXASM in the output file.) intel2gas-1.3.3/README-92- intel2gas-1.3.3/README:93:The advantage is that many MOV statements required by MASM usually intel2gas-1.3.3/README-94-can be eliminated. See Brennan Underwood's Guide to Inline Assembly, ############################################## intel2gas-1.3.3/g2i/main.syntax-68-# GCC created label intel2gas-1.3.3/g2i/main.syntax:69:# (remove dot because NASM uses it for local labels) intel2gas-1.3.3/g2i/main.syntax-70-.L<dec>: ############################################## intel2gas-1.3.3/g2i/num.syntax:1:# this simply converts the NASM number format to AT&T style intel2gas-1.3.3/g2i/num.syntax-2-# the hex,oct,dec,bin all only match the numbers they indicate ############################################## intel2gas-1.3.3/ChangeLog-12-- minor fixes in .syntax files intel2gas-1.3.3/ChangeLog:13:- preliminary gas->nasm conversion intel2gas-1.3.3/ChangeLog-14-- comment in/out characters selectable ############################################## intel2gas-1.3.3/ChangeLog-26-- more syntax fixes intel2gas-1.3.3/ChangeLog:27:- new mode for masm/tasm -> gas intel2gas-1.3.3/ChangeLog:28:- new mode for C inline masm -> C inline gas (use -m -I) intel2gas-1.3.3/ChangeLog-29-- comment characters are now comment strings ############################################## intel2gas-1.3.3/ChangeLog-38-- fixed variable addressing in intel->gas conversion intel2gas-1.3.3/ChangeLog:39:- gas->nasm conversion fixes intel2gas-1.3.3/ChangeLog-40-- three parameter opcode fixes ############################################## intel2gas-1.3.3/ChangeLog-47-- understands better gcc generated code intel2gas-1.3.3/ChangeLog:48:- fixed all gas->nasm jump conversions for good (i hope) intel2gas-1.3.3/ChangeLog-49-- compiles on BeOS (#undef USE_GLOB in i2gconf.h) intel2gas-1.3.3/ChangeLog-50- someone please help with configure stuff! intel2gas-1.3.3/ChangeLog:51:- better masm syntax parsing intel2gas-1.3.3/ChangeLog-52-- better constant string conversions ############################################## intel2gas-1.3.3/THANKS-5-Kw Wu for plethora of bug reports (and a SGI T-shirt) intel2gas-1.3.3/THANKS:6:Erik Sandberg for gas->nasm testing & fixing intel2gas-1.3.3/THANKS-7-Alexander v. Friesen for sending bug reports ############################################## intel2gas-1.3.3/intel2gas.spec-15-%description intel2gas-1.3.3/intel2gas.spec:16:This program converts your assembly source files from NASM to gas or the intel2gas-1.3.3/intel2gas.spec-17-other way around so you don't have to have the other assembler to build ############################################## intel2gas-1.3.3/debian/control-9-Depends: ${shlibs:Depends} intel2gas-1.3.3/debian/control:10:Description: converter from NASM assembly language to GAS intel2gas-1.3.3/debian/control-11- Intel2GAS is a converter that will convert assembler source files intel2gas-1.3.3/debian/control:12: written for NASM to files that can be assembled using the intel2gas-1.3.3/debian/control-13- GNU Assembler (GAS), on the i386 platform. It provides support for basic ############################################## intel2gas-1.3.3/debian/intel2gas.man-4-.SH NAME intel2gas-1.3.3/debian/intel2gas.man:5:intel2gas \- convert between NASM assembly and GAS assembly language intel2gas-1.3.3/debian/intel2gas.man-6-.SH SYNOPSIS ############################################## intel2gas-1.3.3/debian/intel2gas.man-31-.B \-m intel2gas-1.3.3/debian/intel2gas.man:32:convert from masm to at&t format intel2gas-1.3.3/debian/intel2gas.man-33-.TP intel2gas-1.3.3/debian/intel2gas.man-34-.B \-t intel2gas-1.3.3/debian/intel2gas.man:35:convert from tasm to at&t format intel2gas-1.3.3/debian/intel2gas.man-36-.TP ############################################## intel2gas-1.3.3/intel2gas.cc-41-bool in_asm_block = true; // if in inline mode tells wheather intel2gas-1.3.3/intel2gas.cc:42: // we are in asm block or not intel2gas-1.3.3/intel2gas.cc-43- intel2gas-1.3.3/intel2gas.cc:44:#define FLAG_INLINEMODE 1 /* converting inline asm (instead of standalone) */ intel2gas-1.3.3/intel2gas.cc-45-#define FLAG_DOUBLEPERCENTCHARS 2 /* doubles % chars in syntax files to %% */ ############################################## intel2gas-1.3.3/intel2gas.cc-609- "\t-g\t\tconvert from at&t to intel format\n"\ intel2gas-1.3.3/intel2gas.cc:610: "\t-m -t\t\tconvert from masm/tasm to at&t format\n"\ intel2gas-1.3.3/intel2gas.cc-611- "\t-c\t\tunderstand C style comments\n"\ ############################################## intel2gas-1.3.3/intel2gas.cc-828- intel2gas-1.3.3/intel2gas.cc:829: /* Search for the asm keyword */ intel2gas-1.3.3/intel2gas.cc-830- char *pos = strstr(tempstr, "asm"); ############################################## intel2gas-1.3.3/intel2gas.cc-838- if (*str_skipspace(tempstr) == '{') starts_now = 1; intel2gas-1.3.3/intel2gas.cc:839: // it propably was a just the text asm somewhere intel2gas-1.3.3/intel2gas.cc-840- else fprintf(stdout, "%s\n", last_line);