location lists kinda working. need more docs & readelf support
diff --git a/z.py b/z.py
index e5f26b7..f04c4cd 100644
--- a/z.py
+++ b/z.py
@@ -16,3 +16,13 @@
 print 'elfclass', efile.elfclass
 print '===> %s sections!' % efile.num_sections() 
 print efile.header
+
+dinfo = efile.get_dwarf_info()
+from elftools.dwarf.locationlists import LocationLists
+from elftools.dwarf.descriptions import describe_DWARF_expr
+llists = LocationLists(dinfo.debug_loc_sec.stream, dinfo.structs)
+for li in  llists.get_location_list_at_offset(0):
+    print li
+    print describe_DWARF_expr(li.loc_expr, dinfo.structs)
+
+