files
kolibrios/programs/system/kobra/symbols2dbg.py
Andrew 62904a4124
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 21s
Build system / Build (pull_request) Successful in 4m15s
system/kobra: Post-SVN clean up
- Move source code from `trunk` into program root directory.
2025-05-20 00:21:50 +01:00

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