=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_lock.c-70- php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_lock.c:71: asm volatile php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_lock.c-72- ( ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_lock.c-99- php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_lock.c:100: asm volatile ( php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_lock.c-101- "xchg %0, 0(%1)" : "=r" (released) : "r" (&lock->state), ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc.php-772- if(!empty($_SERVER['SERVER_NAME'])) php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc.php:773: echo "<tr class=tr-0><td class=td-0>APCu Host</td><td>{$_SERVER['SERVER_NAME']} $host</td></tr>\n"; php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc.php-774- if(!empty($_SERVER['SERVER_SOFTWARE'])) php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc.php:775: echo "<tr class=tr-1><td class=td-0>Server Software</td><td>{$_SERVER['SERVER_SOFTWARE']}</td></tr>\n"; php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc.php-776- ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-59-#define SMA_HDR(sma, i) ((sma_header_t*)((sma->segs[i]).shmaddr)) php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:60:#define SMA_ADDR(sma, i) ((char*)(SMA_HDR(sma, i))) php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-61-#define SMA_RO(sma, i) ((char*)(sma->segs[i]).roaddr) ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-396- if (off != -1) { php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:397: void* p = (void *)(SMA_ADDR(sma, sma->last) + off); php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-398- WUNLOCK(&SMA_LCK(sma, sma->last)); ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-421- if (off != -1) { php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:422: void* p = (void *)(SMA_ADDR(sma, i) + off); php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-423- WUNLOCK(&SMA_LCK(sma, i)); ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-488- for (i = 0; i < sma->num; i++) { php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:489: offset = (size_t)((char *)p - SMA_ADDR(sma, i)); php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:490: if (p >= (void*)SMA_ADDR(sma, i) && offset < sma->size) { php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-491- WLOCK(&SMA_LCK(sma, i)); ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-514- php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:515: offset = (size_t)((char *)p - SMA_ADDR(sma, sma->last)); php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-516- php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:517: if(p >= (void*)SMA_ADDR(sma, sma->last) && offset < sma->size) { php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-518- return SMA_RO(sma, sma->last) + offset; ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-521- for (i = 0; i < sma->num; i++) { php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:522: offset = (size_t)((char *)p - SMA_ADDR(sma, i)); php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:523: if (p >= (void*)SMA_ADDR(sma, i) && offset < sma->size) { php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-524- return SMA_RO(sma, i) + offset; ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-543- if(p >= (void*)SMA_RO(sma, sma->last) && offset < sma->size) { php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:544: return SMA_ADDR(sma, sma->last) + offset; php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-545- } ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-549- if (p >= (void*)SMA_RO(sma, i) && offset < sma->size) { php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:550: return SMA_ADDR(sma, i) + offset; php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-551- } ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-587- RLOCK(&SMA_LCK(sma, i)); php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c:588: shmaddr = SMA_ADDR(sma, i); php-apcu-5.1.18+4.0.11/apcu-4.0.11/apc_sma.c-589- prv = BLOCKAT(ALIGNWORD(sizeof(sma_header_t))); ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-121-/*---------- php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h:122: * Standard gcc asm format (assuming "volatile slock_t *lock"): php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-123- ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-132- * The output-operands list (after first colon) should always include php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h:133: * "+m"(*lock), whether or not the asm code actually refers to this php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-134- * operand directly. This ensures that gcc believes the value in the php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h:135: * lock variable is used and set by the asm code. Also, the clobbers php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-136- * list (after third colon) should always include "memory"; this prevents php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-137- * gcc from thinking it can cache the values of shared-memory fields php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h:138: * across the asm code. Add "cc" if your asm code changes the condition php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-139- * code register, and also list any temp registers the code uses. ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-278- php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h:279: ret = _InterlockedExchange(lock,1); /* this is a xchg asm macro */ php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-280- ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-621- php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h:622:asm int php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-623-tas(volatile slock_t *s_lock) ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-832-{ php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h:833: /* See comment for gcc code. Same code, MASM syntax */ php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h:834: __asm rep nop; php-apcu-5.1.18+4.0.11/apcu-4.0.11/pgsql_s_lock.h-835-} ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/config.m4-285- dnl Check if ccache is being used php-apcu-5.1.18+4.0.11/apcu-4.0.11/config.m4:286: case `$php_shtool path $CC` in php-apcu-5.1.18+4.0.11/apcu-4.0.11/config.m4-287- *ccache*[)] gcc_ccache=yes;; ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/config.m4-305- php_cv_lcov_version=invalid php-apcu-5.1.18+4.0.11/apcu-4.0.11/config.m4:306: lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'` #' php-apcu-5.1.18+4.0.11/apcu-4.0.11/config.m4-307- for lcov_check_version in $lcov_version_list; do ############################################## php-apcu-5.1.18+4.0.11/apcu-4.0.11/config.m4-333- changequote({,}) php-apcu-5.1.18+4.0.11/apcu-4.0.11/config.m4:334: CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9s]*//g'` php-apcu-5.1.18+4.0.11/apcu-4.0.11/config.m4:335: CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[0-9s]*//g'` php-apcu-5.1.18+4.0.11/apcu-4.0.11/config.m4-336- changequote([,]) ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_lock.c-184- php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_lock.c:185: asm volatile php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_lock.c-186- ( ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_lock.c-210- php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_lock.c:211: asm volatile ( php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_lock.c-212- "xchg %0, 0(%1)" : "=r" (released) : "r" (&lock->state), ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c-318- ht->nTableMask = HT_MIN_MASK; php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c:319: HT_SET_DATA_ADDR(ht, &uninitialized_bucket); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c-320- return ht; ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c-324- ht->nInternalPointer = HT_INVALID_IDX; php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c:325: HT_SET_DATA_ADDR(ht, COPY(HT_GET_DATA_ADDR(ht), HT_USED_SIZE(ht))); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c-326- for (idx = 0; idx < ht->nNumUsed; idx++) { ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c-538- if (ht->nNumUsed == 0) { php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c:539: HT_SET_DATA_ADDR(ht, &uninitialized_bucket); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c-540- return ht; ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c-542- php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c:543: HT_SET_DATA_ADDR(ht, emalloc(HT_SIZE(ht))); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c:544: memcpy(HT_GET_DATA_ADDR(ht), HT_GET_DATA_ADDR(orig_ht), HT_HASH_SIZE(ht->nTableMask)); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_persist.c-545- ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc.php-771- if(!empty($_SERVER['SERVER_NAME'])) php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc.php:772: echo "<tr class=tr-0><td class=td-0>APCu Host</td><td>{$_SERVER['SERVER_NAME']} $host</td></tr>\n"; php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc.php-773- if(!empty($_SERVER['SERVER_SOFTWARE'])) php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc.php:774: echo "<tr class=tr-1><td class=td-0>Server Software</td><td>{$_SERVER['SERVER_SOFTWARE']}</td></tr>\n"; php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc.php-775- ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-57-#define SMA_HDR(sma, i) ((sma_header_t*)((sma->segs[i]).shmaddr)) php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:58:#define SMA_ADDR(sma, i) ((char*)(SMA_HDR(sma, i))) php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-59-#define SMA_RO(sma, i) ((char*)(sma->segs[i]).roaddr) ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-417- if (off != -1) { php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:418: void* p = (void *)(SMA_ADDR(sma, last) + off); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-419- SMA_UNLOCK(sma, last); ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-438- if (off != -1) { php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:439: void* p = (void *)(SMA_ADDR(sma, i) + off); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-440- sma->last = i; ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-476- for (i = 0; i < sma->num; i++) { php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:477: offset = (size_t)((char *)p - SMA_ADDR(sma, i)); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:478: if (p >= (void*)SMA_ADDR(sma, i) && offset < sma->size) { php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-479- if (!SMA_LOCK(sma, i)) { ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-505- php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:506: offset = (size_t)((char *)p - SMA_ADDR(sma, sma->last)); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-507- php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:508: if(p >= (void*)SMA_ADDR(sma, sma->last) && offset < sma->size) { php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-509- return SMA_RO(sma, sma->last) + offset; ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-512- for (i = 0; i < sma->num; i++) { php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:513: offset = (size_t)((char *)p - SMA_ADDR(sma, i)); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:514: if (p >= (void*)SMA_ADDR(sma, i) && offset < sma->size) { php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-515- return SMA_RO(sma, i) + offset; ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-534- if(p >= (void*)SMA_RO(sma, sma->last) && offset < sma->size) { php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:535: return SMA_ADDR(sma, sma->last) + offset; php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-536- } ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-540- if (p >= (void*)SMA_RO(sma, i) && offset < sma->size) { php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:541: return SMA_ADDR(sma, i) + offset; php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-542- } ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-578- SMA_LOCK(sma, i); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c:579: shmaddr = SMA_ADDR(sma, i); php-apcu-5.1.18+4.0.11/apcu-5.1.18/apc_sma.c-580- prv = BLOCKAT(ALIGNWORD(sizeof(sma_header_t))); ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/config.m4-259- dnl Check if ccache is being used php-apcu-5.1.18+4.0.11/apcu-5.1.18/config.m4:260: case `$php_shtool path $CC` in php-apcu-5.1.18+4.0.11/apcu-5.1.18/config.m4-261- *ccache*[)] gcc_ccache=yes;; ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/config.m4-279- php_cv_lcov_version=invalid php-apcu-5.1.18+4.0.11/apcu-5.1.18/config.m4:280: lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'` #' php-apcu-5.1.18+4.0.11/apcu-5.1.18/config.m4-281- for lcov_check_version in $lcov_version_list; do ############################################## php-apcu-5.1.18+4.0.11/apcu-5.1.18/config.m4-307- changequote({,}) php-apcu-5.1.18+4.0.11/apcu-5.1.18/config.m4:308: CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9s]*//g'` php-apcu-5.1.18+4.0.11/apcu-5.1.18/config.m4:309: CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[0-9s]*//g'` php-apcu-5.1.18+4.0.11/apcu-5.1.18/config.m4-310- changequote([,])