=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== pesign-0.112/libdpe/common.h-42-__attribute__ ((unused)) pesign-0.112/libdpe/common.h:43:compute_mem_addr(Pe *pe, off_t offset) pesign-0.112/libdpe/common.h-44-{ ############################################## pesign-0.112/libdpe/common.h-50-__attribute__ ((unused)) pesign-0.112/libdpe/common.h:51:compute_file_addr(Pe *pe, void *addr) pesign-0.112/libdpe/common.h-52-{ ############################################## pesign-0.112/libdpe/pe_addcert.c-56- pesign-0.112/libdpe/pe_addcert.c:57: void *addr = compute_mem_addr(pe, new_space); pesign-0.112/libdpe/pe_addcert.c-58- /* We leave the whole list empty until finalize...*/ ############################################## pesign-0.112/libdpe/pe_addcert.c-60- pesign-0.112/libdpe/pe_addcert.c:61: dd->certs.virtual_address = compute_file_addr(pe, addr); pesign-0.112/libdpe/pe_addcert.c-62- dd->certs.size += size; ############################################## pesign-0.112/libdpe/pe_addcert.c-78- pesign-0.112/libdpe/pe_addcert.c:79: void *mem = compute_mem_addr(pe, dd->certs.virtual_address); pesign-0.112/libdpe/pe_addcert.c-80- if (!mem) ############################################## pesign-0.112/libdpe/pe_addcert.c-90- uint64_t new_max_size = pe->maximum_size; pesign-0.112/libdpe/pe_addcert.c:91: mem = compute_mem_addr(pe, 0); pesign-0.112/libdpe/pe_addcert.c-92- msync(mem, new_max_size, MS_SYNC); ############################################## pesign-0.112/libdpe/pe_allocspace.c-107- pesign-0.112/libdpe/pe_allocspace.c:108: char *addr = compute_mem_addr(pe, pe->maximum_size); pesign-0.112/libdpe/pe_allocspace.c-109- memset(addr, '\0', extra); pesign-0.112/libdpe/pe_allocspace.c-110- pesign-0.112/libdpe/pe_allocspace.c:111: *new_space = compute_file_addr(pe, addr + align); pesign-0.112/libdpe/pe_allocspace.c-112- ############################################## pesign-0.112/libdpe/pe_allocspace.c-140-{ pesign-0.112/libdpe/pe_allocspace.c:141: void *addr = compute_mem_addr(pe, offset); pesign-0.112/libdpe/pe_allocspace.c-142- memset(addr, '\0', size); ############################################## pesign-0.112/libdpe/pe_updatefile.c-141- if (dde->size != 0) { pesign-0.112/libdpe/pe_updatefile.c:142: char *addr = compute_mem_addr(pe, dde->virtual_address); pesign-0.112/libdpe/pe_updatefile.c-143- msync(addr, dde->size, MS_SYNC); ############################################## pesign-0.112/src/certs/make-certs-50-if test "x$commonname" = x ; then pesign-0.112/src/certs/make-certs:51: echo Usage: `basename $0` 'commonname' user'[@domain]' '[more [...]]' pesign-0.112/src/certs/make-certs:52: echo Usage: `basename $0` -revoke 'commonname' pesign-0.112/src/certs/make-certs:53: echo Usage: `basename $0` -ocsp pesign-0.112/src/certs/make-certs:54: echo Usage: `basename $0` -refresh-crl pesign-0.112/src/certs/make-certs-55- echo More: ############################################## pesign-0.112/src/certs/make-certs-80-echo "$GIVENUSER" | grep -q @ || GIVENUSER="$GIVENUSER"@$DOMAIN pesign-0.112/src/certs/make-certs:81:DOMAIN=`echo "$GIVENUSER" | cut -f2- -d@` pesign-0.112/src/certs/make-certs-82- ############################################## pesign-0.112/src/certs/make-certs-131- OCSP:*|ocsp:*) pesign-0.112/src/certs/make-certs:132: aiaval=`echo "$value" | cut -f2- -d:` pesign-0.112/src/certs/make-certs-133- aia="OCSP;URI:$aiaval" ############################################## pesign-0.112/src/certs/make-certs-135- CRL:*|crl:*) pesign-0.112/src/certs/make-certs:136: crlval=`echo "$value" | cut -f2- -d:` pesign-0.112/src/certs/make-certs-137- crl="URI:$crlval" ############################################## pesign-0.112/src/certs/make-certs-152- 1.*|2.*|id-*|tls-*|email|mail|codesign) pesign-0.112/src/certs/make-certs:153: ekuval=`echo "$value" | tr '[A-Z]' '[a-z]' | sed 's,\-,,g'` pesign-0.112/src/certs/make-certs-154- case "$ekuval" in ############################################## pesign-0.112/src/certs/make-certs-169- *@*.COM|*@*.EDU|*@*.NET|*@*.ORG|*@*.LOCAL) pesign-0.112/src/certs/make-certs:170: luser=`echo "$value" | tr '[A-Z]' '[a-z]'` pesign-0.112/src/certs/make-certs-171- if test "$luser" = "$value" ; then ############################################## pesign-0.112/src/certs/make-certs-330-for value in $principals; do pesign-0.112/src/certs/make-certs:331: user=`echo "$value" | cut -f1 -d@` pesign-0.112/src/certs/make-certs:332: realm=`echo "$value" | cut -f2- -d@` pesign-0.112/src/certs/make-certs-333- echo "" >> openssl.cnf ############################################## pesign-0.112/src/certs/make-certs-344- count=0 pesign-0.112/src/certs/make-certs:345: for part in `echo "$user" | sed 's,/, ,g'` ; do pesign-0.112/src/certs/make-certs-346- echo "$count.part=GeneralString:$part" >> openssl.cnf pesign-0.112/src/certs/make-certs:347: count=`expr "$count" + 1` pesign-0.112/src/certs/make-certs-348- done ############################################## pesign-0.112/src/certs/make-certs-466- pfx="$commonname/ca.p12" pesign-0.112/src/certs/make-certs:467: ln -s ../`basename $0` "$commonname"/ pesign-0.112/src/certs/make-certs-468-else