=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== codec2-0.9.2/cmake/GetDependencies.cmake.in-13- codec2-0.9.2/cmake/GetDependencies.cmake.in:14:include(${CMAKE_SOURCE_DIR}/cmake/GetPrerequisites.cmake) codec2-0.9.2/cmake/GetDependencies.cmake.in-15-get_prerequisites(${CODEC2_DLL} _deps 1 0 "" "") ############################################## codec2-0.9.2/cmake/Codec2Config.cmake-3-if(NOT TARGET Codec2::codec2) codec2-0.9.2/cmake/Codec2Config.cmake:4: include("${CODEC2_CMAKE_DIR}/Codec2Targets.cmake") codec2-0.9.2/cmake/Codec2Config.cmake-5-endif() ############################################## codec2-0.9.2/octave/newamp.m-1565- for i=1:nind codec2-0.9.2/octave/newamp.m:1566: %printf("i: %d bits_per_param: %d\n", i, bits_per_param(i)); codec2-0.9.2/octave/newamp.m-1567- some_bits = index_to_bits(arow(i), bits_per_param(i)); ############################################## codec2-0.9.2/script/menu.sh-45- -d) dsp="${1} ${2}"; shift;; codec2-0.9.2/script/menu.sh:46: *) files=`expr 1 + $files`; codec2-0.9.2/script/menu.sh-47- new_file=$1; ############################################## codec2-0.9.2/src/debug_alloc.h-16-extern char * __heap_end; codec2-0.9.2/src/debug_alloc.h:17:register char * sp asm ("sp"); codec2-0.9.2/src/debug_alloc.h-18-#endif ############################################## codec2-0.9.2/stm32/CMakeLists.txt-83-set(CMAKE_EXECUTABLE_SUFFIX_CXX ".elf") codec2-0.9.2/stm32/CMakeLists.txt:84:set(CMAKE_EXECUTABLE_SUFFIX_ASM ".elf") codec2-0.9.2/stm32/CMakeLists.txt-85-set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -x assembler-with-cpp") ############################################## codec2-0.9.2/stm32/cmake/STM32_Toolchain.cmake-8-set(CMAKE_CXX_COMPILER ${ARM_GCC_BIN}arm-none-eabi-cpp) codec2-0.9.2/stm32/cmake/STM32_Toolchain.cmake:9:set(CMAKE_ASM ${ARM_GCC_BIN}arm-none-eabi-as) codec2-0.9.2/stm32/cmake/STM32_Toolchain.cmake-10-set(CMAKE_C_FLAGS_INIT "-specs=nosys.specs" CACHE STRING "Required compiler init flags") ############################################## codec2-0.9.2/stm32/inc/memtools.h-10-void memtools_find_unused( int (*printf_func)(const char *fmt, ...) ); codec2-0.9.2/stm32/inc/memtools.h:11:register char * memtools_sp asm ("sp"); codec2-0.9.2/stm32/inc/memtools.h-12-void memtools_isnan(float *vec, int n, char *label, int (*printf_func)(const char *fmt, ...)); ############################################## codec2-0.9.2/stm32/src/stm32f4_vrom.c-43- */ codec2-0.9.2/stm32/src/stm32f4_vrom.c:44:#define VROM_START_ADDR (0x08004000) codec2-0.9.2/stm32/src/stm32f4_vrom.c-45- ############################################## codec2-0.9.2/stm32/support/hex2dfu.py-46- if args.verbose: codec2-0.9.2/stm32/support/hex2dfu.py:47: print " Start: 0x%08x" % ih.minaddr() codec2-0.9.2/stm32/support/hex2dfu.py:48: print " End : 0x%08x" % ih.maxaddr() codec2-0.9.2/stm32/support/hex2dfu.py-49- ############################################## codec2-0.9.2/stm32/support/hex2dfu.py-70- "<II", codec2-0.9.2/stm32/support/hex2dfu.py:71: ih.minaddr(), # dwElementAddress codec2-0.9.2/stm32/support/hex2dfu.py-72- len(image_data) # dwElementSize ############################################## codec2-0.9.2/stm32/support/intelhex/__init__.py-292- if (start, end) == (None, None): codec2-0.9.2/stm32/support/intelhex/__init__.py:293: start = self.minaddr() codec2-0.9.2/stm32/support/intelhex/__init__.py-294- if start is not None: ############################################## codec2-0.9.2/stm32/support/intelhex/__init__.py-302- if start is None: codec2-0.9.2/stm32/support/intelhex/__init__.py:303: start = self.minaddr() codec2-0.9.2/stm32/support/intelhex/__init__.py-304- if end is None: codec2-0.9.2/stm32/support/intelhex/__init__.py:305: end = self.maxaddr() codec2-0.9.2/stm32/support/intelhex/__init__.py-306- if start > end: ############################################## codec2-0.9.2/stm32/support/intelhex/__init__.py-424- codec2-0.9.2/stm32/support/intelhex/__init__.py:425: def minaddr(self): codec2-0.9.2/stm32/support/intelhex/__init__.py-426- '''Get minimal address of HEX content. ############################################## codec2-0.9.2/stm32/support/intelhex/__init__.py-434- codec2-0.9.2/stm32/support/intelhex/__init__.py:435: def maxaddr(self): codec2-0.9.2/stm32/support/intelhex/__init__.py-436- '''Get maximal address of HEX content. ############################################## codec2-0.9.2/stm32/support/intelhex/__init__.py-902- codec2-0.9.2/stm32/support/intelhex/__init__.py:903: def minaddr(self): codec2-0.9.2/stm32/support/intelhex/__init__.py-904- '''Get minimal address of HEX content in 16-bit mode. ############################################## codec2-0.9.2/stm32/support/intelhex/__init__.py-913- codec2-0.9.2/stm32/support/intelhex/__init__.py:914: def maxaddr(self): codec2-0.9.2/stm32/support/intelhex/__init__.py-915- '''Get maximal address of HEX content in 16-bit mode. ############################################## codec2-0.9.2/stm32/support/intelhex/__init__.py-974- if start == None: codec2-0.9.2/stm32/support/intelhex/__init__.py:975: start = h.minaddr() codec2-0.9.2/stm32/support/intelhex/__init__.py-976- end = start + size - 1 ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-452- ih = IntelHex(fname) codec2-0.9.2/stm32/support/intelhex/test.py:453: self.assertEqual(0, ih.minaddr()) codec2-0.9.2/stm32/support/intelhex/test.py:454: self.assertEqual(len(bin8)-1, ih.maxaddr()) codec2-0.9.2/stm32/support/intelhex/test.py-455- finally: ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-719- self.assertEquals([], ih.addresses()) codec2-0.9.2/stm32/support/intelhex/test.py:720: self.assertEquals(None, ih.minaddr()) codec2-0.9.2/stm32/support/intelhex/test.py:721: self.assertEquals(None, ih.maxaddr()) codec2-0.9.2/stm32/support/intelhex/test.py-722- # normal object ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-724- self.assertEquals([1,7,10], ih.addresses()) codec2-0.9.2/stm32/support/intelhex/test.py:725: self.assertEquals(1, ih.minaddr()) codec2-0.9.2/stm32/support/intelhex/test.py:726: self.assertEquals(10, ih.maxaddr()) codec2-0.9.2/stm32/support/intelhex/test.py-727- ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-755- ih.loadbin(self.f) codec2-0.9.2/stm32/support/intelhex/test.py:756: self.assertEqual(0, ih.minaddr()) codec2-0.9.2/stm32/support/intelhex/test.py:757: self.assertEqual(9, ih.maxaddr()) codec2-0.9.2/stm32/support/intelhex/test.py-758- self.assertEqual(self.data, ih.tobinstr()) ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-762- ih.fromfile(self.f, format='bin') codec2-0.9.2/stm32/support/intelhex/test.py:763: self.assertEqual(0, ih.minaddr()) codec2-0.9.2/stm32/support/intelhex/test.py:764: self.assertEqual(9, ih.maxaddr()) codec2-0.9.2/stm32/support/intelhex/test.py-765- self.assertEqual(self.data, ih.tobinstr()) ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-769- ih.loadbin(self.f, offset=100) codec2-0.9.2/stm32/support/intelhex/test.py:770: self.assertEqual(100, ih.minaddr()) codec2-0.9.2/stm32/support/intelhex/test.py:771: self.assertEqual(109, ih.maxaddr()) codec2-0.9.2/stm32/support/intelhex/test.py-772- self.assertEqual(self.data, ih.tobinstr()) ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-776- ih.loadfile(self.f, format='bin') codec2-0.9.2/stm32/support/intelhex/test.py:777: self.assertEqual(0, ih.minaddr()) codec2-0.9.2/stm32/support/intelhex/test.py:778: self.assertEqual(9, ih.maxaddr()) codec2-0.9.2/stm32/support/intelhex/test.py-779- self.assertEqual(self.data, ih.tobinstr()) ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-933- codec2-0.9.2/stm32/support/intelhex/test.py:934: def test_start_addr(self): codec2-0.9.2/stm32/support/intelhex/test.py-935- ih = IntelHex() ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-996- codec2-0.9.2/stm32/support/intelhex/test.py:997: def test_merge_start_addr(self): codec2-0.9.2/stm32/support/intelhex/test.py-998- # this, None ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-1052- codec2-0.9.2/stm32/support/intelhex/test.py:1053: def test_minaddr(self): codec2-0.9.2/stm32/support/intelhex/test.py-1054- ih = intelhex.IntelHex16bit(self.f) codec2-0.9.2/stm32/support/intelhex/test.py:1055: addr = ih.minaddr() codec2-0.9.2/stm32/support/intelhex/test.py-1056- self.assertEqual(0, addr, codec2-0.9.2/stm32/support/intelhex/test.py:1057: 'Error in detection of minaddr (0 != 0x%x)' % addr) codec2-0.9.2/stm32/support/intelhex/test.py-1058- codec2-0.9.2/stm32/support/intelhex/test.py:1059: def test_maxaddr(self): codec2-0.9.2/stm32/support/intelhex/test.py-1060- ih = intelhex.IntelHex16bit(self.f) codec2-0.9.2/stm32/support/intelhex/test.py:1061: addr = ih.maxaddr() codec2-0.9.2/stm32/support/intelhex/test.py-1062- self.assertEqual(0x001D, addr, ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-1301- codec2-0.9.2/stm32/support/intelhex/test.py:1302: def test_invalid_start_segment_addr(self): codec2-0.9.2/stm32/support/intelhex/test.py-1303- # length ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-1315- codec2-0.9.2/stm32/support/intelhex/test.py:1316: def test_duplicate_start_segment_addr(self): codec2-0.9.2/stm32/support/intelhex/test.py-1317- self.decode_record(':0400000312345678E5') ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-1323- codec2-0.9.2/stm32/support/intelhex/test.py:1324: def test_invalid_start_linear_addr(self): codec2-0.9.2/stm32/support/intelhex/test.py-1325- # length ############################################## codec2-0.9.2/stm32/support/intelhex/test.py-1337- codec2-0.9.2/stm32/support/intelhex/test.py:1338: def test_duplicate_start_linear_addr(self): codec2-0.9.2/stm32/support/intelhex/test.py-1339- self.decode_record(':0400000512345678E3') ############################################## codec2-0.9.2/stm32/unittest/scripts/check_ram_limit-19-do codec2-0.9.2/stm32/unittest/scripts/check_ram_limit:20: ram_used=`cat $f | grep bss_end | sed 's/^.*\(0x[a-f0-9]*\).*/\1/'` codec2-0.9.2/stm32/unittest/scripts/check_ram_limit-21- printf "%-40s 0x%x\n" $f $ram_used ############################################## codec2-0.9.2/unittest/sum_debug_alloc-26- codec2-0.9.2/unittest/sum_debug_alloc:27:def new_addr(): codec2-0.9.2/unittest/sum_debug_alloc-28- rec = {} ############################################## codec2-0.9.2/unittest/sum_debug_alloc-56- else: codec2-0.9.2/unittest/sum_debug_alloc:57: by_addr[addr] = new_addr() codec2-0.9.2/unittest/sum_debug_alloc-58- by_addr[addr]['func'] = func ############################################## codec2-0.9.2/lpcnet/train_direct.sh-35-t=$(mktemp) codec2-0.9.2/lpcnet/train_direct.sh:36:extract -e `expr $K - 1` -g 10 all_speech_features_5e6.f32 $t codec2-0.9.2/lpcnet/train_direct.sh-37-if [ -z "$LOGMAG" ]; then ############################################## codec2-0.9.2/lpcnet/train_direct.sh-54- t=$(mktemp) codec2-0.9.2/lpcnet/train_direct.sh:55: extract -e `expr $FINAL_K - 1` -t $K $VQ_NAME'_s3.f32' $t codec2-0.9.2/lpcnet/train_direct.sh-56- vqtrain $t $FINAL_K 2048 $VQ_NAME'_stage4.f32' -r $VQ_NAME'_s5.f32' -s $STOP -t $K ############################################## codec2-0.9.2/debian/patches/modern-cmake-targets-162-+if(NOT TARGET Codec2::codec2) codec2-0.9.2/debian/patches/modern-cmake-targets:163:+ include("${CODEC2_CMAKE_DIR}/Codec2Targets.cmake") codec2-0.9.2/debian/patches/modern-cmake-targets-164-+endif()