Last active
August 17, 2020 22:46
-
-
Save yannayl/7efddcd61a9f63406e73f3be69d1d728 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sark | |
for segname in ['.bss', '.data']: | |
for line in sark.Segment(name=segname).lines: | |
if not line.name: | |
continue | |
if line.name.startswith('g_'): | |
continue | |
line.name = 'g_' + line.name | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment