pwndbg/enhance.py: remove unused code (#2272)

pull/2273/head
Disconnect3d 1 year ago committed by GitHub
parent 5809aa67dc
commit 0f41194427
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -24,12 +24,6 @@ import pwndbg.lib.cache
from pwndbg import color
from pwndbg.color.syntax_highlight import syntax_highlight
bad_instrs = [".byte", ".long", "rex.R", "rex.XB", ".inst", "(bad)"]
def good_instr(i) -> bool:
return not any(bad in i for bad in bad_instrs)
def format_small_int(value: int) -> str:
if value < 10:

Loading…
Cancel
Save