cleanup
authorEli Bendersky <eliben@gmail.com>
Sat, 17 Dec 2011 12:34:30 +0000 (14:34 +0200)
committerEli Bendersky <eliben@gmail.com>
Sat, 17 Dec 2011 12:34:30 +0000 (14:34 +0200)
zd.py [deleted file]

diff --git a/zd.py b/zd.py
deleted file mode 100644 (file)
index e5a4503..0000000
--- a/zd.py
+++ /dev/null
@@ -1,21 +0,0 @@
-# Just a script for playing around with pyelftools during testing\r
-# please ignore it!\r
-#\r
-\r
-from elftools.dwarf.structs import DWARFStructs\r
-from elftools.dwarf.dwarfinfo import DWARFInfo\r
-\r
-\r
-ds = DWARFStructs(little_endian=True, dwarf_format=32)\r
-\r
-print ds.Dwarf_offset('x').parse('\x04\x01\x00\x00')\r
-print ds.Dwarf_initial_length('joe').parse('\xff\xff\xff\xff\x32\x00\x00\x00\x00\x00\x00\x00')\r
-\r
-\r
-print ds.Dwarf_sleb128('kwa').parse('\x81\x7f')\r
-\r
-s = ds.Dwarf_dw_form['DW_FORM_block']\r
-#~ s = ds.Dwarf_dw_form['DW_FORM_addr']\r
-\r
-print s.parse('\x04\x12\x13\x13\x16')\r
-#~ print s.parse('\x04\x00\x12\x13')\r