Remove unimplemented dlmalloc (#874)

pull/876/head
Bet4 5 years ago committed by GitHub
parent c31c720ded
commit 5639589f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,18 +8,8 @@ current = None
heap_chain_limit = pwndbg.config.Parameter('heap-dereference-limit', 8, 'number of bins to dereference')
@pwndbg.events.new_objfile
@pwndbg.events.start
def update():
import pwndbg.heap.dlmalloc
import pwndbg.heap.ptmalloc
global current
if pwndbg.symbol.address('ptmalloc_init'):
current = pwndbg.heap.ptmalloc.Heap()
else:
# Default to ptmalloc heap for now until
# there are more implementations
current = pwndbg.heap.ptmalloc.Heap()
current = pwndbg.heap.ptmalloc.Heap()

@ -1,11 +0,0 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import gdb
import pwndbg.events
import pwndbg.typeinfo
class Heap(pwndbg.heap.heap.BaseHeap):
pass
Loading…
Cancel
Save