Original report:
************* Module gef
W:2774, 0: TODO: add more customizable items (fixme)
W:100, 0: Anomalous backslash in string: '\-'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
C:173, 0: Exactly one space required around comparison
if len(sys.argv)==2 and sys.argv[1]=="--update":
^^ (bad-whitespace)
C:173, 0: Exactly one space required around comparison
if len(sys.argv)==2 and sys.argv[1]=="--update":
^^ (bad-whitespace)
C:174, 0: No space allowed after bracket
sys.exit( update_gef(sys.argv) )
^ (bad-whitespace)
C:174, 0: No space allowed before bracket
sys.exit( update_gef(sys.argv) )
^ (bad-whitespace)
C:178, 0: Exactly one space required before assignment
__aliases__ = []
^ (bad-whitespace)
C:179, 0: Exactly one space required before assignment
__config__ = {}
^ (bad-whitespace)
C:180, 0: Exactly one space required before assignment
__infos_files__ = []
^ (bad-whitespace)
C:181, 0: Exactly one space required before assignment
__loaded__ = []
^ (bad-whitespace)
C:182, 0: Exactly one space required before assignment
__missing__ = {}
^ (bad-whitespace)
C:183, 0: Exactly one space required before assignment
__gef_convenience_vars_index__ = 0
^ (bad-whitespace)
C:185, 0: Exactly one space required before assignment
DEFAULT_PAGE_ALIGN_SHIFT = 12
^ (bad-whitespace)
C:186, 0: Exactly one space required before assignment
DEFAULT_PAGE_SIZE = 1 << DEFAULT_PAGE_ALIGN_SHIFT
^ (bad-whitespace)
C:187, 0: Exactly one space required before assignment
GEF_RC = os.path.join(os.getenv("HOME"), ".gef.rc")
^ (bad-whitespace)
C:188, 0: Exactly one space required before assignment
GEF_TEMP_DIR = os.path.join(tempfile.gettempdir(), "gef")
^ (bad-whitespace)
C:247, 0: Exactly one space required before assignment
NORMAL = "\033[0m"
^ (bad-whitespace)
C:248, 0: Exactly one space required before assignment
GRAY = "\033[1;30m"
^ (bad-whitespace)
C:249, 0: Exactly one space required before assignment
RED = "\033[31m"
^ (bad-whitespace)
C:250, 0: Exactly one space required before assignment
GREEN = "\033[32m"
^ (bad-whitespace)
C:251, 0: Exactly one space required before assignment
YELLOW = "\033[33m"
^ (bad-whitespace)
C:252, 0: Exactly one space required before assignment
BLUE = "\033[34m"
^ (bad-whitespace)
C:253, 0: Exactly one space required before assignment
PINK = "\033[35m"
^ (bad-whitespace)
C:254, 0: Exactly one space required before assignment
BOLD = "\033[1m"
^ (bad-whitespace)
C:255, 0: Exactly one space required before assignment
UNDERLINE_ON = "\033[4m"
^ (bad-whitespace)
C:256, 0: Exactly one space required before assignment
UNDERLINE_OFF = "\033[24m"
^ (bad-whitespace)
C:257, 0: Exactly one space required before assignment
HIGHLIGHT_ON = "\033[3m"
^ (bad-whitespace)
C:258, 0: Exactly one space required before assignment
HIGHLIGHT_OFF = "\033[23m"
^ (bad-whitespace)
C:259, 0: Exactly one space required before assignment
BLINK_ON = "\033[5m"
^ (bad-whitespace)
C:260, 0: Exactly one space required before assignment
BLINK_OFF = "\033[25m"
^ (bad-whitespace)
C:263, 0: Exactly one space required after :
def redify(msg): return Color.colorify(msg, attrs="red")
^ (bad-whitespace)
C:265, 0: Exactly one space required after :
def greenify(msg): return Color.colorify(msg, attrs="green")
^ (bad-whitespace)
C:267, 0: Exactly one space required after :
def blueify(msg): return Color.colorify(msg, attrs="blue")
^ (bad-whitespace)
C:269, 0: Exactly one space required after :
def yellowify(msg): return Color.colorify(msg, attrs="yellow")
^ (bad-whitespace)
C:271, 0: Exactly one space required after :
def grayify(msg): return Color.colorify(msg, attrs="gray")
^ (bad-whitespace)
C:273, 0: Exactly one space required after :
def pinkify(msg): return Color.colorify(msg, attrs="pink")
^ (bad-whitespace)
C:275, 0: Exactly one space required after :
def boldify(msg): return Color.colorify(msg, attrs="bold")
^ (bad-whitespace)
C:289, 0: Exactly one space required after :
if attr == "bold": m.append(Color.BOLD)
^ (bad-whitespace)
C:290, 0: Exactly one space required after :
elif attr == "underline": m.append(Color.UNDERLINE_ON)
^ (bad-whitespace)
C:291, 0: Exactly one space required after :
elif attr == "highlight": m.append(Color.HIGHLIGHT_ON)
^ (bad-whitespace)
C:292, 0: Exactly one space required after :
elif attr == "blink": m.append(Color.BLINK_ON)
^ (bad-whitespace)
C:293, 0: Exactly one space required after :
elif attr == "red": m.append(Color.RED)
^ (bad-whitespace)
C:294, 0: Exactly one space required after :
elif attr == "green": m.append(Color.GREEN)
^ (bad-whitespace)
C:295, 0: Exactly one space required after :
elif attr == "blue": m.append(Color.BLUE)
^ (bad-whitespace)
C:296, 0: Exactly one space required after :
elif attr == "yellow": m.append(Color.YELLOW)
^ (bad-whitespace)
C:297, 0: Exactly one space required after :
elif attr == "gray": m.append(Color.GRAY)
^ (bad-whitespace)
C:298, 0: Exactly one space required after :
elif attr == "pink": m.append(Color.PINK)
^ (bad-whitespace)
C:300, 0: No space allowed before :
if Color.HIGHLIGHT_ON in m : m.append(Color.HIGHLIGHT_OFF)
^ (bad-whitespace)
C:300, 0: Exactly one space required after :
if Color.HIGHLIGHT_ON in m : m.append(Color.HIGHLIGHT_OFF)
^ (bad-whitespace)
C:301, 0: No space allowed before :
elif Color.UNDERLINE_ON in m : m.append(Color.UNDERLINE_OFF)
^ (bad-whitespace)
C:301, 0: Exactly one space required after :
elif Color.UNDERLINE_ON in m : m.append(Color.UNDERLINE_OFF)
^ (bad-whitespace)
C:302, 0: No space allowed before :
elif Color.BLINK_ON in m : m.append(Color.BLINK_OFF)
^ (bad-whitespace)
C:302, 0: Exactly one space required after :
elif Color.BLINK_ON in m : m.append(Color.BLINK_OFF)
^ (bad-whitespace)
C:349, 0: Exactly one space required before assignment
NONE = 0
^ (bad-whitespace)
C:350, 0: Exactly one space required before assignment
READ = 1
^ (bad-whitespace)
C:351, 0: Exactly one space required before assignment
WRITE = 2
^ (bad-whitespace)
C:352, 0: Exactly one space required before assignment
EXECUTE = 4
^ (bad-whitespace)
C:353, 0: Exactly one space required before assignment
ALL = READ | WRITE | EXECUTE
^ (bad-whitespace)
C:406, 0: Exactly one space required before assignment
page_start = None
^ (bad-whitespace)
C:407, 0: Exactly one space required before assignment
page_end = None
^ (bad-whitespace)
C:408, 0: Exactly one space required before assignment
offset = None
^ (bad-whitespace)
C:409, 0: Exactly one space required before assignment
permission = None
^ (bad-whitespace)
C:410, 0: Exactly one space required before assignment
inode = None
^ (bad-whitespace)
C:411, 0: Exactly one space required before assignment
path = None
^ (bad-whitespace)
C:437, 0: Exactly one space required before assignment
name = None
^ (bad-whitespace)
C:438, 0: Exactly one space required before assignment
zone_start = None
^ (bad-whitespace)
C:439, 0: Exactly one space required before assignment
zone_end = None
^ (bad-whitespace)
C:440, 0: Exactly one space required before assignment
filename = None
^ (bad-whitespace)
C:447, 0: Exactly one space required before assignment
e_magic = None
^ (bad-whitespace)
C:448, 0: Exactly one space required before assignment
e_class = None
^ (bad-whitespace)
C:449, 0: Exactly one space required before assignment
e_endianness = None
^ (bad-whitespace)
C:450, 0: Exactly one space required before assignment
e_eiversion = None
^ (bad-whitespace)
C:451, 0: Exactly one space required before assignment
e_osabi = None
^ (bad-whitespace)
C:452, 0: Exactly one space required before assignment
e_abiversion = None
^ (bad-whitespace)
C:453, 0: Exactly one space required before assignment
e_pad = None
^ (bad-whitespace)
C:454, 0: Exactly one space required before assignment
e_type = None
^ (bad-whitespace)
C:455, 0: Exactly one space required before assignment
e_machine = None
^ (bad-whitespace)
C:456, 0: Exactly one space required before assignment
e_version = None
^ (bad-whitespace)
C:457, 0: Exactly one space required before assignment
e_entry = None
^ (bad-whitespace)
C:458, 0: Exactly one space required before assignment
e_phoff = None
^ (bad-whitespace)
C:459, 0: Exactly one space required before assignment
e_shoff = None
^ (bad-whitespace)
C:460, 0: Exactly one space required before assignment
e_flags = None
^ (bad-whitespace)
C:461, 0: Exactly one space required before assignment
e_ehsize = None
^ (bad-whitespace)
C:462, 0: Exactly one space required before assignment
e_phentsize = None
^ (bad-whitespace)
C:463, 0: Exactly one space required before assignment
e_phnum = None
^ (bad-whitespace)
C:464, 0: Exactly one space required before assignment
e_shentsize = None
^ (bad-whitespace)
C:465, 0: Exactly one space required before assignment
e_shnum = None
^ (bad-whitespace)
C:466, 0: Exactly one space required before assignment
e_shstrndx = None
^ (bad-whitespace)
C:468, 0: Exactly one space required before assignment
BIG_ENDIAN = 0
^ (bad-whitespace)
C:469, 0: Exactly one space required before assignment
LITTLE_ENDIAN = 1
^ (bad-whitespace)
C:471, 0: Exactly one space required before assignment
ELF_32_BITS = 0x01
^ (bad-whitespace)
C:472, 0: Exactly one space required before assignment
ELF_64_BITS = 0x02
^ (bad-whitespace)
C:474, 0: Exactly one space required before assignment
X86_64 = 0x3e
^ (bad-whitespace)
C:475, 0: Exactly one space required before assignment
X86_32 = 0x03
^ (bad-whitespace)
C:476, 0: Exactly one space required before assignment
ARM = 0x28
^ (bad-whitespace)
C:477, 0: Exactly one space required before assignment
MIPS = 0x08
^ (bad-whitespace)
C:478, 0: Exactly one space required before assignment
POWERPC = 0x14 # http://refspecs.freestandards.org/elf/elfspec_ppc.pdf
^ (bad-whitespace)
C:479, 0: Exactly one space required before assignment
POWERPC64 = 0x15 # http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html
^ (bad-whitespace)
C:480, 0: Exactly one space required before assignment
SPARC = 0x02
^ (bad-whitespace)
C:481, 0: Exactly one space required before assignment
SPARC64 = 0x2b
^ (bad-whitespace)
C:482, 0: Exactly one space required before assignment
AARCH64 = 0xb7
^ (bad-whitespace)
C:494, 0: Line too long (111/100) (line-too-long)
C:507, 0: Line too long (106/100) (line-too-long)
C:511, 0: Line too long (108/100) (line-too-long)
C:514, 0: Line too long (108/100) (line-too-long)
C:516, 0: Line too long (123/100) (line-too-long)
C:517, 0: Line too long (110/100) (line-too-long)
C:571, 0: Exactly one space required before assignment
top = self.deref_as_long(self.top)
^ (bad-whitespace)
C:572, 0: Exactly one space required before assignment
last_remainder = self.deref_as_long(self.last_remainder)
^ (bad-whitespace)
C:573, 0: Exactly one space required before assignment
n = self.deref_as_long(self.next)
^ (bad-whitespace)
C:574, 0: Exactly one space required before assignment
nfree = self.deref_as_long(self.next_free)
^ (bad-whitespace)
C:575, 0: Exactly one space required before assignment
sysmem = long(self.system_mem)
^ (bad-whitespace)
C:601, 0: Exactly one space required before assignment
self.size_addr = int(self.addr - self.arch)
^ (bad-whitespace)
C:692, 0: Line too long (102/100) (line-too-long)
C:726, 0: Exactly one space required after comma
m += "(addr={:#x},size={:#x})".format(long(self.addr),self.get_chunk_size())
^ (bad-whitespace)
C:754, 0: Exactly one space required before assignment
m+= Color.colorify(msg, attrs=msg_color)
^^ (bad-whitespace)
C:755, 0: Exactly one space required before assignment
m+= Color.colorify(' ]' + horizontal_line * n, attrs=color)
^^ (bad-whitespace)
C:767, 0: Line too long (115/100) (line-too-long)
C:767, 0: Exactly one space required after :
def err(msg, cr=True): return _xlog("{} {}".format(Color.colorify("[!]", attrs="bold red"), msg), gdb.STDERR, cr)
^ (bad-whitespace)
C:768, 0: Line too long (118/100) (line-too-long)
C:768, 0: Exactly one space required after :
def warn(msg, cr=True): return _xlog("{} {}".format(Color.colorify("[*]", attrs="bold yellow"), msg), gdb.STDLOG, cr)
^ (bad-whitespace)
C:769, 0: Line too long (117/100) (line-too-long)
C:769, 0: Exactly one space required after :
def ok(msg, cr=True): return _xlog("{} {}".format(Color.colorify("[+]", attrs="bold green"), msg), gdb.STDLOG, cr)
^ (bad-whitespace)
C:770, 0: Line too long (116/100) (line-too-long)
C:770, 0: Exactly one space required after :
def info(msg, cr=True): return _xlog("{} {}".format(Color.colorify("[+]", attrs="bold blue"), msg), gdb.STDLOG, cr)
^ (bad-whitespace)
C:775, 0: Exactly one space required after comma
print("".join(traceback.format_exception(exc_type, exc_value,exc_traceback)))
^ (bad-whitespace)
C:834, 0: Line too long (136/100) (line-too-long)
C:910, 0: Line too long (108/100) (line-too-long)
C:910, 0: Exactly one space required after comma
cur_insn = gdb.execute("disassemble {:#x},{:#x}".format(addr,next_addr), to_string=True).splitlines()[1]
^ (bad-whitespace)
C:919, 0: Line too long (104/100) (line-too-long)
C:952, 0: Line too long (103/100) (line-too-long)
C:982, 0: Line too long (102/100) (line-too-long)
C:1003, 0: Exactly one space required before assignment
cmd = [which("readelf"),]
^ (bad-whitespace)
C:1004, 0: Exactly one space required before assignment
cmd += opt.split()
^^ (bad-whitespace)
C:1005, 0: Exactly one space required before assignment
cmd += [filename,]
^^ (bad-whitespace)
C:1049, 0: No space allowed before :
if gdb.execute("show endian", to_string=True).strip().split()[7] == "little" :
^ (bad-whitespace)
C:1054, 0: Exactly one space required after :
def is_big_endian(): return get_endian() == Elf.BIG_ENDIAN
^ (bad-whitespace)
C:1055, 0: Exactly one space required after :
def is_little_endian(): return not is_big_endian()
^ (bad-whitespace)
C:1071, 0: Exactly one space required after :
def all_registers(self): pass
^ (bad-whitespace)
C:1073, 0: Exactly one space required after :
def nop_insn(self): pass
^ (bad-whitespace)
C:1075, 0: Exactly one space required after :
def return_register(self): pass
^ (bad-whitespace)
C:1077, 0: Exactly one space required after :
def flag_register(self): pass
^ (bad-whitespace)
C:1079, 0: Exactly one space required after :
def flags_table(self): pass
^ (bad-whitespace)
C:1081, 0: Exactly one space required after :
def function_parameters(self): pass
^ (bad-whitespace)
C:1083, 0: Exactly one space required after :
def flag_register_to_human(self, val=None): pass
^ (bad-whitespace)
C:1085, 0: Exactly one space required after :
def is_call(self, insn): pass
^ (bad-whitespace)
C:1087, 0: Exactly one space required after :
def is_conditional_branch(self, insn): pass
^ (bad-whitespace)
C:1089, 0: Exactly one space required after :
def is_branch_taken(self, insn): pass
^ (bad-whitespace)
C:1143, 0: Wrong continued indentation (add 1 space).
"jeq", "jne", "jleq", "jlt", "jgt", "jgez", "jvs", "jvc"}
^| (bad-continuation)
C:1154, 0: Line too long (102/100) (line-too-long)
C:1154, 0: Exactly one space required around comparison
if mnemo.endswith("lt"): return val&(1<<flags["negative"])!=val&(1<<flags["overflow"]), "N!=O"
^^ (bad-whitespace)
C:1155, 0: Line too long (133/100) (line-too-long)
C:1155, 0: Exactly one space required around comparison
if mnemo.endswith("le"): return val&(1<<flags["zero"]) or val&(1<<flags["negative"])!=val&(1<<flags["overflow"]), "Z || N!=O"
^^ (bad-whitespace)
C:1156, 0: Line too long (142/100) (line-too-long)
C:1157, 0: Line too long (104/100) (line-too-long)
C:1180, 0: Line too long (119/100) (line-too-long)
C:1181, 0: Line too long (119/100) (line-too-long)
C:1182, 0: Line too long (119/100) (line-too-long)
C:1183, 0: Line too long (119/100) (line-too-long)
C:1224, 0: Exactly one space required around comparison
if mnemo=="cbnz":
^^ (bad-whitespace)
C:1225, 0: Exactly one space required around comparison
if op!=0: return True, "{}!=0".format(reg)
^^ (bad-whitespace)
C:1227, 0: Exactly one space required around comparison
if mnemo=="cbz":
^^ (bad-whitespace)
C:1228, 0: Exactly one space required around comparison
if op==0: return True, "{}==0".format(reg)
^^ (bad-whitespace)
C:1230, 0: Exactly one space required around comparison
if mnemo=="tbnz":
^^ (bad-whitespace)
C:1232, 0: Exactly one space required after comma
if (op & 1<<i) != 0: return True, "{}&1<<{}!=0".format(reg,i)
^ (bad-whitespace)
C:1233, 0: Exactly one space required after comma
return False, "{}&1<<{}==0".format(reg,i)
^ (bad-whitespace)
C:1234, 0: Exactly one space required around comparison
if mnemo=="tbz":
^^ (bad-whitespace)
C:1236, 0: Exactly one space required after comma
if (op & 1<<i) == 0: return True, "{}&1<<{}==0".format(reg,i)
^ (bad-whitespace)
C:1237, 0: Exactly one space required after comma
return False, "{}&1<<{}!=0".format(reg,i)
^ (bad-whitespace)
C:1242, 0: Line too long (102/100) (line-too-long)
C:1242, 0: Exactly one space required around comparison
if mnemo.endswith("lt"): return val&(1<<flags["negative"])!=val&(1<<flags["overflow"]), "N!=O"
^^ (bad-whitespace)
C:1243, 0: Line too long (133/100) (line-too-long)
C:1243, 0: Exactly one space required around comparison
if mnemo.endswith("le"): return val&(1<<flags["zero"]) or val&(1<<flags["negative"])!=val&(1<<flags["overflow"]), "Z || N!=O"
^^ (bad-whitespace)
C:1244, 0: Line too long (142/100) (line-too-long)
C:1245, 0: Line too long (104/100) (line-too-long)
C:1290, 0: Wrong continued indentation (add 1 space).
"jcxz", "jecxz", "jrcxz", "je", "jz", "jg", "jnle", "jge", "jnl",
^| (bad-continuation)
C:1291, 0: Wrong continued indentation (add 1 space).
"jl", "jnge", "jle", "jng", "jne", "jnz", "jno", "jnp", "jpo", "jns",
^| (bad-continuation)
C:1292, 0: Wrong continued indentation (add 1 space).
"jo", "jp", "jpe", "js"}
^| (bad-continuation)
C:1306, 0: Line too long (115/100) (line-too-long)
C:1309, 0: Line too long (102/100) (line-too-long)
C:1312, 0: Line too long (141/100) (line-too-long)
C:1313, 0: Line too long (103/100) (line-too-long)
C:1314, 0: Line too long (101/100) (line-too-long)
C:1314, 0: Exactly one space required around comparison
if mnemo in ("jl", "jnge"): return val&(1<<flags["overflow"])!=val&(1<<flags["sign"]), "S!=O"
^^ (bad-whitespace)
C:1315, 0: Line too long (132/100) (line-too-long)
C:1315, 0: Exactly one space required around comparison
if mnemo in ("jle", "jng"): return val&(1<<flags["zero"]) or val&(1<<flags["overflow"])!=val&(1<<flags["sign"]), "Z || S!=0"
^^ (bad-whitespace)
C:1412, 0: Line too long (102/100) (line-too-long)
C:1481, 0: Wrong continued indentation (add 1 space).
"bneg", "bpos", "bvs", "bvc", "bcs", "bcc"}
^| (bad-continuation)
C:1490, 0: Line too long (153/100) (line-too-long)
C:1491, 0: Line too long (112/100) (line-too-long)
C:1492, 0: Line too long (106/100) (line-too-long)
C:1496, 0: Line too long (135/100) (line-too-long)
C:1557, 0: Line too long (119/100) (line-too-long)
C:1558, 0: Line too long (119/100) (line-too-long)
C:1559, 0: Line too long (119/100) (line-too-long)
C:1560, 0: Line too long (119/100) (line-too-long)
C:1561, 0: Line too long (120/100) (line-too-long)
C:1583, 0: Line too long (101/100) (line-too-long)
C:1585, 0: Line too long (101/100) (line-too-long)
C:1712, 0: Exactly one space required after comma
return long(v.strip().split("\t",1)[0], 16)
^ (bad-whitespace)
C:1819, 0: No space allowed around keyword argument assignment
section = Section(page_start = addr_start,
^ (bad-whitespace)
C:1820, 0: No space allowed around keyword argument assignment
page_end = addr_end,
^ (bad-whitespace)
C:1821, 0: No space allowed around keyword argument assignment
offset = off,
^ (bad-whitespace)
C:1822, 0: No space allowed around keyword argument assignment
permission = perm,
^ (bad-whitespace)
C:1823, 0: No space allowed around keyword argument assignment
inode = inode,
^ (bad-whitespace)
C:1824, 0: No space allowed around keyword argument assignment
path = pathname)
^ (bad-whitespace)
C:1843, 0: No space allowed around keyword argument assignment
section = Section(page_start = start_addr,
^ (bad-whitespace)
C:1844, 0: No space allowed around keyword argument assignment
page_end = end_addr,
^ (bad-whitespace)
C:1845, 0: No space allowed around keyword argument assignment
offset = offset,
^ (bad-whitespace)
C:1846, 0: No space allowed around keyword argument assignment
permission = perm,
^ (bad-whitespace)
C:1847, 0: No space allowed around keyword argument assignment
inode = inode,
^ (bad-whitespace)
C:1848, 0: No space allowed around keyword argument assignment
path = pathname)
^ (bad-whitespace)
C:1894, 0: No space allowed around keyword argument assignment
section = Section(page_start = addr_start,
^ (bad-whitespace)
C:1895, 0: No space allowed around keyword argument assignment
page_end = addr_end,
^ (bad-whitespace)
C:1896, 0: No space allowed around keyword argument assignment
offset = off,
^ (bad-whitespace)
C:1897, 0: No space allowed around keyword argument assignment
permission = perm,
^ (bad-whitespace)
C:1898, 0: No space allowed around keyword argument assignment
inode = inode,
^ (bad-whitespace)
C:1899, 0: No space allowed around keyword argument assignment
path = path)
^ (bad-whitespace)
C:1954, 0: No space allowed before :
if is_x86_64() or is_x86_32() :
^ (bad-whitespace)
C:2002, 0: Exactly one space required after comma
return bytearray([x ^ y for (x,y) in zip(data, itertools.cycle(key))])
^ (bad-whitespace)
C:2097, 0: Exactly one space required after comma
if (arch, mode, endian) == (None,None,None):
^ (bad-whitespace)
C:2097, 0: Exactly one space required after comma
if (arch, mode, endian) == (None,None,None):
^ (bad-whitespace)
C:2116, 0: Exactly one space required after comma
if (arch, mode, endian) == (None,None,None):
^ (bad-whitespace)
C:2116, 0: Exactly one space required after comma
if (arch, mode, endian) == (None,None,None):
^ (bad-whitespace)
C:2123, 0: Exactly one space required after comma
if (arch, mode, endian) == (None,None,None):
^ (bad-whitespace)
C:2123, 0: Exactly one space required after comma
if (arch, mode, endian) == (None,None,None):
^ (bad-whitespace)
C:2263, 0: Exactly one space required after :
if elf.e_machine == Elf.ARM: current_arch = ARM()
^ (bad-whitespace)
C:2264, 0: Exactly one space required after :
elif elf.e_machine == Elf.AARCH64: current_arch = AARCH64()
^ (bad-whitespace)
C:2265, 0: Exactly one space required after :
elif elf.e_machine == Elf.X86_32: current_arch = X86()
^ (bad-whitespace)
C:2266, 0: Exactly one space required after :
elif elf.e_machine == Elf.X86_64: current_arch = X86_64()
^ (bad-whitespace)
C:2267, 0: Exactly one space required after :
elif elf.e_machine == Elf.POWERPC: current_arch = PowerPC()
^ (bad-whitespace)
C:2268, 0: Exactly one space required after :
elif elf.e_machine == Elf.POWERPC64: current_arch = PowerPC64()
^ (bad-whitespace)
C:2269, 0: Exactly one space required after :
elif elf.e_machine == Elf.SPARC: current_arch = SPARC()
^ (bad-whitespace)
C:2270, 0: Exactly one space required after :
elif elf.e_machine == Elf.SPARC64: current_arch = SPARC64()
^ (bad-whitespace)
C:2271, 0: Exactly one space required after :
elif elf.e_machine == Elf.MIPS: current_arch = MIPS()
^ (bad-whitespace)
C:2365, 0: Exactly one space required after comma
return db(1,1)
^ (bad-whitespace)
C:2396, 0: Exactly one space required after comma
traceback.print_exception(exc_type, exc_value, exc_traceback,limit=5, file=sys.stdout)
^ (bad-whitespace)
C:2442, 0: Line too long (123/100) (line-too-long)
C:2448, 0: Line too long (125/100) (line-too-long)
C:2472, 0: Exactly one space required before assignment
retreg = current_arch.return_register
^ (bad-whitespace)
C:2535, 0: Exactly one space required before assignment
self.__doc__ += "\nSyntax: {}".format(self._syntax_)
^^ (bad-whitespace)
C:2569, 0: No space allowed after bracket
return { x.split(".", 1)[1]: __config__[x] for x in __config__.keys() \
^ (bad-whitespace)
C:2570, 0: No space allowed before bracket
if x.startswith("{:s}.".format(self._cmdline_)) }
^ (bad-whitespace)
C:2607, 0: Exactly one space required before assignment
_syntax_ = "{:s}".format(_cmdline_)
^ (bad-whitespace)
C:2642, 0: Exactly one space required after comma
cmd = [ps, "-o", "pid", "--ppid","{}".format(pid), "--noheaders"]
^ (bad-whitespace)
C:2671, 0: Exactly one space required around comparison
if len(children)==0:
^^ (bad-whitespace)
C:2692, 0: No space allowed before bracket
print("\t{:s} {:s} {:s}".format (fullpath, right_arrow, os.readlink(fullpath)))
^ (bad-whitespace)
C:2713, 0: Wrong hanging indentation (add 7 spaces).
0x02: "TCP_SYN_SENT",
^ | (bad-continuation)
C:2714, 0: Wrong hanging indentation (add 7 spaces).
0x03: "TCP_SYN_RECV",
^ | (bad-continuation)
C:2715, 0: Wrong hanging indentation (add 7 spaces).
0x04: "TCP_FIN_WAIT1",
^ | (bad-continuation)
C:2716, 0: Wrong hanging indentation (add 7 spaces).
0x05: "TCP_FIN_WAIT2",
^ | (bad-continuation)
C:2717, 0: Wrong hanging indentation (add 7 spaces).
0x06: "TCP_TIME_WAIT",
^ | (bad-continuation)
C:2718, 0: Wrong hanging indentation (add 7 spaces).
0x07: "TCP_CLOSE",
^ | (bad-continuation)
C:2719, 0: Wrong hanging indentation (add 7 spaces).
0x08: "TCP_CLOSE_WAIT",
^ | (bad-continuation)
C:2720, 0: Wrong hanging indentation (add 7 spaces).
0x09: "TCP_LAST_ACK",
^ | (bad-continuation)
C:2721, 0: Wrong hanging indentation (add 7 spaces).
0x0a: "TCP_LISTEN",
^ | (bad-continuation)
C:2722, 0: Wrong hanging indentation (add 7 spaces).
0x0b: "TCP_CLOSING",
^ | (bad-continuation)
C:2723, 0: Wrong hanging indentation (add 7 spaces).
0x0b: "TCP_NEW_SYN_RECV",
^ | (bad-continuation)
C:2733, 0: Exactly one space required around comparison
if len(sockets)==0:
^^ (bad-whitespace)
C:2739, 0: Line too long (105/100) (line-too-long)
C:2740, 0: Line too long (104/100) (line-too-long)
C:2740, 0: Exactly one space required before assignment
entries["UDP"]= [x.split() for x in open("/proc/{:d}/net/udp".format(pid), "r").readlines()[1:]]
^ (bad-whitespace)
C:2750, 0: Exactly one space required around comparison
state_str = tcp_states_str[state] if proto=="TCP" else udp_states_str[state]
^^ (bad-whitespace)
C:2764, 0: Exactly one space required before assignment
_syntax_ = "{:s} [KEY [VALUE]]".format(_cmdline_)
^ (bad-whitespace)
C:2781, 0: Exactly one space required around comparison
if argc==0:
^^ (bad-whitespace)
C:2793, 0: Exactly one space required around comparison
if argc==1:
^^ (bad-whitespace)
C:2817, 0: Exactly one space required before assignment
_syntax_ = "{:s} [-l] [StructA [0xADDRESS] [-e]]".format(_cmdline_)
^ (bad-whitespace)
C:2836, 0: Exactly one space required before assignment
modname, structname = argv[0].split(":", 1) if ":" in argv[0] else (argv[0], argv[0])
^ (bad-whitespace)
C:2837, 0: Exactly one space required before assignment
structname, param = structname.split(".", 1) if "." in structname else (structname, None)
^ (bad-whitespace)
C:3011, 0: Line too long (104/100) (line-too-long)
C:3019, 0: Exactly one space required before assignment
_syntax_ = "{:s} [-r RANGE1-RANGE2] [-s SYMBOL] [-a] [-h]".format(_cmdline_)
^ (bad-whitespace)
C:3074, 0: Exactly one space required after comma
range_from, range_to = map(lambda x: int(x,16), a.split("-", 1))
^ (bad-whitespace)
C:3141, 0: Line too long (110/100) (line-too-long)
C:3156, 0: Exactly one space required before assignment
_syntax_ = "{:s} FD_NUM NEW_OUTPUT".format(_cmdline_)
^ (bad-whitespace)
C:3171, 0: Exactly one space required around comparison
if len(argv)!=2:
^^ (bad-whitespace)
C:3205, 0: Exactly one space required before assignment
_syntax_ = "{:s} METHOD [ARGS]".format(_cmdline_)
^ (bad-whitespace)
C:3282, 0: Exactly one space required around comparison
method_name = argv[1] if len(argv)>1 else None
^ (bad-whitespace)
C:3290, 0: No space allowed before bracket
info("Enhancing {:s} with {:s} (v.{:s})".format (Color.greenify("gef"),
^ (bad-whitespace)
C:3306, 0: Exactly one space required after comma
if res in (0, None):
^ (bad-whitespace)
C:3402, 0: Exactly one space required after :
else: csize = b"c_byte * " + bytes(str(size), encoding="utf-8")
^ (bad-whitespace)
C:3407, 0: Exactly one space required around comparison
"s" if len(structs.keys())>1 else ""))
^ (bad-whitespace)
C:3415, 0: Exactly one space required before assignment
_syntax_ = "{:s} PATTERN".format(_cmdline_)
^ (bad-whitespace)
C:3433, 0: Exactly one space required before assignment
end = start + len(string)
^ (bad-whitespace)
C:3436, 0: Exactly one space required before assignment
end = start + len(pattern)
^ (bad-whitespace)
C:3447, 0: Exactly one space required before assignment
end = section.page_end - 1
^ (bad-whitespace)
C:3449, 0: Line too long (111/100) (line-too-long)
C:3454, 0: Exactly one space required around comparison
if len(argv)!=1:
^^ (bad-whitespace)
C:3468, 0: Exactly one space required before assignment
_syntax_ = "{:s} [(+|-|~)FLAGNAME ...]".format(_cmdline_)
^ (bad-whitespace)
C:3477, 0: Exactly one space required around comparison
if len(flag)<2:
^ (bad-whitespace)
C:3514, 0: Exactly one space required before assignment
_syntax_ = "{:s} LOCATION [PERMISSION]".format(_cmdline_)
^ (bad-whitespace)
C:3546, 0: Line too long (146/100) (line-too-long)
C:3575, 0: Line too long (112/100) (line-too-long)
C:3576, 0: Line too long (115/100) (line-too-long)
C:3576, 0: Line too long (115/100) (line-too-long)
C:3579, 0: Line too long (103/100) (line-too-long)
C:3579, 0: Exactly one space required before assignment
_syntax_ = "{:s} [-f LOCATION] [-t LOCATION] [-n NB_INSTRUCTION] [-e PATH] [-h]".format(_cmdline_)
^ (bad-whitespace)
C:3592, 0: Line too long (111/100) (line-too-long)
C:3593, 0: Line too long (125/100) (line-too-long)
C:3594, 0: Line too long (115/100) (line-too-long)
C:3616, 0: Exactly one space required after comma
for o,a in opts:
^ (bad-whitespace)
C:3617, 0: Exactly one space required after :
if o == "-f": start_insn = int(a, 16)
^ (bad-whitespace)
C:3705, 0: Line too long (151/100) (line-too-long)
C:3758, 0: Exactly one space required before assignment
page_end = sect.page_end
^ (bad-whitespace)
C:3759, 0: Exactly one space required before assignment
size = sect.size
^ (bad-whitespace)
C:3760, 0: Exactly one space required before assignment
perm = sect.permission
^ (bad-whitespace)
C:3761, 0: Exactly one space required before assignment
path = sect.path
^ (bad-whitespace)
C:3783, 0: Line too long (105/100) (line-too-long)
C:3857, 0: Line too long (107/100) (line-too-long)
C:3898, 0: Exactly one space required before assignment
_syntax_ = "{:s} [OPTIONS] TARGET".format(_cmdline_)
^ (bad-whitespace)
C:3913, 0: Exactly one space required after comma
for o,a in opts:
^ (bad-whitespace)
C:3914, 0: Exactly one space required after :
if o == "-U": update_solib = True
^ (bad-whitespace)
C:3915, 0: Exactly one space required after :
elif o == "-D": download_lib = a
^ (bad-whitespace)
C:3916, 0: Exactly one space required after :
elif o == "-A": self.download_all_libs = True
^ (bad-whitespace)
C:3917, 0: Exactly one space required after :
elif o == "-E": is_extended_remote = True
^ (bad-whitespace)
C:3918, 0: Exactly one space required after :
elif o == "-p": rpid = int(a)
^ (bad-whitespace)
C:3923, 0: Exactly one space required around comparison
if args is None or len(args)!=1 or rpid < 0:
^^ (bad-whitespace)
C:4012, 0: Exactly one space required before assignment
directory = GEF_TEMP_DIR
^ (bad-whitespace)
C:4015, 0: Line too long (109/100) (line-too-long)
C:4023, 0: Line too long (102/100) (line-too-long)
C:4049, 0: Line too long (101/100) (line-too-long)
C:4050, 0: Line too long (129/100) (line-too-long)
C:4051, 0: Line too long (174/100) (line-too-long)
C:4054, 0: Line too long (109/100) (line-too-long)
C:4064, 0: Exactly one space required before assignment
_syntax_ = "{:s} [-r VALUE] [-p] [-h] [LOCATION]".format(_cmdline_)
^ (bad-whitespace)
C:4082, 0: Exactly one space required after comma
for o,a in opts:
^ (bad-whitespace)
C:4123, 0: Line too long (117/100) (line-too-long)
C:4155, 0: Exactly one space required before assignment
_syntax_ = "{:s} [-n LENGTH] [-t opt] [LOCATION]".format(_cmdline_)
^ (bad-whitespace)
C:4169, 0: Line too long (102/100) (line-too-long)
C:4199, 0: Exactly one space required before assignment
capstone = sys.modules["capstone"]
^ (bad-whitespace)
C:4200, 0: Exactly one space required before assignment
arch, mode = get_capstone_arch()
^ (bad-whitespace)
C:4201, 0: Exactly one space required before assignment
cs = capstone.Cs(arch, mode)
^ (bad-whitespace)
C:4202, 0: Exactly one space required before assignment
cs.detail = True
^ (bad-whitespace)
C:4204, 0: Exactly one space required before assignment
page_start = align_address_to_page(location)
^ (bad-whitespace)
C:4205, 0: Exactly one space required before assignment
offset = location - page_start
^ (bad-whitespace)
C:4206, 0: Exactly one space required before assignment
inst_num = 0
^ (bad-whitespace)
C:4207, 0: Exactly one space required before assignment
pc = current_arch.pc
^ (bad-whitespace)
C:4209, 0: Exactly one space required before assignment
code = kwargs.get("code", None)
^ (bad-whitespace)
C:4211, 0: Exactly one space required before assignment
code = read_memory(location, DEFAULT_PAGE_SIZE - offset - 1)
^ (bad-whitespace)
C:4218, 0: Unnecessary parens after 'if' keyword (superfluous-parens)
C:4256, 0: Exactly one space required after :
if is_x86_32(): reg, imm, mem = cs.x86.X86_OP_REG, cs.x86.X86_OP_IMM, cs.x86.X86_OP_MEM
^ (bad-whitespace)
C:4257, 0: Exactly one space required after :
elif is_x86_64(): reg, imm, mem = cs.x86.X86_OP_REG, cs.x86.X86_OP_IMM, cs.x86.X86_OP_MEM
^ (bad-whitespace)
C:4259, 0: Line too long (104/100) (line-too-long)
C:4259, 0: Exactly one space required after :
elif is_mips(): reg, imm, mem = cs.mips.MIPS_OP_REG, cs.mips.MIPS_OP_IMM, cs.mips.MIPS_OP_MEM
^ (bad-whitespace)
C:4260, 0: Line too long (110/100) (line-too-long)
C:4260, 0: Exactly one space required after :
elif is_sparc(): reg, imm, mem = cs.sparc.SPARC_OP_REG, cs.sparc.SPARC_OP_IMM, cs.sparc.SPARC_OP_MEM
^ (bad-whitespace)
C:4261, 0: Line too long (110/100) (line-too-long)
C:4262, 0: Exactly one space required after :
elif is_arm(): reg, imm, mem = cs.arm.ARM_OP_REG, cs.arm.ARM_OP_IMM, cs.arm.ARM_OP_MEM
^ (bad-whitespace)
C:4273, 0: Line too long (103/100) (line-too-long)
C:4275, 0: Line too long (102/100) (line-too-long)
C:4286, 0: Exactly one space required before assignment
_syntax_ = "{:s} (chunk|bins|arenas)".format(_cmdline_)
^ (bad-whitespace)
C:4306, 0: Exactly one space required before assignment
_syntax_ = _cmdline_
^ (bad-whitespace)
C:4334, 0: Exactly one space required before assignment
_syntax_ = "{:s} MALLOCED_LOCATION".format(_cmdline_)
^ (bad-whitespace)
C:4382, 0: Unnecessary parens after 'if' keyword (superfluous-parens)
C:4382, 0: Exactly one space required around comparison
if (bk==0x00 and fw==0x00):
^^ (bad-whitespace)
C:4382, 0: Exactly one space required around comparison
if (bk==0x00 and fw==0x00):
^^ (bad-whitespace)
C:4387, 0: Unnecessary parens after 'if' keyword (superfluous-parens)
C:4407, 0: Exactly one space required before assignment
_syntax_ = "{:s} [ARENA_ADDRESS]".format(_cmdline_)
^ (bad-whitespace)
C:4410, 0: Line too long (101/100) (line-too-long)
C:4452, 0: Exactly one space required before assignment
_syntax_ = "{:s} [ARENA_ADDRESS]".format(_cmdline_)
^ (bad-whitespace)
C:4455, 0: Line too long (104/100) (line-too-long)
C:4474, 0: Exactly one space required before assignment
_syntax_ = "{:s} [ARENA_ADDRESS]".format(_cmdline_)
^ (bad-whitespace)
C:4477, 0: Line too long (101/100) (line-too-long)
C:4499, 0: Exactly one space required before assignment
_syntax_ = "{:s} [ARENA_ADDRESS]".format(_cmdline_)
^ (bad-whitespace)
C:4502, 0: Line too long (101/100) (line-too-long)
C:4514, 0: Exactly one space required around comparison
if GlibcHeapBinsCommand.pprint_bin(arena_addr, i)<0:
^ (bad-whitespace)
C:4523, 0: Exactly one space required before assignment
_syntax_ = "{:s} SymbolToSearch".format (_cmdline_)
^ (bad-whitespace)
C:4523, 0: No space allowed before bracket
_syntax_ = "{:s} SymbolToSearch".format (_cmdline_)
^ (bad-whitespace)
C:4538, 0: Line too long (114/100) (line-too-long)
C:4538, 0: No space allowed before bracket
ok("Found matching symbol for '{:s}' at {:#x} (type={:s})".format (sym, symaddr, symtype))
^ (bad-whitespace)
C:4541, 0: Line too long (129/100) (line-too-long)
C:4541, 0: No space allowed before bracket
warn("Found partial match for '{:s}' at {:#x} (type={:s}): {:s}".format (sym, symaddr, symtype, symname))
^ (bad-whitespace)
C:4547, 0: No space allowed before bracket
err("No match for '{:s}'".format (sym))
^ (bad-whitespace)
C:4555, 0: Exactly one space required before assignment
_syntax_ = "{:s} [Register1] [Register2] ... [RegisterN]".format (_cmdline_)
^ (bad-whitespace)
C:4555, 0: No space allowed before bracket
_syntax_ = "{:s} [Register1] [Register2] ... [RegisterN]".format (_cmdline_)
^ (bad-whitespace)
C:4589, 0: No space allowed before bracket
sep = " {:s} ".format (right_arrow)
^ (bad-whitespace)
C:4602, 0: Exactly one space required before assignment
_syntax_ = "{:s} <search|get>".format (_cmdline_)
^ (bad-whitespace)
C:4602, 0: No space allowed before bracket
_syntax_ = "{:s} <search|get>".format (_cmdline_)
^ (bad-whitespace)
C:4615, 0: Exactly one space required before assignment
_syntax_ = "{:s} <pattern1> <pattern2>".format (_cmdline_)
^ (bad-whitespace)
C:4615, 0: No space allowed before bracket
_syntax_ = "{:s} <pattern1> <pattern2>".format (_cmdline_)
^ (bad-whitespace)
C:4664, 0: Exactly one space required before assignment
_syntax_ = "{:s} <shellcode_id>".format (_cmdline_)
^ (bad-whitespace)
C:4664, 0: No space allowed before bracket
_syntax_ = "{:s} <shellcode_id>".format (_cmdline_)
^ (bad-whitespace)
C:4690, 0: Exactly one space required before assignment
ret = gef_pystring(res)
^ (bad-whitespace)
C:4699, 0: No space allowed before bracket
info("Shellcode written to '{:s}'".format (fname))
^ (bad-whitespace)
C:4707, 0: Exactly one space required before assignment
_syntax_ = "{:s} [OPTIONS]".format (_cmdline_)
^ (bad-whitespace)
C:4707, 0: No space allowed before bracket
_syntax_ = "{:s} [OPTIONS]".format (_cmdline_)
^ (bad-whitespace)
C:4737, 0: Exactly one space required before assignment
_syntax_ = "{:s} [OPTIONS]".format (_cmdline_)
^ (bad-whitespace)
C:4737, 0: No space allowed before bracket
_syntax_ = "{:s} [OPTIONS]".format (_cmdline_)
^ (bad-whitespace)
C:4755, 0: Exactly one space required before assignment
all = None
^ (bad-whitespace)
C:4756, 0: Exactly one space required before assignment
binary = None
^ (bad-whitespace)
C:4757, 0: Exactly one space required before assignment
string = None
^ (bad-whitespace)
C:4758, 0: Exactly one space required before assignment
opcode = None
^ (bad-whitespace)
C:4759, 0: Exactly one space required before assignment
memstr = None
^ (bad-whitespace)
C:4760, 0: Exactly one space required before assignment
console = None
^ (bad-whitespace)
C:4761, 0: Exactly one space required before assignment
norop = None
^ (bad-whitespace)
C:4762, 0: Exactly one space required before assignment
nojop = None
^ (bad-whitespace)
C:4763, 0: Exactly one space required before assignment
depth = 10
^ (bad-whitespace)
C:4764, 0: Exactly one space required before assignment
nosys = None
^ (bad-whitespace)
C:4765, 0: Exactly one space required before assignment
range = "0x00-0x00"
^ (bad-whitespace)
C:4766, 0: Exactly one space required before assignment
badbytes = None
^ (bad-whitespace)
C:4767, 0: Exactly one space required before assignment
only = None
^ (bad-whitespace)
C:4768, 0: Exactly one space required before assignment
filter = None
^ (bad-whitespace)
C:4769, 0: Exactly one space required before assignment
ropchain = None
^ (bad-whitespace)
C:4770, 0: Exactly one space required before assignment
offset = 0x00
^ (bad-whitespace)
C:4771, 0: Exactly one space required before assignment
outfile = None
^ (bad-whitespace)
C:4772, 0: Exactly one space required before assignment
thumb = None
^ (bad-whitespace)
C:4773, 0: Exactly one space required before assignment
rawArch = None
^ (bad-whitespace)
C:4774, 0: Exactly one space required before assignment
rawMode = None
^ (bad-whitespace)
C:4775, 0: Exactly one space required before assignment
multibr = None
^ (bad-whitespace)
C:4791, 0: No space allowed before bracket
info("Valid options for {:s} are:\n{:s}".format (self._cmdline_, ", ".join(arr)))
^ (bad-whitespace)
C:4812, 0: No space allowed before bracket
info("Using depth {:d}".format (depth))
^ (bad-whitespace)
C:4817, 0: Line too long (101/100) (line-too-long)
C:4817, 0: No space allowed before bracket
raise ValueError("{:#x} must be higher that {:#x}".format (off_max, off_min))
^ (bad-whitespace)
C:4818, 0: Line too long (114/100) (line-too-long)
C:4818, 0: No space allowed before bracket
info("Using range [{:#x}:{:#x}] ({:ld} bytes)".format (off_min, off_max, (off_max - off_min)))
^ (bad-whitespace)
C:4823, 0: No space allowed before bracket
err("'{:s}' is not a valid ropgadget option".format (name))
^ (bad-whitespace)
C:4830, 0: No space allowed before bracket
info("Using binary: {:s}".format (args.binary))
^ (bad-whitespace)
C:4839, 0: Line too long (128/100) (line-too-long)
C:4839, 0: Exactly one space required before assignment
_syntax_ = "{:s} [-a ARCH] [-m MODE] [-e] [-s] [-l LOCATION] instruction;[instruction;...instruction;])".format (_cmdline_)
^ (bad-whitespace)
C:4839, 0: No space allowed before bracket
_syntax_ = "{:s} [-a ARCH] [-m MODE] [-e] [-s] [-l LOCATION] instruction;[instruction;...instruction;])".format (_cmdline_)
^ (bad-whitespace)
C:4858, 0: Exactly one space required after comma
for o,a in opts:
^ (bad-whitespace)
C:4891, 0: Exactly one space required around comparison
"s" if len(insns)>1 else "",
^ (bad-whitespace)
C:4920, 0: No space allowed before bracket
info("Overwriting {:d} bytes at {:s}".format (l, format_address(write_to_location)))
^ (bad-whitespace)
C:4929, 0: Exactly one space required before assignment
_syntax_ = "{:s} [PATTERN]".format (_cmdline_)
^ (bad-whitespace)
C:4929, 0: No space allowed before bracket
_syntax_ = "{:s} [PATTERN]".format (_cmdline_)
^ (bad-whitespace)
C:4943, 0: Exactly one space required after comma
for o,a in opts:
^ (bad-whitespace)
C:4944, 0: Exactly one space required before assignment
if o == "-a": do_attach = True
^ (bad-whitespace)
C:4963, 0: No space allowed before bracket
ok("Attaching to process='{:s}' pid={:d}".format (process["command"], pid))
^ (bad-whitespace)
C:4964, 0: No space allowed before bracket
gdb.execute("attach {:d}".format (pid))
^ (bad-whitespace)
C:4997, 0: Exactly one space required before assignment
_syntax_ = _cmdline_
^ (bad-whitespace)
C:5006, 0: No space allowed after bracket
classes = { 0x01: "32-bit",
^ (bad-whitespace)
C:5008, 0: Wrong continued indentation (add 10 spaces).
}
^ | (bad-continuation)
C:5009, 0: No space allowed after bracket
endianness = { 0x01: "Little-Endian",
^ (bad-whitespace)
C:5011, 0: Wrong continued indentation (add 13 spaces).
}
^ | (bad-continuation)
C:5012, 0: No space allowed after bracket
osabi = { 0x00: "System V",
^ (bad-whitespace)
C:5021, 0: Wrong continued indentation (add 8 spaces).
}
^ | (bad-continuation)
C:5023, 0: No space allowed after bracket
types = { 0x01: "Relocatable",
^ (bad-whitespace)
C:5027, 0: Wrong continued indentation (add 8 spaces).
}
^ | (bad-continuation)
C:5029, 0: No space allowed after bracket
machines = { 0x02: "SPARC",
^ (bad-whitespace)
C:5039, 0: Wrong continued indentation (add 11 spaces).
}
^ | (bad-continuation)
C:5049, 0: Exactly one space required after comma
data = [("Magic", "{0!s}".format(hexdump(struct.pack(">I",elf.e_magic), show_raw=True))),
^ (bad-whitespace)
C:5051, 0: Line too long (102/100) (line-too-long)
C:5057, 0: No space allowed before comma
("Program Header Table" , "{}".format(format_address(elf.e_phoff))),
^ (bad-whitespace)
C:5058, 0: No space allowed before comma
("Section Header Table" , "{}".format(format_address(elf.e_shoff))),
^ (bad-whitespace)
C:5059, 0: No space allowed before comma
("Header Table" , "{}".format(format_address(elf.e_phoff))),
^ (bad-whitespace)
C:5061, 0: No space allowed before comma
("Header size" , "{0} ({0:#x})".format(elf.e_ehsize)),
^ (bad-whitespace)
C:5063, 0: Wrong continued indentation (add 1 space).
]
^| (bad-continuation)
C:5074, 0: Exactly one space required before assignment
_syntax_ = _cmdline_
^ (bad-whitespace)
C:5132, 0: No space allowed before bracket
info("Breaking at entry-point: {:#x}".format (addr))
^ (bad-whitespace)
C:5133, 0: No space allowed before bracket
bp_num = gdb.execute("tbreak *{:#x}".format (addr), to_string=True)
^ (bad-whitespace)
C:5158, 0: Exactly one space required before assignment
_syntax_ = _cmdline_
^ (bad-whitespace)
C:5166, 0: Line too long (104/100) (line-too-long)
C:5167, 0: Line too long (112/100) (line-too-long)
C:5173, 0: Line too long (117/100) (line-too-long)
C:5177, 0: Line too long (117/100) (line-too-long)
C:5195, 0: Wrong continued indentation (add 2 spaces).
"stack": self.context_stack,
^ | (bad-continuation)
C:5196, 0: Wrong continued indentation (add 2 spaces).
"code": self.context_code,
^ | (bad-continuation)
C:5197, 0: Wrong continued indentation (add 2 spaces).
"source": self.context_source,
^ | (bad-continuation)
C:5198, 0: Wrong continued indentation (add 2 spaces).
"trace": self.context_trace,
^ | (bad-continuation)
C:5199, 0: Wrong continued indentation (add 2 spaces).
"threads": self.context_threads}
^ | (bad-continuation)
C:5220, 0: Exactly one space required before assignment
line_color= __config__.get("theme.context_title_line")[0]
^ (bad-whitespace)
C:5274, 0: No space allowed before bracket
line += "{:s} ".format (Color.greenify(reg))
^ (bad-whitespace)
C:5276, 0: No space allowed before bracket
line += "{:s} ".format (str(new_value))
^ (bad-whitespace)
C:5281, 0: No space allowed before bracket
line += "{:s} ".format (format_address(new_value))
^ (bad-whitespace)
C:5283, 0: Line too long (104/100) (line-too-long)
C:5283, 0: No space allowed before bracket
line += "{:s} ".format (Color.colorify(format_address(new_value), attrs="bold red"))
^ (bad-whitespace)
C:5285, 0: Unnecessary parens after 'if' keyword (superfluous-parens)
C:5285, 0: No space allowed before :
if (i % nb == 0) :
^ (bad-whitespace)
C:5308, 0: No space allowed before bracket
gdb.execute("dereference {:#x} {:d}".format (sp, nb_lines))
^ (bad-whitespace)
C:5323, 0: Exactly one space required before assignment
pc += 1
^^ (bad-whitespace)
C:5334, 0: No space allowed before bracket
insn = "{:#x} {:s}".format (addr,content)
^ (bad-whitespace)
C:5334, 0: Exactly one space required after comma
insn = "{:#x} {:s}".format (addr,content)
^ (bad-whitespace)
C:5349, 0: Line too long (101/100) (line-too-long)
C:5352, 0: Line too long (103/100) (line-too-long)
C:5360, 0: Line too long (134/100) (line-too-long)
C:5370, 0: Exactly one space required before assignment
insn+= down_arrow if i==0 else " "
^^ (bad-whitespace)
C:5370, 0: Exactly one space required around comparison
insn+= down_arrow if i==0 else " "
^^ (bad-whitespace)
C:5371, 0: Exactly one space required before assignment
insn+= "\t{:#x} {:s}".format (addr,content)
^^ (bad-whitespace)
C:5371, 0: No space allowed before bracket
insn+= "\t{:#x} {:s}".format (addr,content)
^ (bad-whitespace)
C:5371, 0: Exactly one space required after comma
insn+= "\t{:#x} {:s}".format (addr,content)
^ (bad-whitespace)
C:5385, 0: Line too long (112/100) (line-too-long)
C:5409, 0: Line too long (137/100) (line-too-long)
C:5413, 0: No space allowed before bracket
print("{:4d}\t {:s}".format (i + 1, lines[i],))
^ (bad-whitespace)
C:5440, 0: Exactly one space required after comma
found = any([k == key for (k,v) in m])
^ (bad-whitespace)
C:5445, 0: Exactly one space required after comma
return "; " + ", ".join(["{:s}={:s}".format(Color.yellowify(a),b) for (a,b) in m])
^ (bad-whitespace)
C:5445, 0: Exactly one space required after comma
return "; " + ", ".join(["{:s}={:s}".format(Color.yellowify(a),b) for (a,b) in m])
^ (bad-whitespace)
C:5473, 0: No space allowed before bracket
m = "Name: {:s}(".format (Color.greenify(name))
^ (bad-whitespace)
C:5474, 0: Line too long (108/100) (line-too-long)
C:5474, 0: No space allowed before bracket
m += ", ".join(["{!s}={!s}".format (x.sym, x.sym.value(current_frame)) for x in frame_args])
^ (bad-whitespace)
C:5478, 0: No space allowed before bracket
print("[{:s}] {:s}".format (Color.colorify("#{:d}".format(i), "bold pink"),
^ (bad-whitespace)
C:5519, 0: Line too long (116/100) (line-too-long)
C:5556, 0: Exactly one space required before assignment
_syntax_ = "{:s} (qword|dword|word|byte) LOCATION L[SIZE] [UP|DOWN]".format(_cmdline_)
^ (bad-whitespace)
C:5643, 0: Exactly one space required before assignment
_syntax_ = "{:s} [LOCATION] [NB]".format (_cmdline_)
^ (bad-whitespace)
C:5643, 0: No space allowed before bracket
_syntax_ = "{:s} [LOCATION] [NB]".format (_cmdline_)
^ (bad-whitespace)
C:5668, 0: Exactly one space required before assignment
l = ""
^ (bad-whitespace)
C:5728, 0: Line too long (104/100) (line-too-long)
C:5730, 0: Line too long (102/100) (line-too-long)
C:5734, 0: Exactly one space required before assignment
(_, _, mnemo, operands) = gef_parse_gdb_instruction(cmd)
^ (bad-whitespace)
C:5760, 0: Line too long (123/100) (line-too-long)
C:5760, 0: Exactly one space required around assignment
charset="""0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ """
^ (bad-whitespace)
C:5761, 0: Exactly one space required around comparison
if PYTHON_MAJOR==3:
^^ (bad-whitespace)
C:5766, 0: Exactly one space required before assignment
val+= ' ("{}"?)'.format(Color.greenify(gef_pystring(val_str)))
^^ (bad-whitespace)
C:5777, 0: Exactly one space required before assignment
_syntax_ = "{:s} (on|off)".format(_cmdline_)
^ (bad-whitespace)
C:5817, 0: Exactly one space required before assignment
_syntax_ = _cmdline_
^ (bad-whitespace)
C:5828, 0: Exactly one space required before assignment
_syntax_ = "{:s}".format (_cmdline_)
^ (bad-whitespace)
C:5828, 0: No space allowed before bracket
_syntax_ = "{:s}".format (_cmdline_)
^ (bad-whitespace)
C:5838, 0: Line too long (102/100) (line-too-long)
C:5840, 0: No space allowed before bracket
print("{:<31s} {:<31s} {:<31s} {:<4s} {:s}".format (*headers))
^ (bad-whitespace)
C:5842, 0: No space allowed before bracket
print("{:<23s} {:<23s} {:<23s} {:<4s} {:s}".format (*headers))
^ (bad-whitespace)
C:5850, 0: No space allowed before :
if entry.permission.value == (Permission.READ|Permission.WRITE|Permission.EXECUTE) :
^ (bad-whitespace)
C:5864, 0: Exactly one space required before assignment
_syntax_ = "{:s} [name]".format(_cmdline_)
^ (bad-whitespace)
C:5882, 0: Exactly one space required before assignment
l= ""
^ (bad-whitespace)
C:5895, 0: Exactly one space required before assignment
_syntax_ = "{:s} LOCATION".format(_cmdline_)
^ (bad-whitespace)
C:5903, 0: No space allowed before bracket
def do_invoke (self, argv):
^ (bad-whitespace)
C:5905, 0: No space allowed before bracket
err ("At least one valid address must be specified")
^ (bad-whitespace)
C:5916, 0: No space allowed before bracket
err("{:s}".format (gdb_err))
^ (bad-whitespace)
C:5923, 0: No space allowed before bracket
warn("Cannot reach {:#x} in memory space".format (address))
^ (bad-whitespace)
C:5930, 0: No space allowed before bracket
print("Found {:s}".format (format_address(addr.value)))
^ (bad-whitespace)
C:5931, 0: No space allowed before bracket
print("Page: {:s} {:s} {:s} (size={:#x})".format (format_address(sect.page_start),
^ (bad-whitespace)
C:5932, 0: Wrong continued indentation (remove 1 space).
right_arrow,
|^ (bad-continuation)
C:5933, 0: Wrong continued indentation (remove 1 space).
format_address(sect.page_end),
|^ (bad-continuation)
C:5934, 0: Wrong continued indentation (remove 1 space).
sect.page_end-sect.page_start))
|^ (bad-continuation)
C:5935, 0: No space allowed before bracket
print("Permissions: {:s}".format (str(sect.permission)))
^ (bad-whitespace)
C:5936, 0: No space allowed before bracket
print("Pathname: {:s}".format (sect.path))
^ (bad-whitespace)
C:5937, 0: No space allowed before bracket
print("Offset (from page): +{:#x}".format (addr.value-sect.page_start))
^ (bad-whitespace)
C:5938, 0: No space allowed before bracket
print("Inode: {:s}".format (sect.inode))
^ (bad-whitespace)
C:5941, 0: No space allowed before bracket
print("Segment: {:s} ({:s}-{:s})".format (info.name,
^ (bad-whitespace)
C:5951, 0: Exactly one space required before assignment
_syntax_ = "{:s} <display|patch> <address> <size_to_read> <xor_key> ".format (_cmdline_)
^ (bad-whitespace)
C:5951, 0: No space allowed before bracket
_syntax_ = "{:s} <display|patch> <address> <size_to_read> <xor_key> ".format (_cmdline_)
^ (bad-whitespace)
C:5965, 0: Exactly one space required before assignment
_syntax_ = "{:s} <address> <size_to_read> <xor_key> [-i]".format (_cmdline_)
^ (bad-whitespace)
C:5965, 0: No space allowed before bracket
_syntax_ = "{:s} <address> <size_to_read> <xor_key> [-i]".format (_cmdline_)
^ (bad-whitespace)
C:5978, 0: Line too long (106/100) (line-too-long)
C:5978, 0: No space allowed before bracket
info("Displaying XOR-ing {:#x}-{:#x} with {:s}".format (address, address + len(block), repr(key)))
^ (bad-whitespace)
C:6000, 0: Exactly one space required before assignment
_syntax_ = "{:s} <address> <size_to_read> <xor_key>".format (_cmdline_)
^ (bad-whitespace)
C:6000, 0: No space allowed before bracket
_syntax_ = "{:s} <address> <size_to_read> <xor_key>".format (_cmdline_)
^ (bad-whitespace)
C:6023, 0: Exactly one space required before assignment
_syntax_ = "{:s} LOCATION [MAX_CALL_DEPTH]".format (_cmdline_)
^ (bad-whitespace)
C:6023, 0: No space allowed before bracket
_syntax_ = "{:s} LOCATION [MAX_CALL_DEPTH]".format (_cmdline_)
^ (bad-whitespace)
C:6029, 0: Line too long (102/100) (line-too-long)
C:6044, 0: Exactly one space required before assignment
loc_start = current_arch.pc
^ (bad-whitespace)
C:6045, 0: Exactly one space required before assignment
loc_end = long(gdb.parse_and_eval(argv[0]))
^ (bad-whitespace)
C:6064, 0: No space allowed before bracket
info("Tracing from {:#x} to {:#x} (max depth={:d})".format (loc_start, loc_end,depth))
^ (bad-whitespace)
C:6064, 0: Exactly one space required after comma
info("Tracing from {:#x} to {:#x} (max depth={:d})".format (loc_start, loc_end,depth))
^ (bad-whitespace)
C:6065, 0: Line too long (104/100) (line-too-long)
C:6086, 0: No space allowed before bracket
print("# Execution tracing of {:s}".format (get_filepath()))
^ (bad-whitespace)
C:6087, 0: No space allowed before bracket
print("# Start address: {:s}".format (format_address(loc_start)))
^ (bad-whitespace)
C:6088, 0: No space allowed before bracket
print("# End address: {:s}".format (format_address(loc_end)))
^ (bad-whitespace)
C:6089, 0: No space allowed before bracket
print("# Recursion level: {:d}".format (depth))
^ (bad-whitespace)
C:6097, 0: No space allowed before :
if delta <= depth :
^ (bad-whitespace)
C:6122, 0: Exactly one space required before assignment
_syntax_ = "{:s} (create|search) <args>".format(_cmdline_)
^ (bad-whitespace)
C:6138, 0: Exactly one space required before assignment
_syntax_ = "{:s} [SIZE]".format (_cmdline_)
^ (bad-whitespace)
C:6138, 0: No space allowed before bracket
_syntax_ = "{:s} [SIZE]".format (_cmdline_)
^ (bad-whitespace)
C:6158, 0: No space allowed before bracket
ok("Saved as '{:s}'".format (var_name))
^ (bad-whitespace)
C:6166, 0: Exactly one space required before assignment
_syntax_ = "{:s} PATTERN [SIZE]".format(_cmdline_)
^ (bad-whitespace)
C:6205, 0: Line too long (152/100) (line-too-long)
C:6210, 0: Line too long (148/100) (line-too-long)
C:6222, 0: Exactly one space required before assignment
_syntax_ = "{:s} (filename)".format(_cmdline_)
^ (bad-whitespace)
C:6293, 0: Exactly one space required before assignment
_syntax_ = "{:s} (help|missing|config|save|restore|set|run)".format(_cmdline_)
^ (bad-whitespace)
C:6301, 0: Line too long (107/100) (line-too-long)
C:6302, 0: Line too long (105/100) (line-too-long)
C:6304, 0: Line too long (109/100) (line-too-long)
C:6330, 0: Line too long (220/100) (line-too-long)
C:6345, 0: Wrong continued indentation (remove 1 space).
]
|^ (bad-continuation)
C:6434, 0: Line too long (108/100) (line-too-long)
C:6436, 0: Line too long (133/100) (line-too-long)
C:6436, 0: Exactly one space required after comma
Color.colorify("gef",attrs="underline yellow"),
^ (bad-whitespace)
C:6437, 0: Line too long (140/100) (line-too-long)
C:6439, 0: No space allowed before bracket
ver = "{:d}.{:d}".format (sys.version_info.major, sys.version_info.minor)
^ (bad-whitespace)
C:6441, 0: Line too long (131/100) (line-too-long)
C:6442, 0: Line too long (131/100) (line-too-long)
C:6443, 0: Line too long (121/100) (line-too-long)
C:6446, 0: Line too long (135/100) (line-too-long)
C:6447, 0: Line too long (140/100) (line-too-long)
C:6454, 0: Exactly one space required before assignment
_syntax_ = _cmdline_
^ (bad-whitespace)
C:6500, 0: Exactly one space required before assignment
_syntax_ = "{:s} [debug_on|debug_off][setting_name] [setting_value]".format(_cmdline_)
^ (bad-whitespace)
C:6514, 0: Unnecessary parens after 'not' keyword (superfluous-parens)
C:6604, 0: Exactly one space required before assignment
_syntax_ = _cmdline_
^ (bad-whitespace)
C:6646, 0: Exactly one space required before assignment
_syntax_ = _cmdline_
^ (bad-whitespace)
C:6694, 0: Exactly one space required before assignment
_syntax_ = _cmdline_
^ (bad-whitespace)
C:6714, 0: Line too long (102/100) (line-too-long)
C:6722, 0: Exactly one space required before assignment
_syntax_ = "{:s} [GDB_SET_ARGUMENTS]".format(_cmdline_)
^ (bad-whitespace)
C:6750, 0: Exactly one space required before assignment
_syntax_ = "{:s} [GDB_RUN_ARGUMENTS]".format(_cmdline_)
^ (bad-whitespace)
C:6793, 0: Exactly one space required after comma
if hasattr(_instance, "complete"):
^ (bad-whitespace)
C:6912, 0: Exactly one space required before comparison
if __name__ == "__main__":
^^ (bad-whitespace)
C: 1, 0: Too many lines in module (6958/1000) (too-many-lines)
C: 1, 0: Missing module docstring (missing-docstring)
W: 96, 4: Redefining built-in 'range' (redefined-builtin)
W:118, 4: Redefining built-in 'FileNotFoundError' (redefined-builtin)
E: 89, 4: Unable to import 'HTMLParser' (import-error)
E: 90, 4: Unable to import 'cStringIO' (import-error)
E: 91, 4: No name 'urlopen' in module 'urllib' (no-name-in-module)
E: 93, 4: Unable to import 'xmlrpclib' (import-error)
C: 96, 4: Invalid constant name "range" (invalid-name)
E: 96,12: Undefined variable 'xrange' (undefined-variable)
C: 98, 4: Invalid constant name "left_arrow" (invalid-name)
C: 99, 4: Invalid constant name "right_arrow" (invalid-name)
C:100, 4: Invalid constant name "down_arrow" (invalid-name)
C:101, 4: Invalid constant name "horizontal_line" (invalid-name)
C:102, 4: Invalid constant name "vertical_line" (invalid-name)
C:104, 4: Invalid constant name "gef_prompt" (invalid-name)
C:105, 4: Invalid constant name "gef_prompt_on" (invalid-name)
C:106, 4: Invalid constant name "gef_prompt_off" (invalid-name)
C:116, 4: Invalid class name "long" (invalid-name)
C:117, 4: Invalid class name "unicode" (invalid-name)
C:120, 4: Invalid constant name "left_arrow" (invalid-name)
C:121, 4: Invalid constant name "right_arrow" (invalid-name)
C:122, 4: Invalid constant name "down_arrow" (invalid-name)
C:123, 4: Invalid constant name "horizontal_line" (invalid-name)
C:124, 4: Invalid constant name "vertical_line" (invalid-name)
C:126, 4: Invalid constant name "gef_prompt" (invalid-name)
C:127, 4: Invalid constant name "gef_prompt_on" (invalid-name)
C:128, 4: Invalid constant name "gef_prompt_off" (invalid-name)
W:143, 4: No exception type(s) specified (bare-except)
C:163,38: Invalid variable name "f" (invalid-name)
C:191, 0: Missing class docstring (missing-docstring)
W:192, 4: __init__ method from base class 'Exception' is not called (super-init-not-called)
C:200, 0: Missing class docstring (missing-docstring)
C:204, 0: Missing class docstring (missing-docstring)
C:208, 0: Missing class docstring (missing-docstring)
C:212, 0: Invalid class name "memoize" (invalid-name)
R:212, 0: Too few public methods (0/2) (too-few-public-methods)
C:239, 8: Invalid variable name "s" (invalid-name)
C:240, 8: Invalid variable name "o" (invalid-name)
C:246, 0: Missing class docstring (missing-docstring)
C:263, 4: Missing method docstring (missing-docstring)
C:263,26: More than one statement on a single line (multiple-statements)
C:265, 4: Missing method docstring (missing-docstring)
C:265,26: More than one statement on a single line (multiple-statements)
C:267, 4: Missing method docstring (missing-docstring)
C:267,26: More than one statement on a single line (multiple-statements)
C:269, 4: Missing method docstring (missing-docstring)
C:269,26: More than one statement on a single line (multiple-statements)
C:271, 4: Missing method docstring (missing-docstring)
C:271,26: More than one statement on a single line (multiple-statements)
C:273, 4: Missing method docstring (missing-docstring)
C:273,26: More than one statement on a single line (multiple-statements)
C:275, 4: Missing method docstring (missing-docstring)
C:275,26: More than one statement on a single line (multiple-statements)
C:277, 4: Missing method docstring (missing-docstring)
C:277,26: More than one statement on a single line (multiple-statements)
C:279, 4: Missing method docstring (missing-docstring)
C:279,27: More than one statement on a single line (multiple-statements)
C:281, 4: Missing method docstring (missing-docstring)
C:281,23: More than one statement on a single line (multiple-statements)
C:284, 4: Missing method docstring (missing-docstring)
C:287, 8: Invalid variable name "m" (invalid-name)
C:289,39: More than one statement on a single line (multiple-statements)
C:290,39: More than one statement on a single line (multiple-statements)
C:291,39: More than one statement on a single line (multiple-statements)
C:292,39: More than one statement on a single line (multiple-statements)
C:293,39: More than one statement on a single line (multiple-statements)
C:294,39: More than one statement on a single line (multiple-statements)
C:295,39: More than one statement on a single line (multiple-statements)
C:296,39: More than one statement on a single line (multiple-statements)
C:297,39: More than one statement on a single line (multiple-statements)
C:298,39: More than one statement on a single line (multiple-statements)
C:300,41: More than one statement on a single line (multiple-statements)
C:301,41: More than one statement on a single line (multiple-statements)
C:302,41: More than one statement on a single line (multiple-statements)
R:284, 4: Too many branches (15/12) (too-many-branches)
C:307, 4: Missing method docstring (missing-docstring)
C:322, 0: Missing class docstring (missing-docstring)
W:323, 0: Unused argument 'args' (unused-argument)
C:333, 4: Missing method docstring (missing-docstring)
C:336, 4: Missing method docstring (missing-docstring)
C:339, 4: Missing method docstring (missing-docstring)
C:342, 4: Missing method docstring (missing-docstring)
C:348, 0: Missing class docstring (missing-docstring)
W:355, 0: Unused argument 'args' (unused-argument)
C:359, 4: Invalid argument name "a" (invalid-name)
C:362, 4: Invalid argument name "a" (invalid-name)
C:365, 4: Invalid argument name "a" (invalid-name)
C:382, 4: Missing method docstring (missing-docstring)
C:383, 8: Invalid variable name "p" (invalid-name)
C:394, 4: Missing method docstring (missing-docstring)
C:395, 8: Invalid variable name "p" (invalid-name)
C:405, 0: Missing class docstring (missing-docstring)
W:413, 0: Unused argument 'args' (unused-argument)
C:420, 4: Missing method docstring (missing-docstring)
C:423, 4: Missing method docstring (missing-docstring)
C:426, 4: Missing method docstring (missing-docstring)
C:430, 4: Missing method docstring (missing-docstring)
C:436, 0: Missing class docstring (missing-docstring)
R:436, 0: Too few public methods (0/2) (too-few-public-methods)
R:443, 0: Too many instance attributes (20/7) (too-many-instance-attributes)
C:492,32: Invalid variable name "f" (invalid-name)
R:443, 0: Too few public methods (0/2) (too-few-public-methods)
C:543, 4: Missing method docstring (missing-docstring)
R:543, 4: Method could be a function (no-self-use)
C:547, 4: Missing method docstring (missing-docstring)
C:553, 4: Missing method docstring (missing-docstring)
C:555, 8: Invalid variable name "fd" (invalid-name)
C:556, 8: Invalid variable name "bw" (invalid-name)
C:559, 4: Missing method docstring (missing-docstring)
W:562,24: Access to a protected member __addr of a client class (protected-access)
R:564, 8: Redefinition of addr_next type from int to str (redefined-variable-type)
C:567, 4: Missing method docstring (missing-docstring)
C:573, 8: Invalid variable name "n" (invalid-name)
C:576, 8: Invalid variable name "m" (invalid-name)
C:577, 8: Invalid variable name "m" (invalid-name)
C:578, 8: Invalid variable name "m" (invalid-name)
C:579, 8: Invalid variable name "m" (invalid-name)
C:580, 8: Invalid variable name "m" (invalid-name)
C:581, 8: Invalid variable name "m" (invalid-name)
C:582, 8: Invalid variable name "m" (invalid-name)
C:583, 8: Invalid variable name "m" (invalid-name)
C:605, 4: Missing method docstring (missing-docstring)
C:608, 4: Missing method docstring (missing-docstring)
C:611,23: More than one statement on a single line (multiple-statements)
C:612,29: More than one statement on a single line (multiple-statements)
C:615, 4: Missing method docstring (missing-docstring)
C:619, 4: Missing method docstring (missing-docstring)
C:625, 4: Missing method docstring (missing-docstring)
C:628, 4: Missing method docstring (missing-docstring)
C:633, 4: Invalid method name "has_P_bit" (invalid-name)
C:638, 4: Invalid method name "has_M_bit" (invalid-name)
C:643, 4: Invalid method name "has_N_bit" (invalid-name)
C:661, 4: Missing method docstring (missing-docstring)
C:685, 8: Invalid variable name "me" (invalid-name)
C:691, 8: Invalid variable name "me" (invalid-name)
W:685, 8: Unused variable 'me' (unused-variable)
C:707, 8: Invalid variable name "me" (invalid-name)
C:712, 8: Invalid variable name "me" (invalid-name)
W:707, 8: Unused variable 'me' (unused-variable)
C:717, 4: Missing method docstring (missing-docstring)
C:720, 4: Missing method docstring (missing-docstring)
C:724, 8: Invalid variable name "m" (invalid-name)
C:725, 8: Invalid variable name "m" (invalid-name)
C:726, 8: Invalid variable name "m" (invalid-name)
C:729, 4: Missing method docstring (missing-docstring)
C:745, 0: Missing function docstring (missing-docstring)
C:747, 4: Invalid variable name "n" (invalid-name)
C:753, 4: Invalid variable name "m" (invalid-name)
C:754, 4: Invalid variable name "m" (invalid-name)
C:755, 4: Invalid variable name "m" (invalid-name)
C:759, 0: Invalid argument name "m" (invalid-name)
C:759, 0: Invalid argument name "cr" (invalid-name)
C:767, 0: Invalid argument name "cr" (invalid-name)
C:767, 0: Missing function docstring (missing-docstring)
C:767,25: More than one statement on a single line (multiple-statements)
C:768, 0: Invalid argument name "cr" (invalid-name)
C:768, 0: Missing function docstring (missing-docstring)
C:768,25: More than one statement on a single line (multiple-statements)
C:769, 0: Invalid function name "ok" (invalid-name)
C:769, 0: Invalid argument name "cr" (invalid-name)
C:769, 0: Missing function docstring (missing-docstring)
C:769,25: More than one statement on a single line (multiple-statements)
C:770, 0: Invalid argument name "cr" (invalid-name)
C:770, 0: Missing function docstring (missing-docstring)
C:770,25: More than one statement on a single line (multiple-statements)
C:773, 0: Missing function docstring (missing-docstring)
C:779, 0: Invalid argument name "x" (invalid-name)
C:779, 0: Missing function docstring (missing-docstring)
C:785, 0: Invalid argument name "x" (invalid-name)
C:785, 0: Missing function docstring (missing-docstring)
C:791, 0: Missing function docstring (missing-docstring)
C:792, 4: Missing function docstring (missing-docstring)
W:795,11: Unused variable 'fname' (unused-variable)
C:822, 8: Invalid variable name "s" (invalid-name)
C:839, 0: Missing function docstring (missing-docstring)
C:840,48: Comparison to True should be just 'expr' or 'expr is True' (singleton-comparison)
C:843, 0: Missing function docstring (missing-docstring)
C:851, 0: Missing function docstring (missing-docstring)
C:857, 0: Missing function docstring (missing-docstring)
C:878, 0: Invalid argument name "n" (invalid-name)
C:878, 0: Missing function docstring (missing-docstring)
C:883, 0: Missing function docstring (missing-docstring)
C:887, 0: Missing function docstring (missing-docstring)
C:918, 8: Invalid variable name "me" (invalid-name)
W:918, 8: Unused variable 'me' (unused-variable)
C:948, 0: Missing function docstring (missing-docstring)
C:961, 0: Missing function docstring (missing-docstring)
C:981, 0: Missing function docstring (missing-docstring)
W:981, 0: Unused argument 'args' (unused-argument)
C:991, 0: Missing function docstring (missing-docstring)
C:992, 4: Invalid variable name "fd" (invalid-name)
C:993,31: Invalid variable name "f" (invalid-name)
C:1002, 0: Missing function docstring (missing-docstring)
C:1038, 0: Missing function docstring (missing-docstring)
C:1043, 0: Missing function docstring (missing-docstring)
C:1048, 0: Missing function docstring (missing-docstring)
C:1054, 0: Missing function docstring (missing-docstring)
C:1054,25: More than one statement on a single line (multiple-statements)
C:1055, 0: Missing function docstring (missing-docstring)
C:1055,25: More than one statement on a single line (multiple-statements)
C:1058, 0: Missing function docstring (missing-docstring)
C:1061, 8: Invalid variable name "w" (invalid-name)
C:1071, 4: Missing method docstring (missing-docstring)
C:1071,51: More than one statement on a single line (multiple-statements)
C:1073, 4: Missing method docstring (missing-docstring)
C:1073,51: More than one statement on a single line (multiple-statements)
C:1075, 4: Missing method docstring (missing-docstring)
C:1075,51: More than one statement on a single line (multiple-statements)
C:1077, 4: Missing method docstring (missing-docstring)
C:1077,51: More than one statement on a single line (multiple-statements)
C:1079, 4: Missing method docstring (missing-docstring)
C:1079,51: More than one statement on a single line (multiple-statements)
C:1081, 4: Missing method docstring (missing-docstring)
C:1081,51: More than one statement on a single line (multiple-statements)
C:1083, 4: Missing method docstring (missing-docstring)
C:1083,51: More than one statement on a single line (multiple-statements)
C:1085, 4: Missing method docstring (missing-docstring)
C:1085,51: More than one statement on a single line (multiple-statements)
C:1087, 4: Missing method docstring (missing-docstring)
C:1087,51: More than one statement on a single line (multiple-statements)
C:1089, 4: Missing method docstring (missing-docstring)
C:1089,51: More than one statement on a single line (multiple-statements)
C:1092, 4: Invalid attribute name "pc" (invalid-name)
C:1092, 4: Missing method docstring (missing-docstring)
W:1095, 8: No exception type(s) specified (bare-except)
C:1099, 4: Invalid attribute name "sp" (invalid-name)
C:1099, 4: Missing method docstring (missing-docstring)
W:1102, 8: No exception type(s) specified (bare-except)
C:1106, 0: Missing class docstring (missing-docstring)
C:1152,33: More than one statement on a single line (multiple-statements)
C:1153,33: More than one statement on a single line (multiple-statements)
C:1154,33: More than one statement on a single line (multiple-statements)
C:1155,33: More than one statement on a single line (multiple-statements)
C:1156,33: More than one statement on a single line (multiple-statements)
C:1157,33: More than one statement on a single line (multiple-statements)
C:1158,34: More than one statement on a single line (multiple-statements)
C:1159,34: More than one statement on a single line (multiple-statements)
R:1146, 4: Too many return statements (9/6) (too-many-return-statements)
C:1162, 4: Missing method docstring (missing-docstring)
C:1163, 8: Invalid variable name "_NR_mprotect" (invalid-name)
R:1162, 4: Method could be a function (no-self-use)
C:1175, 0: Missing class docstring (missing-docstring)
C:1223,12: Invalid variable name "op" (invalid-name)
C:1225,26: More than one statement on a single line (multiple-statements)
C:1228,26: More than one statement on a single line (multiple-statements)
C:1232,37: More than one statement on a single line (multiple-statements)
C:1236,37: More than one statement on a single line (multiple-statements)
C:1240,33: More than one statement on a single line (multiple-statements)
C:1241,33: More than one statement on a single line (multiple-statements)
C:1242,33: More than one statement on a single line (multiple-statements)
C:1243,33: More than one statement on a single line (multiple-statements)
C:1244,33: More than one statement on a single line (multiple-statements)
C:1245,33: More than one statement on a single line (multiple-statements)
R:1215, 4: Too many return statements (16/6) (too-many-return-statements)
R:1215, 4: Too many branches (15/12) (too-many-branches)
C:1249, 0: Missing class docstring (missing-docstring)
C:1302,12: Invalid variable name "cx" (invalid-name)
C:1304,12: Invalid variable name "cx" (invalid-name)
C:1306,36: More than one statement on a single line (multiple-statements)
C:1307,43: More than one statement on a single line (multiple-statements)
C:1308,42: More than one statement on a single line (multiple-statements)
C:1309,36: More than one statement on a single line (multiple-statements)
C:1310,48: More than one statement on a single line (multiple-statements)
C:1311,34: More than one statement on a single line (multiple-statements)
C:1312,36: More than one statement on a single line (multiple-statements)
C:1313,36: More than one statement on a single line (multiple-statements)
C:1314,36: More than one statement on a single line (multiple-statements)
C:1315,36: More than one statement on a single line (multiple-statements)
C:1316,36: More than one statement on a single line (multiple-statements)
C:1317,30: More than one statement on a single line (multiple-statements)
C:1318,36: More than one statement on a single line (multiple-statements)
C:1319,30: More than one statement on a single line (multiple-statements)
C:1320,29: More than one statement on a single line (multiple-statements)
C:1321,35: More than one statement on a single line (multiple-statements)
C:1322,29: More than one statement on a single line (multiple-statements)
R:1295, 4: Too many return statements (18/6) (too-many-return-statements)
R:1295, 4: Too many branches (19/12) (too-many-branches)
C:1325, 4: Missing method docstring (missing-docstring)
C:1326, 8: Invalid variable name "_NR_mprotect" (invalid-name)
R:1325, 4: Method could be a function (no-self-use)
C:1338, 0: Invalid class name "X86_64" (invalid-name)
C:1338, 0: Missing class docstring (missing-docstring)
C:1351, 8: Invalid variable name "_NR_mprotect" (invalid-name)
C:1362, 0: Missing class docstring (missing-docstring)
C:1408,27: More than one statement on a single line (multiple-statements)
C:1409,27: More than one statement on a single line (multiple-statements)
C:1410,27: More than one statement on a single line (multiple-statements)
C:1411,27: More than one statement on a single line (multiple-statements)
C:1412,27: More than one statement on a single line (multiple-statements)
C:1413,27: More than one statement on a single line (multiple-statements)
R:1404, 4: Too many return statements (7/6) (too-many-return-statements)
C:1418, 8: Invalid variable name "_NR_mprotect" (invalid-name)
R:1416, 4: Method could be a function (no-self-use)
C:1435, 0: Missing class docstring (missing-docstring)
C:1488,26: More than one statement on a single line (multiple-statements)
C:1489,27: More than one statement on a single line (multiple-statements)
C:1490,26: More than one statement on a single line (multiple-statements)
C:1491,27: More than one statement on a single line (multiple-statements)
C:1492,27: More than one statement on a single line (multiple-statements)
C:1493,28: More than one statement on a single line (multiple-statements)
C:1494,26: More than one statement on a single line (multiple-statements)
C:1495,27: More than one statement on a single line (multiple-statements)
C:1496,27: More than one statement on a single line (multiple-statements)
C:1497,28: More than one statement on a single line (multiple-statements)
C:1498,28: More than one statement on a single line (multiple-statements)
C:1499,28: More than one statement on a single line (multiple-statements)
C:1500,27: More than one statement on a single line (multiple-statements)
C:1501,27: More than one statement on a single line (multiple-statements)
C:1502,27: More than one statement on a single line (multiple-statements)
C:1503,27: More than one statement on a single line (multiple-statements)
R:1484, 4: Too many return statements (17/6) (too-many-return-statements)
R:1484, 4: Too many branches (16/12) (too-many-branches)
C:1506, 4: Missing method docstring (missing-docstring)
C:1507, 8: Invalid variable name "hi" (invalid-name)
C:1508, 8: Invalid variable name "lo" (invalid-name)
C:1509, 8: Invalid variable name "_NR_mprotect" (invalid-name)
W:1506,33: Unused argument 'size' (unused-argument)
W:1506,39: Unused argument 'perm' (unused-argument)
R:1506, 4: Method could be a function (no-self-use)
C:1551, 0: Missing class docstring (missing-docstring)
R:1580, 4: Too many return statements (9/6) (too-many-return-statements)
C:1600, 4: Missing method docstring (missing-docstring)
C:1601, 8: Invalid variable name "_NR_mprotect" (invalid-name)
R:1600, 4: Method could be a function (no-self-use)
C:1616, 0: Missing function docstring (missing-docstring)
C:1617,26: More than one statement on a single line (multiple-statements)
C:1621, 0: Missing function docstring (missing-docstring)
C:1628, 0: Missing function docstring (missing-docstring)
C:1658,15: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
C:1659, 4: Invalid variable name "e" (invalid-name)
W:1659, 4: Unused variable 'e' (unused-variable)
C:1668, 4: Invalid variable name "e" (invalid-name)
W:1668, 4: Unused variable 'e' (unused-variable)
C:1673, 0: Invalid argument name "f" (invalid-name)
C:1676, 4: Missing function docstring (missing-docstring)
C:1684, 0: Invalid argument name "f" (invalid-name)
C:1687, 4: Missing function docstring (missing-docstring)
C:1702, 4: Invalid variable name "t" (invalid-name)
C:1707, 0: Missing function docstring (missing-docstring)
C:1708, 4: Invalid variable name "t" (invalid-name)
C:1709, 8: Invalid variable name "v" (invalid-name)
C:1710, 8: Invalid variable name "v" (invalid-name)
C:1717, 0: Missing function docstring (missing-docstring)
C:1722, 0: Missing function docstring (missing-docstring)
C:1726, 0: Missing function docstring (missing-docstring)
C:1731,11: Comparison to None should be 'expr is None' (singleton-comparison)
W:1758,11: Catching too general exception Exception (broad-except)
C:1758, 4: Invalid variable name "e" (invalid-name)
C:1776, 0: Missing function docstring (missing-docstring)
C:1788, 0: Invalid argument name "os" (invalid-name)
W:1788,27: Redefining name 'os' from outer scope (line 72) (redefined-outer-name)
C:1799, 4: Invalid variable name "f" (invalid-name)
W:1805,25: Unused variable 'dev' (unused-variable)
C:1832, 4: Invalid variable name "f" (invalid-name)
C:1856, 0: Missing function docstring (missing-docstring)
W:1866,11: Catching too general exception Exception (broad-except)
C:1866, 4: Invalid variable name "e" (invalid-name)
W:1866, 4: Unused variable 'e' (unused-variable)
C:1875, 0: Missing function docstring (missing-docstring)
C:1888,12: Invalid variable name "at" (invalid-name)
W:1888,12: Unused variable 'at' (unused-variable)
W:1886,12: Unused variable 'index' (unused-variable)
C:1911, 0: Missing function docstring (missing-docstring)
W:1938, 8: Redefining name 'info' from outer scope (line 770) (redefined-outer-name)
W:1912, 4: Using global for '__infos_files__' but no assignment is done (global-variable-not-assigned)
C:1949, 0: Missing function docstring (missing-docstring)
C:1965, 0: Missing function docstring (missing-docstring)
C:1977, 0: Missing function docstring (missing-docstring)
W:1978, 8: Redefining name 'info' from outer scope (line 770) (redefined-outer-name)
W:1988, 4: Redefining name 'info' from outer scope (line 770) (redefined-outer-name)
C:1996, 0: Invalid function name "XOR" (invalid-name)
C:1996, 0: Missing function docstring (missing-docstring)
C:2005, 0: Missing function docstring (missing-docstring)
C:2011, 0: Missing function docstring (missing-docstring)
W:2011,28: Unused argument 'event' (unused-argument)
C:2016, 0: Missing function docstring (missing-docstring)
W:2016,21: Unused argument 'event' (unused-argument)
C:2021, 0: Missing function docstring (missing-docstring)
W:2021,22: Unused argument 'event' (unused-argument)
C:2026, 0: Missing function docstring (missing-docstring)
W:2026,24: Unused argument 'event' (unused-argument)
C:2032, 0: Missing function docstring (missing-docstring)
W:2032,17: Unused argument 'event' (unused-argument)
R:2049, 0: Too many arguments (6/5) (too-many-arguments)
R:2070,12: Redefinition of mode type from str to int (redefined-variable-type)
C:2095, 0: Missing function docstring (missing-docstring)
C:2102, 0: Missing function docstring (missing-docstring)
C:2121, 0: Missing function docstring (missing-docstring)
C:2139, 8: Invalid variable name "r" (invalid-name)
C:2155, 8: Invalid variable name "ks" (invalid-name)
C:2157, 4: Invalid variable name "e" (invalid-name)
C:2164, 8: Invalid variable name "s" (invalid-name)
R:2165, 8: Redefinition of enc type from bytearray to bytes (redefined-variable-type)
W:2148, 0: Unused argument 'args' (unused-argument)
W:2156,13: Unused variable 'cnt' (unused-variable)
C:2172, 0: Missing function docstring (missing-docstring)
C:2184, 0: Missing function docstring (missing-docstring)
C:2190, 0: Missing function docstring (missing-docstring)
C:2196, 0: Missing function docstring (missing-docstring)
C:2202, 0: Missing function docstring (missing-docstring)
C:2208, 0: Missing function docstring (missing-docstring)
C:2214, 0: Missing function docstring (missing-docstring)
C:2220, 0: Missing function docstring (missing-docstring)
C:2226, 0: Missing function docstring (missing-docstring)
C:2232, 0: Missing function docstring (missing-docstring)
C:2238, 0: Missing function docstring (missing-docstring)
C:2244, 0: Missing function docstring (missing-docstring)
C:2250, 0: Missing function docstring (missing-docstring)
C:2255, 0: Invalid constant name "current_arch" (invalid-name)
C:2258, 0: Missing function docstring (missing-docstring)
C:2259, 4: Invalid constant name "current_arch" (invalid-name)
W:2259, 4: Using the global statement (global-statement)
C:2263,42: More than one statement on a single line (multiple-statements)
C:2264,42: More than one statement on a single line (multiple-statements)
C:2265,42: More than one statement on a single line (multiple-statements)
C:2266,42: More than one statement on a single line (multiple-statements)
C:2267,42: More than one statement on a single line (multiple-statements)
C:2268,42: More than one statement on a single line (multiple-statements)
C:2269,42: More than one statement on a single line (multiple-statements)
C:2270,42: More than one statement on a single line (multiple-statements)
C:2271,42: More than one statement on a single line (multiple-statements)
R:2264,42: Redefinition of current_arch type from gef.ARM to gef.AARCH64 (redefined-variable-type)
C:2277, 0: Missing function docstring (missing-docstring)
C:2286, 0: Missing function docstring (missing-docstring)
C:2291,27: Invalid variable name "f" (invalid-name)
C:2296, 0: Missing function docstring (missing-docstring)
C:2304, 0: Missing function docstring (missing-docstring)
C:2312, 0: Missing function docstring (missing-docstring)
C:2313, 4: Invalid variable name "a" (invalid-name)
C:2317, 0: Missing function docstring (missing-docstring)
C:2321, 4: Invalid variable name "t" (invalid-name)
C:2322, 4: Invalid variable name "a" (invalid-name)
C:2326, 0: Missing function docstring (missing-docstring)
C:2333, 0: Missing function docstring (missing-docstring)
C:2339, 0: Missing function docstring (missing-docstring)
C:2343, 0: Invalid argument name "n" (invalid-name)
C:2349, 4: Invalid variable name "a" (invalid-name)
C:2350, 4: Invalid function name "db" (invalid-name)
C:2350, 4: Invalid argument name "t" (invalid-name)
C:2350, 4: Invalid argument name "p" (invalid-name)
C:2350, 4: Missing function docstring (missing-docstring)
C:2357,16: Invalid variable name "c" (invalid-name)
C:2362,20: Invalid variable name "c" (invalid-name)
C:2377, 8: Invalid variable name "c" (invalid-name)
C:2378,24: More than one statement on a single line (multiple-statements)
C:2402, 0: Missing function docstring (missing-docstring)
W:2403, 4: Using the global statement (global-statement)
C:2421, 4: Missing method docstring (missing-docstring)
C:2424,12: Invalid variable name "sp" (invalid-name)
C:2425,12: Invalid variable name "m" (invalid-name)
C:2442,12: Invalid variable name "m" (invalid-name)
C:2443,12: Invalid variable name "m" (invalid-name)
C:2447,12: Invalid variable name "m" (invalid-name)
C:2448,12: Invalid variable name "m" (invalid-name)
C:2449,12: Invalid variable name "m" (invalid-name)
R:2413, 0: Too few public methods (1/2) (too-few-public-methods)
C:2464, 8: Invalid variable name "m" (invalid-name)
C:2466,12: Invalid variable name "m" (invalid-name)
C:2470, 4: Missing method docstring (missing-docstring)
C:2481, 8: Invalid variable name "m" (invalid-name)
C:2483,12: Invalid variable name "m" (invalid-name)
R:2456, 0: Too few public methods (1/2) (too-few-public-methods)
C:2500, 4: Missing method docstring (missing-docstring)
R:2489, 0: Too few public methods (1/2) (too-few-public-methods)
C:2511, 4: Invalid argument name "pc" (invalid-name)
C:2517, 4: Missing method docstring (missing-docstring)
R:2507, 0: Too few public methods (1/2) (too-few-public-methods)
W:2533, 0: Unused argument 'args' (unused-argument)
C:2543, 4: Missing method docstring (missing-docstring)
W:2543,27: Unused argument 'from_tty' (unused-argument)
C:2548, 4: Missing method docstring (missing-docstring)
C:2553,25: More than one statement on a single line (multiple-statements)
C:2556,24: More than one statement on a single line (multiple-statements)
C:2559, 4: Missing method docstring (missing-docstring)
C:2559,31: More than one statement on a single line (multiple-statements)
C:2561, 4: Missing method docstring (missing-docstring)
C:2561,24: More than one statement on a single line (multiple-statements)
C:2562, 4: Missing method docstring (missing-docstring)
C:2562,25: More than one statement on a single line (multiple-statements)
C:2565, 4: Missing method docstring (missing-docstring)
C:2565,24: More than one statement on a single line (multiple-statements)
C:2568, 4: Missing method docstring (missing-docstring)
C:2572, 4: Missing method docstring (missing-docstring)
C:2572,33: More than one statement on a single line (multiple-statements)
C:2573, 4: Missing method docstring (missing-docstring)
C:2573,33: More than one statement on a single line (multiple-statements)
E:2573,48: Method 'settings' has no 'keys' member (no-member)
C:2575, 4: Missing method docstring (missing-docstring)
W:2576,33: Access to a protected member _cmdline_ of a client class (protected-access)
C:2580, 4: Missing method docstring (missing-docstring)
W:2581,33: Access to a protected member _cmdline_ of a client class (protected-access)
C:2627, 4: Missing method docstring (missing-docstring)
C:2629,12: Invalid variable name "l" (invalid-name)
R:2627, 4: Method could be a function (no-self-use)
C:2634, 4: Missing method docstring (missing-docstring)
R:2634, 4: Method could be a function (no-self-use)
C:2637, 4: Missing method docstring (missing-docstring)
R:2637, 4: Method could be a function (no-self-use)
C:2640, 4: Missing method docstring (missing-docstring)
C:2641, 8: Invalid variable name "ps" (invalid-name)
W:2645,15: Catching too general exception Exception (broad-except)
C:2645, 8: Invalid variable name "e" (invalid-name)
W:2645, 8: Unused variable 'e' (unused-variable)
R:2640, 4: Method could be a function (no-self-use)
C:2648, 4: Missing method docstring (missing-docstring)
W:2653, 8: Unused variable 'process' (unused-variable)
W:2651, 8: Unused variable 'state' (unused-variable)
C:2659, 4: Missing method docstring (missing-docstring)
C:2668, 4: Missing method docstring (missing-docstring)
C:2684, 4: Missing method docstring (missing-docstring)
R:2684, 4: Method could be a function (no-self-use)
C:2695, 4: Missing method docstring (missing-docstring)
C:2701,16: Invalid variable name "p" (invalid-name)
R:2695, 4: Method could be a function (no-self-use)
C:2705, 4: Missing method docstring (missing-docstring)
C:2706, 8: Invalid variable name "ip" (invalid-name)
R:2705, 4: Method could be a function (no-self-use)
C:2709, 4: Missing method docstring (missing-docstring)
W:2710,25: Duplicate key 11 in dictionary (duplicate-key)
C:2742,21: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
W:2737, 8: Unused variable 'path' (unused-variable)
E:2782,24: Non-iterable value self.settings is used in an iterating context (not-an-iterable)
E:2783,24: Value 'self.settings' is unsubscriptable (unsubscriptable-object)
E:2794,20: Value 'self.settings' is unsubscriptable (unsubscriptable-object)
W:2796,40: Using possibly undefined loop variable 'item' (undefined-loop-variable)
W:2837,20: Unused variable 'param' (unused-variable)
R:2826, 4: Too many return statements (7/6) (too-many-return-statements)
C:2859, 4: Invalid argument name "x" (invalid-name)
C:2859, 4: Missing method docstring (missing-docstring)
C:2862, 4: Invalid argument name "x" (invalid-name)
C:2862, 4: Missing method docstring (missing-docstring)
C:2865, 4: Missing method docstring (missing-docstring)
C:2876, 4: Missing method docstring (missing-docstring)
W:2884,30: Access to a protected member _fields_ of a client class (protected-access)
C:2890, 4: Missing method docstring (missing-docstring)
W:2890,26: Redefining name 'struct' from outer scope (line 78) (redefined-outer-name)
R:2890, 4: Method could be a function (no-self-use)
C:2895, 4: Missing method docstring (missing-docstring)
C:2899, 4: Missing method docstring (missing-docstring)
C:2903, 4: Missing method docstring (missing-docstring)
C:2911, 4: Missing method docstring (missing-docstring)
R:2911, 4: Too many local variables (16/15) (too-many-locals)
W:2929,21: Access to a protected member _fields_ of a client class (protected-access)
R:2934,18: Too many boolean expressions in if statement (6/5) (too-many-boolean-expressions)
C:2957, 4: Missing method docstring (missing-docstring)
W:2957,31: Redefining name 'struct' from outer scope (line 78) (redefined-outer-name)
C:2958,44: More than one statement on a single line (multiple-statements)
C:2962,29: More than one statement on a single line (multiple-statements)
C:2964,33: More than one statement on a single line (multiple-statements)
C:2965,19: Comparison to None should be 'expr is None' (singleton-comparison)
C:2965,32: More than one statement on a single line (multiple-statements)
R:2957, 4: Method could be a function (no-self-use)
C:2969, 4: Missing method docstring (missing-docstring)
C:2977,41: Invalid variable name "f" (invalid-name)
C:2989, 4: Missing method docstring (missing-docstring)
C:2990, 8: Invalid variable name "d" (invalid-name)
R:2989, 4: Method could be a function (no-self-use)
C:3000, 4: Missing method docstring (missing-docstring)
C:3006,33: More than one statement on a single line (multiple-statements)
W:3033, 8: Unused variable 'ioe' (unused-variable)
W:3031,12: Unused variable 'retdec' (unused-variable)
R:3039, 4: Too many local variables (29/15) (too-many-locals)
W:3103,15: Catching too general exception Exception (broad-except)
C:3072,16: Invalid variable name "o" (invalid-name)
C:3072,19: Invalid variable name "a" (invalid-name)
C:3075,20: Invalid variable name "fd" (invalid-name)
C:3076,48: Invalid variable name "f" (invalid-name)
C:3090,20: Invalid variable name "fd" (invalid-name)
C:3091,48: Invalid variable name "f" (invalid-name)
C:3103, 8: Invalid variable name "e" (invalid-name)
C:3109,11: Comparison to False should be 'not expr' or 'expr is False' (singleton-comparison)
C:3113,33: Invalid variable name "f" (invalid-name)
C:3114,12: Invalid variable name "p" (invalid-name)
C:3115,16: Invalid variable name "l" (invalid-name)
C:3116,16: Invalid variable name "l" (invalid-name)
C:3121,20: Invalid variable name "s" (invalid-name)
C:3126,24: Invalid variable name "l" (invalid-name)
W:3052,12: Unused variable 'retdec_decompiler' (unused-variable)
W:3124,38: Unused variable 'ops' (unused-variable)
W:3066,14: Unused variable 'args' (unused-variable)
W:3124,31: Unused variable 'mnemo' (unused-variable)
R:3039, 4: Too many return statements (8/6) (too-many-return-statements)
R:3039, 4: Too many branches (16/12) (too-many-branches)
R:3039, 4: Too many statements (62/50) (too-many-statements)
C:3131, 4: Missing method docstring (missing-docstring)
W:3193, 8: No exception type(s) specified (bare-except)
C:3222, 4: Missing method docstring (missing-docstring)
C:3224,12: Invalid variable name "s" (invalid-name)
R:3222, 4: Method could be a function (no-self-use)
W:3246, 8: No exception type(s) specified (bare-except)
C:3252, 4: Missing method docstring (missing-docstring)
C:3259, 8: Missing function docstring (missing-docstring)
W:3269,16: No exception type(s) specified (bare-except)
W:3318,15: Catching too general exception Exception (broad-except)
C:3318, 8: Invalid variable name "e" (invalid-name)
C:3328,12: Invalid variable name "x" (invalid-name)
C:3335, 8: Invalid variable name "pc" (invalid-name)
W:3350,12: Expression "gdb.Breakpoint('*{:#x}'.format(new_bp), type=gdb.BP_BREAKPOINT).enabled" is assigned to nothing (expression-not-assigned)
C:3354,12: Invalid variable name "bp" (invalid-name)
W:3363, 4: Arguments number differs from overridden 'usage' method (arguments-differ)
C:3373,12: Invalid variable name "m" (invalid-name)
C:3374,40: More than one statement on a single line (multiple-statements)
C:3380, 4: Missing method docstring (missing-docstring)
C:3390,41: Invalid variable name "f" (invalid-name)
C:3398,36: More than one statement on a single line (multiple-statements)
C:3399,36: More than one statement on a single line (multiple-statements)
C:3400,36: More than one statement on a single line (multiple-statements)
C:3401,36: More than one statement on a single line (multiple-statements)
C:3403,20: Invalid variable name "m" (invalid-name)
W:3396,20: Unused variable 'offset' (unused-variable)
W:3432,16: Redefining name 'string' from outer scope (line 77) (redefined-outer-name)
C:3429,12: Invalid variable name "m" (invalid-name)
R:3422, 4: Method could be a function (no-self-use)
C:3443,57: More than one statement on a single line (multiple-statements)
C:3444,41: More than one statement on a single line (multiple-statements)
C:3491,21: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
W:3524, 8: Unused variable 'ioe' (unused-variable)
W:3523,12: Unused variable 'keystone' (unused-variable)
C:3566, 4: Missing method docstring (missing-docstring)
R:3566, 4: Method could be a function (no-self-use)
C:3588, 4: Missing method docstring (missing-docstring)
C:3589, 8: Invalid variable name "h" (invalid-name)
C:3590, 8: Invalid variable name "h" (invalid-name)
C:3591, 8: Invalid variable name "h" (invalid-name)
C:3592, 8: Invalid variable name "h" (invalid-name)
C:3593, 8: Invalid variable name "h" (invalid-name)
C:3594, 8: Invalid variable name "h" (invalid-name)
C:3595, 8: Invalid variable name "h" (invalid-name)
C:3603, 8: Invalid variable name "ie" (invalid-name)
W:3601,12: Unused variable 'unicorn' (unused-variable)
W:3603, 8: Unused variable 'ie' (unused-variable)
W:3602,12: Unused variable 'capstone' (unused-variable)
C:3616,12: Invalid variable name "o" (invalid-name)
C:3616,14: Invalid variable name "a" (invalid-name)
C:3617,30: More than one statement on a single line (multiple-statements)
W:3615,14: Unused variable 'args' (unused-variable)
C:3650, 4: Invalid argument name "nb" (invalid-name)
C:3650, 4: Missing method docstring (missing-docstring)
R:3650, 4: Method could be a function (no-self-use)
C:3654, 4: Missing method docstring (missing-docstring)
R:3654, 4: Too many local variables (34/15) (too-many-locals)
C:3719,12: Invalid variable name "r" (invalid-name)
C:3741,12: Invalid variable name "FS" (invalid-name)
C:3742,12: Invalid variable name "GS" (invalid-name)
W:3788,19: Catching too general exception Exception (broad-except)
C:3780,48: Invalid variable name "f" (invalid-name)
C:3788,12: Invalid variable name "e" (invalid-name)
C:3824,41: Invalid variable name "f" (invalid-name)
C:3836, 8: Invalid variable name "e" (invalid-name)
C:3843,12: Invalid variable name "r" (invalid-name)
C:3845,44: More than one statement on a single line (multiple-statements)
W:3654, 0: Unused argument 'args' (unused-argument)
W:3761,16: Unused variable 'path' (unused-variable)
R:3654, 4: Too many branches (30/12) (too-many-branches)
R:3654, 4: Too many statements (102/50) (too-many-statements)
C:3864, 4: Missing method docstring (missing-docstring)
W:3864,41: Unused argument 'misc' (unused-argument)
W:3871,12: Unused variable 'mem' (unused-variable)
C:3877, 4: Missing method docstring (missing-docstring)
W:3877,42: Unused argument 'misc' (unused-argument)
W:3877,36: Unused argument 'size' (unused-argument)
W:3612, 8: Attribute 'nb_insn' defined outside __init__ (attribute-defined-outside-init)
W:3620,16: Attribute 'nb_insn' defined outside __init__ (attribute-defined-outside-init)
W:3625,16: Attribute 'nb_insn' defined outside __init__ (attribute-defined-outside-init)
W:3629,16: Attribute 'nb_insn' defined outside __init__ (attribute-defined-outside-init)
W:3613, 8: Attribute 'until_next_gadget' defined outside __init__ (attribute-defined-outside-init)
W:3621,16: Attribute 'until_next_gadget' defined outside __init__ (attribute-defined-outside-init)
W:3624,16: Attribute 'until_next_gadget' defined outside __init__ (attribute-defined-outside-init)
W:3630,16: Attribute 'until_next_gadget' defined outside __init__ (attribute-defined-outside-init)
C:3913,12: Invalid variable name "o" (invalid-name)
C:3913,14: Invalid variable name "a" (invalid-name)
C:3914,30: More than one statement on a single line (multiple-statements)
C:3915,30: More than one statement on a single line (multiple-statements)
C:3916,30: More than one statement on a single line (multiple-statements)
C:3917,30: More than one statement on a single line (multiple-statements)
C:3918,30: More than one statement on a single line (multiple-statements)
C:3934,11: Comparison to False should be 'not expr' or 'expr is False' (singleton-comparison)
C:3953,11: Comparison to True should be just 'expr' or 'expr is True' (singleton-comparison)
R:3905, 4: Too many branches (21/12) (too-many-branches)
R:3905, 4: Too many statements (56/50) (too-many-statements)
W:3993,44: Unused argument 'update_solib' (unused-argument)
W:4027,15: Catching too general exception Exception (broad-except)
C:4027, 8: Invalid variable name "e" (invalid-name)
R:4018, 4: Method could be a function (no-self-use)
W:4034,36: Redefining name 'info' from outer scope (line 770) (redefined-outer-name)
R:4034, 4: Method could be a function (no-self-use)
C:4040, 4: Missing method docstring (missing-docstring)
C:4047, 4: Missing method docstring (missing-docstring)
C:4048, 8: Invalid variable name "h" (invalid-name)
C:4049, 8: Invalid variable name "h" (invalid-name)
C:4050, 8: Invalid variable name "h" (invalid-name)
C:4051, 8: Invalid variable name "h" (invalid-name)
C:4052, 8: Invalid variable name "h" (invalid-name)
C:4053, 8: Invalid variable name "h" (invalid-name)
C:4054, 8: Invalid variable name "h" (invalid-name)
W:3909, 8: Attribute 'download_all_libs' defined outside __init__ (attribute-defined-outside-init)
W:3916,30: Attribute 'download_all_libs' defined outside __init__ (attribute-defined-outside-init)
C:4072, 4: Missing method docstring (missing-docstring)
R:4072, 4: Method could be a function (no-self-use)
C:4082,12: Invalid variable name "o" (invalid-name)
C:4082,14: Invalid variable name "a" (invalid-name)
C:4107, 4: Missing method docstring (missing-docstring)
C:4108, 8: Invalid variable name "m" (invalid-name)
C:4109, 8: Invalid variable name "m" (invalid-name)
C:4110, 8: Invalid variable name "m" (invalid-name)
C:4111, 8: Invalid variable name "m" (invalid-name)
C:4112, 8: Invalid variable name "m" (invalid-name)
C:4118, 4: Missing method docstring (missing-docstring)
C:4123,12: Invalid variable name "m" (invalid-name)
C:4146, 4: Missing method docstring (missing-docstring)
R:4146, 4: Method could be a function (no-self-use)
C:4162, 8: Invalid variable name "ie" (invalid-name)
W:4162, 8: Unused variable 'ie' (unused-variable)
W:4161,12: Unused variable 'capstone' (unused-variable)
C:4176,12: Invalid variable name "o" (invalid-name)
C:4176,15: Invalid variable name "a" (invalid-name)
C:4180,19: Invalid variable name "v" (invalid-name)
C:4198, 4: Missing method docstring (missing-docstring)
C:4201, 8: Invalid variable name "cs" (invalid-name)
C:4207, 8: Invalid variable name "pc" (invalid-name)
C:4216,12: Invalid variable name "m" (invalid-name)
C:4219,16: Invalid variable name "m" (invalid-name)
C:4221,16: Invalid variable name "m" (invalid-name)
C:4222,16: Invalid variable name "m" (invalid-name)
W:4198, 0: Unused argument 'args' (unused-argument)
C:4234, 8: Invalid variable name "cs" (invalid-name)
C:4236, 8: Invalid variable name "m" (invalid-name)
C:4237, 8: Invalid variable name "m" (invalid-name)
C:4238, 8: Invalid variable name "m" (invalid-name)
C:4239, 8: Invalid variable name "m" (invalid-name)
C:4242,12: Invalid variable name "m" (invalid-name)
C:4244, 8: Invalid variable name "m" (invalid-name)
C:4248,12: Invalid variable name "m" (invalid-name)
C:4249,12: Invalid variable name "m" (invalid-name)
C:4253,12: Invalid variable name "m" (invalid-name)
C:4254,12: Invalid variable name "m" (invalid-name)
C:4256,27: More than one statement on a single line (multiple-statements)
C:4257,27: More than one statement on a single line (multiple-statements)
C:4258,27: More than one statement on a single line (multiple-statements)
C:4259,27: More than one statement on a single line (multiple-statements)
C:4260,27: More than one statement on a single line (multiple-statements)
C:4261,27: More than one statement on a single line (multiple-statements)
C:4262,27: More than one statement on a single line (multiple-statements)
C:4263,27: More than one statement on a single line (multiple-statements)
C:4266,12: Invalid variable name "op" (invalid-name)
C:4268,16: Invalid variable name "m" (invalid-name)
C:4270,16: Invalid variable name "m" (invalid-name)
C:4273,20: Invalid variable name "m" (invalid-name)
C:4275,20: Invalid variable name "m" (invalid-name)
C:4277,12: Invalid variable name "m" (invalid-name)
W:4233,32: Unused argument 'arch' (unused-argument)
R:4233, 4: Too many branches (17/12) (too-many-branches)
C:4293, 4: Missing method docstring (missing-docstring)
W:4296, 8: No exception type(s) specified (bare-except)
W:4317, 8: No exception type(s) specified (bare-except)
C:4378, 4: Missing method docstring (missing-docstring)
C:4380, 8: Invalid variable name "fw" (invalid-name)
C:4380,12: Invalid variable name "bk" (invalid-name)
C:4391, 8: Invalid variable name "m" (invalid-name)
C:4395,12: Invalid variable name "m" (invalid-name)
C:4396,12: Invalid variable name "fw" (invalid-name)
C:4532,44: Invalid variable name "f" (invalid-name)
C:4631, 4: Missing method docstring (missing-docstring)
W:4651,20: Unused variable 'auth' (unused-variable)
W:4651,42: Unused variable 'link' (unused-variable)
C:4684, 4: Missing method docstring (missing-docstring)
C:4693, 8: Invalid variable name "fd" (invalid-name)
C:4717, 8: Invalid variable name "ie" (invalid-name)
W:4717, 8: Unused variable 'ie' (unused-variable)
W:4716,12: Unused variable 'ropper' (unused-variable)
C:4747, 8: Invalid variable name "ie" (invalid-name)
W:4747, 8: Unused variable 'ie' (unused-variable)
W:4746,12: Unused variable 'ropgadget' (unused-variable)
C:4754, 8: Missing class docstring (missing-docstring)
R:4754, 8: Too few public methods (0/2) (too-few-public-methods)
C:4785, 4: Missing method docstring (missing-docstring)
W:4849, 8: Unused variable 'ioe' (unused-variable)
W:4848,12: Unused variable 'keystone' (unused-variable)
R:4854, 4: Too many local variables (22/15) (too-many-locals)
C:4858,12: Invalid variable name "o" (invalid-name)
C:4858,14: Invalid variable name "a" (invalid-name)
C:4859,26: More than one statement on a single line (multiple-statements)
C:4860,26: More than one statement on a single line (multiple-statements)
C:4861,26: More than one statement on a single line (multiple-statements)
C:4862,26: More than one statement on a single line (multiple-statements)
C:4863,26: More than one statement on a single line (multiple-statements)
C:4909,12: Invalid variable name "s" (invalid-name)
C:4919,12: Invalid variable name "l" (invalid-name)
R:4911,12: Redefinition of res type from bytes to str (redefined-variable-type)
W:4888, 8: Unused variable 'end' (unused-variable)
W:4855, 8: Unused variable 'keystone' (unused-variable)
R:4854, 4: Too many branches (18/12) (too-many-branches)
R:4854, 4: Too many statements (54/50) (too-many-statements)
C:4943,12: Invalid variable name "o" (invalid-name)
C:4943,14: Invalid variable name "a" (invalid-name)
C:4944,26: More than one statement on a single line (multiple-statements)
C:4945,26: More than one statement on a single line (multiple-statements)
C:4957,70: More than one statement on a single line (multiple-statements)
C:4958,49: More than one statement on a single line (multiple-statements)
C:4959,48: More than one statement on a single line (multiple-statements)
C:4960,47: More than one statement on a single line (multiple-statements)
W:4943,14: Unused variable 'a' (unused-variable)
C:4973, 4: Invalid method name "ps" (invalid-name)
C:4973, 4: Missing method docstring (missing-docstring)
C:4980,12: Invalid variable name "t" (invalid-name)
C:5096, 8: Invalid variable name "bp" (invalid-name)
C:5101,16: Invalid variable name "bp" (invalid-name)
C:5102,16: Invalid variable name "bp" (invalid-name)
R:5081, 4: Too many return statements (8/6) (too-many-return-statements)
C:5131, 4: Missing method docstring (missing-docstring)
R:5131, 4: Method could be a function (no-self-use)
C:5137, 4: Missing method docstring (missing-docstring)
C:5150, 4: Missing method docstring (missing-docstring)
R:5150, 4: Method could be a function (no-self-use)
C:5219, 4: Invalid argument name "m" (invalid-name)
C:5219, 4: Missing method docstring (missing-docstring)
C:5240, 4: Missing method docstring (missing-docstring)
C:5243,11: Comparison to False should be 'not expr' or 'expr is False' (singleton-comparison)
C:5247, 8: Invalid variable name "l" (invalid-name)
C:5248, 8: Invalid variable name "l" (invalid-name)
C:5249, 8: Invalid variable name "l" (invalid-name)
C:5250, 8: Invalid variable name "nb" (invalid-name)
W:5269,12: No exception type(s) specified (bare-except)
C:5256,16: Invalid variable name "r" (invalid-name)
C:5296, 4: Missing method docstring (missing-docstring)
C:5303,12: Invalid variable name "sp" (invalid-name)
C:5304,15: Comparison to True should be just 'expr' or 'expr is True' (singleton-comparison)
C:5315, 4: Missing method docstring (missing-docstring)
R:5315, 4: Too many local variables (18/15) (too-many-locals)
C:5318, 8: Invalid variable name "pc" (invalid-name)
C:5323,12: Invalid variable name "pc" (invalid-name)
C:5337,16: Invalid variable name "m" (invalid-name)
C:5380, 4: Missing method docstring (missing-docstring)
W:5393,15: Catching too general exception Exception (broad-except)
C:5382,12: Invalid variable name "pc" (invalid-name)
C:5390,37: Invalid variable name "f" (invalid-name)
C:5393, 8: Invalid variable name "e" (invalid-name)
W:5393, 8: Unused variable 'e' (unused-variable)
C:5418, 4: Invalid argument name "pc" (invalid-name)
C:5418, 4: Missing method docstring (missing-docstring)
W:5446,15: Catching too general exception Exception (broad-except)
C:5421,45: More than one statement on a single line (multiple-statements)
C:5422,12: Invalid variable name "m" (invalid-name)
C:5433,24: Invalid variable name "f" (invalid-name)
C:5446, 8: Invalid variable name "e" (invalid-name)
W:5446, 8: Unused variable 'e' (unused-variable)
R:5418, 4: Method could be a function (no-self-use)
C:5450, 4: Missing method docstring (missing-docstring)
C:5467,12: Invalid variable name "pc" (invalid-name)
C:5473,16: Invalid variable name "m" (invalid-name)
C:5474,16: Invalid variable name "m" (invalid-name)
E:5474,52: Instance of 'str' has no 'sym' member (no-member)
E:5474,59: Instance of 'str' has no 'sym' member (no-member)
C:5475,16: Invalid variable name "m" (invalid-name)
C:5489, 4: Missing method docstring (missing-docstring)
C:5490, 8: Missing function docstring (missing-docstring)
R:5490, 8: Too many return statements (7/6) (too-many-return-statements)
C:5532, 4: Missing method docstring (missing-docstring)
W:5536,12: No exception type(s) specified (bare-except)
W:5532,31: Unused argument 'event' (unused-argument)
W:5193, 8: Attribute 'tty_rows' defined outside __init__ (attribute-defined-outside-init)
W:5193,23: Attribute 'tty_columns' defined outside __init__ (attribute-defined-outside-init)
C:5542, 0: Missing function docstring (missing-docstring)
C:5547, 0: Missing function docstring (missing-docstring)
R:5610, 4: Too many local variables (16/15) (too-many-locals)
C:5623, 8: Invalid variable name "r" (invalid-name)
C:5623,11: Invalid variable name "l" (invalid-name)
R:5610, 4: Method could be a function (no-self-use)
C:5668,12: Invalid variable name "l" (invalid-name)
C:5670,12: Invalid variable name "l" (invalid-name)
C:5680,16: Invalid variable name "m" (invalid-name)
C:5681,16: Invalid variable name "l" (invalid-name)
C:5686, 8: Invalid variable name "nb" (invalid-name)
W:5660, 8: Unused variable 'offset' (unused-variable)
C:5695, 4: Missing method docstring (missing-docstring)
R:5695, 4: Too many local variables (19/15) (too-many-locals)
C:5742,24: Invalid variable name "s" (invalid-name)
R:5695, 4: Too many branches (16/12) (too-many-branches)
R:5695, 4: Too many statements (52/50) (too-many-statements)
C:5845,12: Invalid variable name "l" (invalid-name)
C:5875, 8: Invalid variable name "f" (invalid-name)
C:5882,12: Invalid variable name "l" (invalid-name)
C:5883,12: Invalid variable name "l" (invalid-name)
C:5884,12: Invalid variable name "l" (invalid-name)
C:5885,12: Invalid variable name "l" (invalid-name)
C:5886,12: Invalid variable name "l" (invalid-name)
C:5920, 4: Missing method docstring (missing-docstring)
W:5927, 8: Redefining name 'info' from outer scope (line 770) (redefined-outer-name)
R:5920, 4: Method could be a function (no-self-use)
C:6046, 8: Invalid variable name "e" (invalid-name)
C:6054, 4: Missing method docstring (missing-docstring)
C:6055, 8: Invalid variable name "n" (invalid-name)
C:6056, 8: Invalid variable name "f" (invalid-name)
C:6058,12: Invalid variable name "n" (invalid-name)
C:6059,12: Invalid variable name "f" (invalid-name)
R:6054, 4: Method could be a function (no-self-use)
C:6063, 4: Missing method docstring (missing-docstring)
W:6105,19: Catching too general exception Exception (broad-except)
C:6105,12: Invalid variable name "e" (invalid-name)
W:6081, 8: Unused variable 'loc_old' (unused-variable)
C:6187, 4: Missing method docstring (missing-docstring)
R:6187, 4: Method could be a function (no-self-use)
C:6251, 4: Missing method docstring (missing-docstring)
R:6251, 4: Method could be a function (no-self-use)
W:6347,24: Access to a protected member _cmdline_ of a client class (protected-access)
C:6389, 4: Missing method docstring (missing-docstring)
C:6393, 4: Missing method docstring (missing-docstring)
W:6393,21: Unused argument 'args' (unused-argument)
W:6393,27: Unused argument 'from_tty' (unused-argument)
W:6404, 8: Using the global statement (global-statement)
C:6410, 8: Invalid argument name "x" (invalid-name)
C:6410, 8: Missing function docstring (missing-docstring)
W:6428,19: Catching too general exception Exception (broad-except)
W:6432,62: Access to a protected member _cmdline_ of a client class (protected-access)
W:6399,19: Unused argument 'mod' (unused-argument)
W:6456, 0: Unused argument 'args' (unused-argument)
W:6456, 0: Unused argument 'kwargs' (unused-argument)
C:6464, 4: Missing method docstring (missing-docstring)
W:6464,21: Unused argument 'args' (unused-argument)
W:6464,27: Unused argument 'from_tty' (unused-argument)
C:6470, 4: Missing method docstring (missing-docstring)
C:6471, 8: Invalid variable name "d" (invalid-name)
W:6482,59: Access to a protected member _aliases_ of a client class (protected-access)
W:6473,30: Unused variable 'obj' (unused-variable)
R:6470, 4: Method could be a function (no-self-use)
W:6502, 0: Unused argument 'args' (unused-argument)
W:6502, 0: Unused argument 'kwargs' (unused-argument)
C:6509, 4: Missing method docstring (missing-docstring)
W:6509,27: Unused argument 'from_tty' (unused-argument)
C:6532, 4: Missing method docstring (missing-docstring)
R:6532, 4: Method could be a function (no-self-use)
C:6542, 4: Missing method docstring (missing-docstring)
C:6543,12: Invalid variable name "x" (invalid-name)
C:6543,24: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
C:6547, 4: Missing method docstring (missing-docstring)
C:6559,11: Comparison to None should be 'expr is None' (singleton-comparison)
W:6569, 8: No exception type(s) specified (bare-except)
W:6552,21: Unused variable 'setting_name' (unused-variable)
W:6547,26: Unused argument 'argc' (unused-argument)
C:6576, 4: Missing method docstring (missing-docstring)
W:6576,29: Unused argument 'word' (unused-argument)
R:6576, 4: Method could be a function (no-self-use)
W:6606, 0: Unused argument 'args' (unused-argument)
W:6606, 0: Unused argument 'kwargs' (unused-argument)
C:6613, 4: Missing method docstring (missing-docstring)
W:6621,19: Redefining built-in 'type' (redefined-builtin)
C:6619,26: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
W:6632,31: Access to a protected member _alias of a client class (protected-access)
W:6632,45: Access to a protected member _command of a client class (protected-access)
C:6634,34: Invalid variable name "fd" (invalid-name)
W:6621,19: Unused variable 'type' (unused-variable)
W:6613,21: Unused argument 'args' (unused-argument)
W:6613,27: Unused argument 'from_tty' (unused-argument)
R:6599, 0: Too few public methods (1/2) (too-few-public-methods)
W:6648, 0: Unused argument 'args' (unused-argument)
W:6648, 0: Unused argument 'kwargs' (unused-argument)
C:6655, 4: Missing method docstring (missing-docstring)
W:6681,16: No exception type(s) specified (bare-except)
W:6655,21: Unused argument 'args' (unused-argument)
W:6674,20: Unused variable 'old_value' (unused-variable)
W:6655,27: Unused argument 'from_tty' (unused-argument)
R:6641, 0: Too few public methods (1/2) (too-few-public-methods)
W:6696, 0: Unused argument 'args' (unused-argument)
W:6696, 0: Unused argument 'kwargs' (unused-argument)
C:6703, 4: Missing method docstring (missing-docstring)
W:6704, 8: Using global for '__missing__' but no assignment is done (global-variable-not-assigned)
W:6703,21: Unused argument 'args' (unused-argument)
W:6703,27: Unused argument 'from_tty' (unused-argument)
R:6688, 0: Too few public methods (1/2) (too-few-public-methods)
W:6724, 0: Unused argument 'args' (unused-argument)
W:6724, 0: Unused argument 'kwargs' (unused-argument)
C:6731, 4: Missing method docstring (missing-docstring)
C:6735,12: Invalid variable name "p" (invalid-name)
C:6737,16: Invalid variable name "c" (invalid-name)
W:6731,27: Unused argument 'from_tty' (unused-argument)
R:6718, 0: Too few public methods (1/2) (too-few-public-methods)
W:6752, 0: Unused argument 'args' (unused-argument)
W:6752, 0: Unused argument 'kwargs' (unused-argument)
C:6759, 4: Missing method docstring (missing-docstring)
W:6759,27: Unused argument 'from_tty' (unused-argument)
R:6746, 0: Too few public methods (1/2) (too-few-public-methods)
W:6775, 8: Using global for '__aliases__' but no assignment is done (global-variable-not-assigned)
C:6777, 8: Invalid variable name "p" (invalid-name)
W:6781,33: Access to a protected member _alias of a client class (protected-access)
C:6786, 8: Invalid variable name "c" (invalid-name)
C:6787, 8: Invalid variable name "r" (invalid-name)
C:6800, 4: Missing method docstring (missing-docstring)
C:6805, 4: Missing method docstring (missing-docstring)
W:6806, 8: Using global for '__loaded__' but no assignment is done (global-variable-not-assigned)
R:6805, 4: Method could be a function (no-self-use)
C:6821, 4: Missing method docstring (missing-docstring)
W:6822, 8: Using global for '__aliases__' but no assignment is done (global-variable-not-assigned)
W:6827,40: Access to a protected member _alias of a client class (protected-access)
W:6827,68: Access to a protected member _command of a client class (protected-access)
W:6821,21: Unused argument 'args' (unused-argument)
W:6821,27: Unused argument 'from_tty' (unused-argument)
R:6815, 0: Too few public methods (1/2) (too-few-public-methods)
C:6838, 4: Missing method docstring (missing-docstring)
W:6838,27: Unused argument 'from_tty' (unused-argument)
W:6838,21: Unused argument 'args' (unused-argument)
R:6855, 4: Method could be a function (no-self-use)
C:6881,42: Invalid variable name "f" (invalid-name)
C:6891,36: Invalid variable name "f" (invalid-name)
R:6872, 4: Method could be a function (no-self-use)
W:6902,19: Unused argument 'current_prompt' (unused-argument)
C: 83, 0: standard import "import time" comes before "import termios" (wrong-import-order)
C: 84, 0: standard import "import traceback" comes before "import termios" (wrong-import-order)
C:111, 4: Imports from package urllib are not grouped (ungrouped-imports)
Report
======
4658 statements analysed.
Statistics by type
------------------
+---------+-------+-----------+-----------+------------+---------+
|type |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module |1 |1 |= |0.00 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|class |89 |89 |= |80.90 |4.49 |
+---------+-------+-----------+-----------+------------+---------+
|method |330 |329 |+1.00 |54.24 |1.21 |
+---------+-------+-----------+-----------+------------+---------+
|function |116 |116 |= |27.59 |2.59 |
+---------+-------+-----------+-----------+------------+---------+
Raw metrics
-----------
+----------+-------+------+---------+-----------+
|type |number |% |previous |difference |
+==========+=======+======+=========+===========+
|code |4967 |71.34 |4931 |+36.00 |
+----------+-------+------+---------+-----------+
|docstring |366 |5.26 |370 |-4.00 |
+----------+-------+------+---------+-----------+
|comment |189 |2.71 |189 |= |
+----------+-------+------+---------+-----------+
|empty |1440 |20.68 |1440 |= |
+----------+-------+------+---------+-----------+
Duplication
-----------
+-------------------------+------+---------+-----------+
| |now |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines |0 |0 |= |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |0.000 |= |
+-------------------------+------+---------+-----------+
Messages by category
--------------------
+-----------+-------+---------+-----------+
|type |number |previous |difference |
+===========+=======+=========+===========+
|convention |1304 |1246 |+58.00 |
+-----------+-------+---------+-----------+
|refactor |92 |91 |+1.00 |
+-----------+-------+---------+-----------+
|warning |184 |133 |+51.00 |
+-----------+-------+---------+-----------+
|error |11 |15 |-4.00 |
+-----------+-------+---------+-----------+
Messages
--------
+-------------------------------+------------+
|message id |occurrences |
+===============================+============+
|bad-whitespace |423 |
+-------------------------------+------------+
|invalid-name |297 |
+-------------------------------+------------+
|missing-docstring |253 |
+-------------------------------+------------+
|multiple-statements |156 |
+-------------------------------+------------+
|line-too-long |121 |
+-------------------------------+------------+
|unused-argument |57 |
+-------------------------------+------------+
|unused-variable |52 |
+-------------------------------+------------+
|no-self-use |38 |
+-------------------------------+------------+
|bad-continuation |31 |
+-------------------------------+------------+
|too-few-public-methods |14 |
+-------------------------------+------------+
|protected-access |13 |
+-------------------------------+------------+
|bare-except |12 |
+-------------------------------+------------+
|attribute-defined-outside-init |12 |
+-------------------------------+------------+
|broad-except |11 |
+-------------------------------+------------+
|too-many-return-statements |10 |
+-------------------------------+------------+
|too-many-branches |10 |
+-------------------------------+------------+
|singleton-comparison |9 |
+-------------------------------+------------+
|redefined-outer-name |9 |
+-------------------------------+------------+
|too-many-locals |7 |
+-------------------------------+------------+
|too-many-statements |5 |
+-------------------------------+------------+
|superfluous-parens |5 |
+-------------------------------+------------+
|redefined-variable-type |5 |
+-------------------------------+------------+
|global-variable-not-assigned |5 |
+-------------------------------+------------+
|consider-iterating-dictionary |4 |
+-------------------------------+------------+
|redefined-builtin |3 |
+-------------------------------+------------+
|no-member |3 |
+-------------------------------+------------+
|import-error |3 |
+-------------------------------+------------+
|global-statement |3 |
+-------------------------------+------------+
|wrong-import-order |2 |
+-------------------------------+------------+
|unsubscriptable-object |2 |
+-------------------------------+------------+
|unidiomatic-typecheck |1 |
+-------------------------------+------------+
|ungrouped-imports |1 |
+-------------------------------+------------+
|undefined-variable |1 |
+-------------------------------+------------+
|undefined-loop-variable |1 |
+-------------------------------+------------+
|too-many-lines |1 |
+-------------------------------+------------+
|too-many-instance-attributes |1 |
+-------------------------------+------------+
|too-many-boolean-expressions |1 |
+-------------------------------+------------+
|too-many-arguments |1 |
+-------------------------------+------------+
|super-init-not-called |1 |
+-------------------------------+------------+
|not-an-iterable |1 |
+-------------------------------+------------+
|no-name-in-module |1 |
+-------------------------------+------------+
|fixme |1 |
+-------------------------------+------------+
|expression-not-assigned |1 |
+-------------------------------+------------+
|duplicate-key |1 |
+-------------------------------+------------+
|arguments-differ |1 |
+-------------------------------+------------+
|anomalous-backslash-in-string |1 |
+-------------------------------+------------+
Global evaluation
-----------------
Your code has been rated at 6.49/10 (previous run: 6.65/10, -0.16)
Let's figure out which of these we don't care about.
- Unused arg: I think we want these, e.g.
use_tty
ingdb.Command.invoke