Avoid the extra function call by `can_be_resolved`

pull/1242/head
lebr0nli 3 years ago
parent 84635ba6e0
commit b5f447eb63

@ -703,8 +703,7 @@ class Heap(pwndbg.heap.heap.BaseHeap):
class DebugSymsHeap(Heap):
def can_be_resolved(self):
return self.libc_has_debug_syms()
can_be_resolved = Heap.libc_has_debug_syms
@property
def main_arena(self):

Loading…
Cancel
Save