Showing 1,243 of 1,244 total issues
Line is too long. [464/80] Open
Open
['SKIPJACK_fTable', ["\xa3\xd7\x09\x83\xf8\x48\xf6\xf4\xb3\x21\x15\x78\x99\xb1\xaf\xf9\xe7\x2d\x4d\x8a\xce\x4c\xca\x2e\x52\x95\xd9\x1e\x4e\x38\x44\x28\x0a\xdf\x02\xa0\x17\xf1\x60\x68\x12\xb7\x7a\xc3\xe9\xfa\x3d\x53\x96\x84\x6b\xba\xf2\x63\x9a\x19\x7c\xae\xe5\xf5\xf7\x16\x6a\xa2\x39\xb6\x7b\x0f\xc1\x93\x81\x1b\xee\xb4\x1a\xea\xd0\x91\x2f\xb8\x55\xb9\xda\x85\x3f\x41\xbf\xe0\x5a\x58\x80\x5f\x66\x0b\xd8\x90\x35\xd5\xc0\xa7\x33\x06\x65\x69\x45"]],
- Exclude checks
Line is too long. [294/80] Open
Open
['sha512_h0', ["\x67\xe6\x09\x6a\x08\xc9\xbc\xf3\x85\xae\x67\xbb\x3b\xa7\xca\x84\x72\xf3\x6e\x3c\x2b\xf8\x94\xfe\x3a\xf5\x4f\xa5\xf1\x36\x1d\x5f\x7f\x52\x0e\x51\xd1\x82\xe6\xad\x8c\x68\x05\x9b\x1f\x6c\x3e\x2b\xab\xd9\x83\x1f\x6b\xbd\x41\xfb\x19\xcd\xe0\x5b\x79\x21\x7e\x13"]],
- Exclude checks
Line is too long. [143/80] Open
Open
['MT19937 coefficient (Mersenne Twister)', ["\x65\x89\x07\x6C", "\x80\x56\x2C\x9D", "\x00\x00\x6C\xEF", "\xDF\xB0\x08\x99"]],
- Exclude checks
Line is too long. [81/80] Open
Open
return $gdasm.normalize(di.block.list[i - 1].instruction.args.last)
- Exclude checks
Line is too long. [550/80] Open
Open
['GOST_Sbox', ["\x04\x0a\x09\x02\x0d\x08\x00\x0e\x06\x0b\x01\x0c\x07\x0f\x05\x03\x0e\x0b\x04\x0c\x06\x0d\x0f\x0a\x02\x03\x08\x01\x00\x07\x05\x09\x05\x08\x01\x0d\x0a\x03\x04\x02\x0e\x0f\x0c\x07\x06\x00\x09\x0b\x07\x0d\x0a\x01\x00\x08\x09\x0f\x0e\x04\x06\x0c\x0b\x02\x05\x03\x06\x0c\x07\x01\x05\x0f\x0d\x08\x04\x0a\x09\x0e\x00\x03\x0b\x02\x04\x0b\x0a\x00\x07\x02\x01\x0d\x03\x06\x08\x05\x09\x0c\x0f\x0e\x0d\x0b\x04\x01\x03\x0f\x05\x09\x00\x0a\x0e\x07\x06\x08\x02\x0c\x01\x0f\x0d\x00\x05\x07\x0a\x04\x09\x02\x03\x0e\x06\x0b\x08\x0c"]],
- Exclude checks
Line is too long. [108/80] Open
Open
if (di.block.list[i].opcode.name == 'call') && (di.block.list[i].instruction.args.first == creg)
- Exclude checks
Line is too long. [512/80] Open
Open
['MD6', ["\x73\x11\xc2\x81\x24\x25\xcf\xa0\x64\x32\x28\x64\x34\xaa\xc8\xe7\xb6\x04\x50\xe9\xef\x68\xb7\xc1\xe8\xfb\x23\x90\x8d\x9f\x06\xf1\xdd\x2e\x76\xcb\xa6\x91\xe5\xbf\x0c\xd0\xd6\x3b\x2c\x30\xbc\x41\x1f\x8c\xcf\x68\x23\x05\x8f\x8a\x54\xe5\xed\x5b\x88\xe3\x77\x5d\x4a\xd1\x2a\xae\x0a\x6d\x60\x31\x3e\x7f\x16\xbb\x88\x22\x2e\x0d\x8a\xf8\x67\x1d\x3f\xb5\x0c\x2c\x99\x5a\xd1\x17\x8b\xd2\x5c\x31\xc8\x78\xc1\xdd\x04\xc4\xb6\x33\x3b\x72\x06\x6c\x7a\x15\x52\xac\x0d\x6f\x35\x22\x63\x1e\xff\xcb"]],
- Exclude checks
Line is too long. [103/80] Open
Open
printCallTree(dasm.normalize(ep), orifunc) if isFuncTreeLink(dasm.normalize(ep), orifunc)
- Exclude checks
Line is too long. [105/80] Open
Open
regexStr = /(\.exe$|\.dll$|\.bat$|\.pif$|\.vbs$|\.cmd$|\.inf$|\.lnk|\.ocx$|\.tmp$|Software|Program|http)/
- Exclude checks
Line is too long. [153/80] Open
Open
log("Top of function : #{PoliUtils.poliLinkAddr(basefunc)} ; Top of block : #{PoliUtils.poliLinkAddr($gdasm.di_at(xrefCall).block.list[0].address)}")
- Exclude checks
Line is too long. [82/80] Open
Open
if (di.opcode.name == 'push') && MetasmUtils.is_modrm(di.instruction.args.first)
- Exclude checks
Line is too long. [465/80] Open
Open
strArg = format('{%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}', $gdasm.decode_dword(carg), ($gdasm.decode_dword(carg + 4) & 0xffff), ($gdasm.decode_dword(carg + 6) & 0xffff), $gdasm.decode_byte(carg + 8), $gdasm.decode_byte(carg + 9), $gdasm.decode_byte(carg + 10), $gdasm.decode_byte(carg + 11), $gdasm.decode_byte(carg + 12), $gdasm.decode_byte(carg + 13), $gdasm.decode_byte(carg + 14), $gdasm.decode_byte(carg + 15), $gdasm.decode_byte(carg + 16))
- Exclude checks
Line is too long. [294/80] Open
Open
['sha384_h0', ["\x5d\x9d\xbb\xcb\xd8\x9e\x05\xc1\x2a\x29\x9a\x62\x07\xd5\x7c\x36\x5a\x01\x59\x91\x17\xdd\x70\x30\xd8\xec\x2f\x15\x39\x59\x0e\xf7\x67\x26\x33\x67\x31\x0b\xc0\xff\x87\x4a\xb4\x8e\x11\x15\x58\x68\x0d\x2e\x0c\xdb\xa7\x8f\xf9\x64\x1d\x48\xb5\x47\xa4\x4f\xfa\xbe"]],
- Exclude checks
Line is too long. [123/80] Open
Open
if !argStr.nil? && (argStr.length > 4) && (argStr =~ regexStr || ((argStr.length > 5) && (argStr !~ /[\x80-\xff]/n)))
- Exclude checks
Line is too long. [123/80] Open
Open
if !argStr.nil? && (argStr.length > 4) && (argStr =~ regexStr || ((argStr.length > 5) && (argStr !~ /[\x80-\xff]/n)))
- Exclude checks
Line is too long. [102/80] Open
Open
@fullHashSign += format('%08x', MurmurHash.murmur3_32_str_hash(currFunc)) + ":#{addr.to_s(16)};"
- Exclude checks
Use snake_case for method names. Open
Open
def self.poliLinkAddr(address)
- Read upRead up
- Exclude checks
This cop makes sure that all methods use the configured style, snake_case or camelCase, for their names.
Example: EnforcedStyle: snake_case (default)
# bad
def fooBar; end
# good
def foo_bar; end
Example: EnforcedStyle: camelCase
# bad
def foo_bar; end
# good
def fooBar; end
Line is too long. [121/80] Open
Open
if !argStr.nil? && (argStr.length > 4) && (argStr =~ regexStr || ((argStr.length > 5) && (argStr !~ /[\x80-\xff]/n)))
- Exclude checks
Line is too long. [106/80] Open
Open
@tbFuncName[funcaddr] = tagname + @tbFuncName[funcaddr] unless @tbFuncName[funcaddr].include?(tagname)
- Exclude checks
Line is too long. [81/80] Open
Open
strings << [di.address, argStr.gsub(/[\x0d]/n, '\\r').gsub(/[\x0a]/n, '\\n')]
- Exclude checks