=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== esptool-2.8+dfsg/flasher_stub/run_tests_with_stub.sh-7- esptool-2.8+dfsg/flasher_stub/run_tests_with_stub.sh:8:THISDIR=`realpath -m $(dirname $0)` esptool-2.8+dfsg/flasher_stub/run_tests_with_stub.sh-9- ############################################## esptool-2.8+dfsg/debian/uupdate-46-tar -C "$tmp_dir" --auto-compress -xf "$new_tarball" esptool-2.8+dfsg/debian/uupdate:47:tarball_dir="`ls $tmp_dir`" esptool-2.8+dfsg/debian/uupdate-48-esptool_py="$tmp_dir/$tarball_dir/esptool.py" ############################################## esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py-132- esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py:133:def efuse_write_reg_addr(block, word): esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py-134- """ ############################################## esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py-261- raise esptool.FatalError("This efuse cannot be read-disabled") esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py:262: rddis_reg_addr = efuse_write_reg_addr(0, 0) esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py-263- self.parent.write_reg(rddis_reg_addr, 1 << (16 + self.read_disable_bit)) ############################################## esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py-273- def disable_write(self): esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py:274: wrdis_reg_addr = efuse_write_reg_addr(0, 0) esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py-275- self.parent.write_reg(wrdis_reg_addr, 1 << self.write_disable_bit) ############################################## esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py-281- # don't both reading old value as we can only set bits 0->1 esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py:282: write_reg_addr = efuse_write_reg_addr(self.block, self.word) esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py-283- self.parent.write_reg(write_reg_addr, raw_value) ############################################## esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py-390- def burn_words(self, words, word_offset=0): esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py:391: write_reg_addr = efuse_write_reg_addr(self.block, self.word + word_offset) esptool-2.8+dfsg/.pc/shebang.patch/espefuse.py-392- for word in words: ############################################## esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1400- esptool-2.8+dfsg/.pc/shebang.patch/esptool.py:1401: def copy_with_new_addr(self, new_addr): esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1402- """ Return a new ImageSegment with same data, but mapped at ############################################## esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1534- esptool-2.8+dfsg/.pc/shebang.patch/esptool.py:1535: def is_irom_addr(self, addr): esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1536- """ Returns True if an address starts in the irom region. ############################################## esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1541- def get_irom_segment(self): esptool-2.8+dfsg/.pc/shebang.patch/esptool.py:1542: irom_segments = [s for s in self.segments if self.is_irom_addr(s.addr)] esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1543- if len(irom_segments) > 0: ############################################## esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1665- # save irom0 segment, make sure it has load addr 0 in the file esptool-2.8+dfsg/.pc/shebang.patch/esptool.py:1666: irom_segment = irom_segment.copy_with_new_addr(0) esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1667- irom_segment.pad_to_alignment(16) # irom_segment must end on a 16 byte boundary ############################################## esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1758- esptool-2.8+dfsg/.pc/shebang.patch/esptool.py:1759: def is_flash_addr(self, addr): esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1760- return (ESP32ROM.IROM_MAP_START <= addr < ESP32ROM.IROM_MAP_END) \ ############################################## esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1781- # split segments into flash-mapped vs ram-loaded, and take copies so we can mutate them esptool-2.8+dfsg/.pc/shebang.patch/esptool.py:1782: flash_segments = [copy.deepcopy(s) for s in sorted(self.segments, key=lambda s:s.addr) if self.is_flash_addr(s.addr)] esptool-2.8+dfsg/.pc/shebang.patch/esptool.py:1783: ram_segments = [copy.deepcopy(s) for s in sorted(self.segments, key=lambda s:s.addr) if not self.is_flash_addr(s.addr)] esptool-2.8+dfsg/.pc/shebang.patch/esptool.py-1784- ############################################## esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1400- esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py:1401: def copy_with_new_addr(self, new_addr): esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1402- """ Return a new ImageSegment with same data, but mapped at ############################################## esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1534- esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py:1535: def is_irom_addr(self, addr): esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1536- """ Returns True if an address starts in the irom region. ############################################## esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1541- def get_irom_segment(self): esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py:1542: irom_segments = [s for s in self.segments if self.is_irom_addr(s.addr)] esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1543- if len(irom_segments) > 0: ############################################## esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1665- # save irom0 segment, make sure it has load addr 0 in the file esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py:1666: irom_segment = irom_segment.copy_with_new_addr(0) esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1667- irom_segment.pad_to_alignment(16) # irom_segment must end on a 16 byte boundary ############################################## esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1758- esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py:1759: def is_flash_addr(self, addr): esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1760- return (ESP32ROM.IROM_MAP_START <= addr < ESP32ROM.IROM_MAP_END) \ ############################################## esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1781- # split segments into flash-mapped vs ram-loaded, and take copies so we can mutate them esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py:1782: flash_segments = [copy.deepcopy(s) for s in sorted(self.segments, key=lambda s:s.addr) if self.is_flash_addr(s.addr)] esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py:1783: ram_segments = [copy.deepcopy(s) for s in sorted(self.segments, key=lambda s:s.addr) if not self.is_flash_addr(s.addr)] esptool-2.8+dfsg/.pc/remove-stub-option.patch/esptool.py-1784- ############################################## esptool-2.8+dfsg/espefuse.py-132- esptool-2.8+dfsg/espefuse.py:133:def efuse_write_reg_addr(block, word): esptool-2.8+dfsg/espefuse.py-134- """ ############################################## esptool-2.8+dfsg/espefuse.py-261- raise esptool.FatalError("This efuse cannot be read-disabled") esptool-2.8+dfsg/espefuse.py:262: rddis_reg_addr = efuse_write_reg_addr(0, 0) esptool-2.8+dfsg/espefuse.py-263- self.parent.write_reg(rddis_reg_addr, 1 << (16 + self.read_disable_bit)) ############################################## esptool-2.8+dfsg/espefuse.py-273- def disable_write(self): esptool-2.8+dfsg/espefuse.py:274: wrdis_reg_addr = efuse_write_reg_addr(0, 0) esptool-2.8+dfsg/espefuse.py-275- self.parent.write_reg(wrdis_reg_addr, 1 << self.write_disable_bit) ############################################## esptool-2.8+dfsg/espefuse.py-281- # don't both reading old value as we can only set bits 0->1 esptool-2.8+dfsg/espefuse.py:282: write_reg_addr = efuse_write_reg_addr(self.block, self.word) esptool-2.8+dfsg/espefuse.py-283- self.parent.write_reg(write_reg_addr, raw_value) ############################################## esptool-2.8+dfsg/espefuse.py-390- def burn_words(self, words, word_offset=0): esptool-2.8+dfsg/espefuse.py:391: write_reg_addr = efuse_write_reg_addr(self.block, self.word + word_offset) esptool-2.8+dfsg/espefuse.py-392- for word in words: ############################################## esptool-2.8+dfsg/esptool.py-1400- esptool-2.8+dfsg/esptool.py:1401: def copy_with_new_addr(self, new_addr): esptool-2.8+dfsg/esptool.py-1402- """ Return a new ImageSegment with same data, but mapped at ############################################## esptool-2.8+dfsg/esptool.py-1534- esptool-2.8+dfsg/esptool.py:1535: def is_irom_addr(self, addr): esptool-2.8+dfsg/esptool.py-1536- """ Returns True if an address starts in the irom region. ############################################## esptool-2.8+dfsg/esptool.py-1541- def get_irom_segment(self): esptool-2.8+dfsg/esptool.py:1542: irom_segments = [s for s in self.segments if self.is_irom_addr(s.addr)] esptool-2.8+dfsg/esptool.py-1543- if len(irom_segments) > 0: ############################################## esptool-2.8+dfsg/esptool.py-1665- # save irom0 segment, make sure it has load addr 0 in the file esptool-2.8+dfsg/esptool.py:1666: irom_segment = irom_segment.copy_with_new_addr(0) esptool-2.8+dfsg/esptool.py-1667- irom_segment.pad_to_alignment(16) # irom_segment must end on a 16 byte boundary ############################################## esptool-2.8+dfsg/esptool.py-1758- esptool-2.8+dfsg/esptool.py:1759: def is_flash_addr(self, addr): esptool-2.8+dfsg/esptool.py-1760- return (ESP32ROM.IROM_MAP_START <= addr < ESP32ROM.IROM_MAP_END) \ ############################################## esptool-2.8+dfsg/esptool.py-1781- # split segments into flash-mapped vs ram-loaded, and take copies so we can mutate them esptool-2.8+dfsg/esptool.py:1782: flash_segments = [copy.deepcopy(s) for s in sorted(self.segments, key=lambda s:s.addr) if self.is_flash_addr(s.addr)] esptool-2.8+dfsg/esptool.py:1783: ram_segments = [copy.deepcopy(s) for s in sorted(self.segments, key=lambda s:s.addr) if not self.is_flash_addr(s.addr)] esptool-2.8+dfsg/esptool.py-1784-