mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-25 08:06:49 +03:00
3612344bac
git-svn-id: svn://kolibrios.org@1238 a494cfbc-eb01-0410-851d-a64ba20cac60
23 lines
344 B
Python
Executable File
23 lines
344 B
Python
Executable File
#! /usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Launch this in following way:
|
|
# readelf --syms <file> | sysmbold2bdg.py ><file.dbg>
|
|
|
|
#8: 00000004 4 OBJECT GLOBAL DEFAULT COM main_group_list
|
|
|
|
# Skip 3 lines
|
|
input()
|
|
input()
|
|
input()
|
|
|
|
while True:
|
|
try:
|
|
s = input().split()
|
|
except:
|
|
break
|
|
try:
|
|
print('0x'+s[1], s[7])
|
|
except:
|
|
pass
|