=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== chirp-20200227+py3+20200213/chirp/drivers/anytone.py-168- chirp-20200227+py3+20200213/chirp/drivers/anytone.py:169:def _should_send_addr(memobj, addr): chirp-20200227+py3+20200213/chirp/drivers/anytone.py-170- if addr < 0x2000 or addr >= 0x7EC0: ############################################## chirp-20200227+py3+20200213/chirp/drivers/anytone.py-277- for addr in range(start, end, 0x10): chirp-20200227+py3+20200213/chirp/drivers/anytone.py:278: if memobj is not None and not _should_send_addr(memobj, addr): chirp-20200227+py3+20200213/chirp/drivers/anytone.py-279- block = "\xFF" * 0x10 ############################################## chirp-20200227+py3+20200213/chirp/drivers/anytone.py-304- continue chirp-20200227+py3+20200213/chirp/drivers/anytone.py:305: if not _should_send_addr(radio._memobj, addr): chirp-20200227+py3+20200213/chirp/drivers/anytone.py-306- continue ############################################## chirp-20200227+py3+20200213/chirp/drivers/ts480.py-261- """ Process AS0 auto-mode setting """ chirp-20200227+py3+20200213/chirp/drivers/ts480.py:262: asm = _make_dat(stx[0:11], 4) # 11-bit freq chirp-20200227+py3+20200213/chirp/drivers/ts480.py-263- a1 = int(stx[11]) # 4-bit mode chirp-20200227+py3+20200213/chirp/drivers/ts480.py-264- a2 = 0 # not used in TS-480 chirp-20200227+py3+20200213/chirp/drivers/ts480.py:265: asm += chr((a1 << 4) | (a2 << 2)) chirp-20200227+py3+20200213/chirp/drivers/ts480.py-266- return asm ############################################## chirp-20200227+py3+20200213/chirp/drivers/ts590.py-307- """ Process AS0 auto-mode setting """ chirp-20200227+py3+20200213/chirp/drivers/ts590.py:308: asm = _make_dat(stx[0:11], 4) # 11-bit freq chirp-20200227+py3+20200213/chirp/drivers/ts590.py-309- a1 = int(stx[11]) # 4-bit mode chirp-20200227+py3+20200213/chirp/drivers/ts590.py-310- a2 = int(stx[12]) # 2-bit data chirp-20200227+py3+20200213/chirp/drivers/ts590.py:311: asm += chr((a1 << 4) | (a2 << 2)) chirp-20200227+py3+20200213/chirp/drivers/ts590.py-312- return asm ############################################## chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/anytone.py-168- chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/anytone.py:169:def _should_send_addr(memobj, addr): chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/anytone.py-170- if addr < 0x2000 or addr >= 0x7EC0: ############################################## chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/anytone.py-277- for addr in range(start, end, 0x10): chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/anytone.py:278: if memobj is not None and not _should_send_addr(memobj, addr): chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/anytone.py-279- block = "\xFF" * 0x10 ############################################## chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/anytone.py-304- continue chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/anytone.py:305: if not _should_send_addr(radio._memobj, addr): chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/anytone.py-306- continue ############################################## chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts480.py-261- """ Process AS0 auto-mode setting """ chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts480.py:262: asm = _make_dat(stx[0:11], 4) # 11-bit freq chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts480.py-263- a1 = int(stx[11]) # 4-bit mode chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts480.py-264- a2 = 0 # not used in TS-480 chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts480.py:265: asm += chr((a1 << 4) | (a2 << 2)) chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts480.py-266- return asm ############################################## chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts590.py-307- """ Process AS0 auto-mode setting """ chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts590.py:308: asm = _make_dat(stx[0:11], 4) # 11-bit freq chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts590.py-309- a1 = int(stx[11]) # 4-bit mode chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts590.py-310- a2 = int(stx[12]) # 2-bit data chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts590.py:311: asm += chr((a1 << 4) | (a2 << 2)) chirp-20200227+py3+20200213/.pc/py3-except/chirp/drivers/ts590.py-312- return asm