=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== megaglest-3.13.0/source/g3d_viewer/CMakeLists.txt-45- # wxWidgets include (this will do all the magic to configure everything) megaglest-3.13.0/source/g3d_viewer/CMakeLists.txt:46: INCLUDE( ${wxWidgets_USE_FILE} ) megaglest-3.13.0/source/g3d_viewer/CMakeLists.txt-47- ############################################## megaglest-3.13.0/source/tools/convert_faction_xml2html/convert_faction_xml2html.pl-424- print "generating G3D using: [$g3d_generate_cmd]\n" if ( $debug ); megaglest-3.13.0/source/tools/convert_faction_xml2html/convert_faction_xml2html.pl:425: my $ret = `$g3d_generate_cmd`; megaglest-3.13.0/source/tools/convert_faction_xml2html/convert_faction_xml2html.pl-426- print "g3d_generate said: $ret\n"; ############################################## megaglest-3.13.0/source/tools/support/linux/system_report-32-VERSION='0.3.4' megaglest-3.13.0/source/tools/support/linux/system_report:33:MYNAME=`basename $0` megaglest-3.13.0/source/tools/support/linux/system_report-34-DEFAULT_REPORT_FILENAME=system_report.log ############################################## megaglest-3.13.0/source/tools/support/linux/system_report-244- lsb=1 megaglest-3.13.0/source/tools/support/linux/system_report:245: distribution=`lsb_release -i | awk -F':' '{ gsub(/^[ \t]*/,"",$2); print $2 }'` megaglest-3.13.0/source/tools/support/linux/system_report:246: release=`lsb_release -r | awk -F':' '{ gsub(/^[ \t]*/,"",$2); print $2 }'` megaglest-3.13.0/source/tools/support/linux/system_report:247: codename=`lsb_release -c | awk -F':' '{ gsub(/^[ \t]*/,"",$2); print $2 }'` megaglest-3.13.0/source/tools/support/linux/system_report-248-fi ############################################## megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-667- } megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp:668: addr.sin_addr.s_addr= inet_addr(IP.c_str()); megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-669- //addr.sin_port= htons(port); ############################################## megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-1966- addr.sin_family= AF_INET; megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp:1967: addr.sin_addr.s_addr= inet_addr(ip.getString().c_str()); megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-1968- addr.sin_port= htons(port); ############################################## megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-2346- if(this->bindSpecificAddress != "") { megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp:2347: addr.sin_addr.s_addr= inet_addr(this->bindSpecificAddress.c_str()); megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-2348- } ############################################## megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-2650-#if (defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 16) megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp:2651: char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])), 0, NULL); megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-2652-#elif (defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 9) || (!defined(MINIUPNPC_VERSION_PRE1_7) && !defined(MINIUPNPC_VERSION_PRE1_6)) megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp:2653: char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])), 0); megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-2654-#else megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp:2655: char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0]))); megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-2656-#endif ############################################## megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-2970- bcLocal[idx].sin_family = AF_INET; megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp:2971: bcLocal[idx].sin_addr.s_addr = inet_addr(ipSubnetMaskList[idx].c_str()); //htonl( INADDR_BROADCAST ); megaglest-3.13.0/source/shared_lib/sources/platform/posix/socket.cpp-2972- bcLocal[idx].sin_port = port; // We are letting the OS fill in the port number for the local machine. ############################################## megaglest-3.13.0/source/shared_lib/sources/platform/win32/platform_util.cpp-239- DWORD dwDisplacement2 = 0; megaglest-3.13.0/source/shared_lib/sources/platform/win32/platform_util.cpp:240: SymGetSymFromAddr(hProcess, stackframe.AddrPC.Offset, &dwDisplacement, pSym); megaglest-3.13.0/source/shared_lib/sources/platform/win32/platform_util.cpp:241: SymGetLineFromAddr(hProcess, stackframe.AddrPC.Offset, &dwDisplacement2, &line); megaglest-3.13.0/source/shared_lib/sources/platform/win32/platform_util.cpp-242- SymGetModuleInfo(hProcess, stackframe.AddrPC.Offset, &module); ############################################## megaglest-3.13.0/source/shared_lib/sources/streflop/libm/flt-32/s_nextafterf.cpp-66- if (FLT_EVAL_METHOD != 0) megaglest-3.13.0/source/shared_lib/sources/streflop/libm/flt-32/s_nextafterf.cpp:67: asm ("" : "=m"(x) : "m"(x)); megaglest-3.13.0/source/shared_lib/sources/streflop/libm/flt-32/s_nextafterf.cpp-68-#endif ############################################## megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h-153- megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h:154:#define STREFLOP_FSTCW(cw) do { short tmp; __asm { fstcw tmp }; (cw) = tmp; } while (0) megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h:155:#define STREFLOP_FLDCW(cw) do { short tmp = (cw); __asm { fclex }; __asm { fldcw tmp }; } while (0) megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h:156:#define STREFLOP_STMXCSR(cw) do { int tmp; __asm { stmxcsr tmp }; (cw) = tmp; } while (0) megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h:157:#define STREFLOP_LDMXCSR(cw) do { int tmp = (cw); __asm { ldmxcsr tmp }; } while (0) megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h-158- ############################################## megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h-162- megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h:163:#define STREFLOP_FSTCW(cw) do { asm volatile ("fstcw %0" : "=m" (cw) : ); } while (0) megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h:164:#define STREFLOP_FLDCW(cw) do { asm volatile ("fclex \n fldcw %0" : : "m" (cw)); } while (0) megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h:165:#define STREFLOP_STMXCSR(cw) do { asm volatile ("stmxcsr %0" : "=m" (cw) : ); } while (0) megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h:166:#define STREFLOP_LDMXCSR(cw) do { asm volatile ("ldmxcsr %0" : : "m" (cw) ); } while (0) megaglest-3.13.0/source/shared_lib/include/streflop/FPUSettings.h-167- ############################################## megaglest-3.13.0/source/shared_lib/CMakeLists.txt-90- FIND_PACKAGE(CURL REQUIRED) megaglest-3.13.0/source/shared_lib/CMakeLists.txt:91: INCLUDE(${CMAKE_SOURCE_DIR}/mk/cmake/Modules/CurlGetConfig.cmake) megaglest-3.13.0/source/shared_lib/CMakeLists.txt-92- INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS}) ############################################## megaglest-3.13.0/source/glest_map_editor/CMakeLists.txt-31- # wxWidgets include (this will do all the magic to configure everything) megaglest-3.13.0/source/glest_map_editor/CMakeLists.txt:32: INCLUDE( ${wxWidgets_USE_FILE} ) megaglest-3.13.0/source/glest_map_editor/CMakeLists.txt-33- ############################################## megaglest-3.13.0/source/glest_game/main/main.cpp-354- sym.si.MaxNameLen = MAX_SYM_NAME; megaglest-3.13.0/source/glest_game/main/main.cpp:355: if (SymFromAddr(process, program_counter, 0, &sym.si)) { megaglest-3.13.0/source/glest_game/main/main.cpp-356- out += string(sym.si.Name) + "()"; ############################################## megaglest-3.13.0/source/glest_game/CMakeLists.txt-94- FIND_PACKAGE(CURL REQUIRED) megaglest-3.13.0/source/glest_game/CMakeLists.txt:95: INCLUDE(${CMAKE_SOURCE_DIR}/mk/cmake/Modules/CurlGetConfig.cmake) megaglest-3.13.0/source/glest_game/CMakeLists.txt-96- INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS}) ############################################## megaglest-3.13.0/mk/windoze/vc2015/libstreflop.vcxproj-473- <ItemGroup> megaglest-3.13.0/mk/windoze/vc2015/libstreflop.vcxproj:474: <MASM Include="..\..\..\source\shared_lib\sources\streflop\FPUSettings.asm"> megaglest-3.13.0/mk/windoze/vc2015/libstreflop.vcxproj-475- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> ############################################## megaglest-3.13.0/mk/windoze/vc2012/libstreflop.vcxproj-466- <ItemGroup> megaglest-3.13.0/mk/windoze/vc2012/libstreflop.vcxproj:467: <MASM Include="..\..\..\source\shared_lib\sources\streflop\FPUSettings.asm"> megaglest-3.13.0/mk/windoze/vc2012/libstreflop.vcxproj-468- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> ############################################## megaglest-3.13.0/mk/linux/makedata-diff.sh-41-#echo "$line" # Output the line itself. megaglest-3.13.0/mk/linux/makedata-diff.sh:42:#echo `expr match "$line" 'megaglest-data-$VERSION'` megaglest-3.13.0/mk/linux/makedata-diff.sh:43:#addfilepos=`expr match "$line" 'megaglest-data-$VERSION'` megaglest-3.13.0/mk/linux/makedata-diff.sh-44- megaglest-3.13.0/mk/linux/makedata-diff.sh-45-#echo [$line] megaglest-3.13.0/mk/linux/makedata-diff.sh:46:#echo `awk "BEGIN {print index(\"$line\", \"megaglest-data-$VERSION\")}"` megaglest-3.13.0/mk/linux/makedata-diff.sh-47- megaglest-3.13.0/mk/linux/makedata-diff.sh:48:addfilepos=`awk "BEGIN {print index(\"$line\", \"megaglest-data-$VERSION\")}"` megaglest-3.13.0/mk/linux/makedata-diff.sh-49- ############################################## megaglest-3.13.0/mk/linux/makedata-diff.sh-52- megaglest-3.13.0/mk/linux/makedata-diff.sh:53:#echo [Looking for ONLY in: `expr match "$line" 'Only in '`] megaglest-3.13.0/mk/linux/makedata-diff.sh:54:onlyinpos=`expr match "$line" "Only in "` megaglest-3.13.0/mk/linux/makedata-diff.sh-55-#echo [$onlyinpos] ############################################## megaglest-3.13.0/mk/linux/makedata-diff.sh-60- megaglest-3.13.0/mk/linux/makedata-diff.sh:61: onlyinpos=`expr match "$line" "Only in megaglest-data-$VERSION"` megaglest-3.13.0/mk/linux/makedata-diff.sh-62- if [ "$onlyinpos" -ge "24" ]; then ############################################## megaglest-3.13.0/mk/linux/makedata-diff.sh-95- megaglest-3.13.0/mk/linux/makedata-diff.sh:96:files_list=`cat ../megaglest-data-$VERSION-fileslist.txt` megaglest-3.13.0/mk/linux/makedata-diff.sh-97- ############################################## megaglest-3.13.0/mk/linux/makedeps_folder.sh-59- do megaglest-3.13.0/mk/linux/makedeps_folder.sh:60: if [ `awk "BEGIN {print index(\"$i\", \"$j\")}"` -ne 0 ]; then megaglest-3.13.0/mk/linux/makedeps_folder.sh-61-# echo Skipping file = [$i] ############################################## megaglest-3.13.0/mk/linux/makedeps_folder.sh-69- do megaglest-3.13.0/mk/linux/makedeps_folder.sh:70: if [ `awk "BEGIN {print index(\"$i\", \"$j\")}"` -ne 0 ]; then megaglest-3.13.0/mk/linux/makedeps_folder.sh-71-# echo Skipping file = [$i] ############################################## megaglest-3.13.0/mk/linux/build-mg.sh-256-# "clang", use whatever these environment variables point to. megaglest-3.13.0/mk/linux/build-mg.sh:257:elif [ "`echo $CC | grep -oF 'clang'`" = 'clang' -a "`echo $CXX | grep -oF 'clang'`" = 'clang' ]; then megaglest-3.13.0/mk/linux/build-mg.sh:258: if [ "`echo $CC | grep -Fo '/'`" = '/' ]; then megaglest-3.13.0/mk/linux/build-mg.sh-259- CLANG_CC=$CC megaglest-3.13.0/mk/linux/build-mg.sh-260- else megaglest-3.13.0/mk/linux/build-mg.sh:261: CLANG_CC=`which $CC` megaglest-3.13.0/mk/linux/build-mg.sh-262- fi megaglest-3.13.0/mk/linux/build-mg.sh:263: if [ "`echo $CXX | grep -Fo '/'`" = '/' ]; then megaglest-3.13.0/mk/linux/build-mg.sh-264- CLANG_CXX=$CXX megaglest-3.13.0/mk/linux/build-mg.sh-265- else megaglest-3.13.0/mk/linux/build-mg.sh:266: CLANG_CXX=`which $CXX` megaglest-3.13.0/mk/linux/build-mg.sh-267- fi ############################################## megaglest-3.13.0/mk/linux/tools-for-standalone-client/installer/make.sh-25- megaglest-3.13.0/mk/linux/tools-for-standalone-client/installer/make.sh:26:VERSION=`$megaglest_linux_path/mg-version.sh --version` megaglest-3.13.0/mk/linux/tools-for-standalone-client/installer/make.sh-27-kernel=`uname -s | tr '[A-Z]' '[a-z]'` ############################################## megaglest-3.13.0/mk/linux/tools-for-standalone-client/installer/make.sh-93-elif [ "$OSTYPE" = "SunOS" ]; then megaglest-3.13.0/mk/linux/tools-for-standalone-client/installer/make.sh:94: NCPU=`/usr/sbin/psrinfo |wc -l |sed -e 's/^ *//g;s/ *$//g'` megaglest-3.13.0/mk/linux/tools-for-standalone-client/installer/make.sh-95-else ############################################## megaglest-3.13.0/mk/cmake/Modules/SpecialMacros.cmake-138- unsigned short fpu_mode; megaglest-3.13.0/mk/cmake/Modules/SpecialMacros.cmake:139: do { asm volatile (\"fstcw %0\" : \"=m\" (fpu_mode) : ); } while (0); megaglest-3.13.0/mk/cmake/Modules/SpecialMacros.cmake-140- fpu_mode &= 0xFCFF; megaglest-3.13.0/mk/cmake/Modules/SpecialMacros.cmake:141: do { asm volatile (\"fclex \\\\n fldcw %0\" : : \"m\" (fpu_mode)); } while (0); megaglest-3.13.0/mk/cmake/Modules/SpecialMacros.cmake-142- ############################################## megaglest-3.13.0/mk/steamworks_sdk/sdk/tools/ContentBuilder/run_build.sh-3-STEAMROOT="$(cd "${0%/*}" && echo $PWD)" megaglest-3.13.0/mk/steamworks_sdk/sdk/tools/ContentBuilder/run_build.sh:4:STEAMCMD=`basename "$0" .sh` megaglest-3.13.0/mk/steamworks_sdk/sdk/tools/ContentBuilder/run_build.sh-5- ############################################## megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/CMakeLists.txt-56- megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/CMakeLists.txt:57:include(${CMAKE_SOURCE_DIR}/mk/cmake/Modules/SpecialMacros.cmake) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/CMakeLists.txt:58:include(${CMAKE_SOURCE_DIR}/mk/cmake/Modules/ReqVersAndStaticConf.cmake) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/CMakeLists.txt-59- ############################################## megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/CMakeLists.txt-99-IF(APPLE) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/CMakeLists.txt:100: include(${PROJECT_SOURCE_DIR}/mk/macos/CMakeLists.txt) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/CMakeLists.txt-101-ENDIF(APPLE) ############################################## megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/CMakeLists.txt-243- megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/CMakeLists.txt:244: SET(GIT_LIVE_REV_CMD "`cd '${PROJECT_SOURCE_DIR}' && git rev-list HEAD --count`.`cd '${PROJECT_SOURCE_DIR}' && git log -1 --format=%h --abbrev=7`") megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/CMakeLists.txt-245- ############################################## megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/g3d_viewer/CMakeLists.txt-45- # wxWidgets include (this will do all the magic to configure everything) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/g3d_viewer/CMakeLists.txt:46: INCLUDE( ${wxWidgets_USE_FILE} ) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/g3d_viewer/CMakeLists.txt-47- ############################################## megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/glest_game/CMakeLists.txt-94- FIND_PACKAGE(CURL REQUIRED) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/glest_game/CMakeLists.txt:95: INCLUDE(${CMAKE_SOURCE_DIR}/mk/cmake/Modules/CurlGetConfig.cmake) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/glest_game/CMakeLists.txt-96- INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS}) ############################################## megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/glest_map_editor/CMakeLists.txt-31- # wxWidgets include (this will do all the magic to configure everything) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/glest_map_editor/CMakeLists.txt:32: INCLUDE( ${wxWidgets_USE_FILE} ) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/glest_map_editor/CMakeLists.txt-33- ############################################## megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/shared_lib/CMakeLists.txt-90- FIND_PACKAGE(CURL REQUIRED) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/shared_lib/CMakeLists.txt:91: INCLUDE(${CMAKE_SOURCE_DIR}/mk/cmake/Modules/CurlGetConfig.cmake) megaglest-3.13.0/.pc/use-sdl2-config.cmake.patch/source/shared_lib/CMakeLists.txt-92- INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS}) ############################################## megaglest-3.13.0/CMakeLists.txt-56- megaglest-3.13.0/CMakeLists.txt:57:include(${CMAKE_SOURCE_DIR}/mk/cmake/Modules/SpecialMacros.cmake) megaglest-3.13.0/CMakeLists.txt:58:include(${CMAKE_SOURCE_DIR}/mk/cmake/Modules/ReqVersAndStaticConf.cmake) megaglest-3.13.0/CMakeLists.txt-59- ############################################## megaglest-3.13.0/CMakeLists.txt-99-IF(APPLE) megaglest-3.13.0/CMakeLists.txt:100: include(${PROJECT_SOURCE_DIR}/mk/macos/CMakeLists.txt) megaglest-3.13.0/CMakeLists.txt-101-ENDIF(APPLE) ############################################## megaglest-3.13.0/CMakeLists.txt-243- megaglest-3.13.0/CMakeLists.txt:244: SET(GIT_LIVE_REV_CMD "`cd '${PROJECT_SOURCE_DIR}' && git rev-list HEAD --count`.`cd '${PROJECT_SOURCE_DIR}' && git log -1 --format=%h --abbrev=7`") megaglest-3.13.0/CMakeLists.txt-245-