question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Import labels from text file

See original GitHub issue

It may be possible this functionality is already present but after 30 minutes looking through menus and searching I can’t find it.

When reverse engineering small databases on custom OSes (e.g. for retrocomputing) it may be possible that a selection of labels is already known (e.g. of the OS API).

It would be nice to be able to import a file of references as a simple NAME=ADDRESS list.

Here’s an example that I’ve used on 6502dis:

OSCLI=$FFF7
OSBYTE=$FFF4
OSWORD=$FFF1
OSWRCH=$FFEE
OSNEWL=$FFE7
OSASCI=$FFE3
OSRDCH=$FFE0
OSFILE=$FFDD
OSARGS=$FFDA
OSBGET=$FFD7
OSBPUT=$FFD4
OSGBPB=$FFD1
OSFIND=$FFCE

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
mumbelcommented, Mar 11, 2019

Look at the ImportSymbolScript.py plugin

0reactions
ryanmkurtzcommented, Mar 18, 2019

Since Ghidra uses Jython, the entire public Java API is accessible from Python. The GhidraScript and FlatProgramAPI classes get automatically injected into the Python scripting environment, so you don’t have to import anything special to access the public methods in those classes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Importing and Exporting Labels - Audacity Manual
Labels can be imported using the Edit Labels window, or by choosing File > Import > Labels.... Imported label tracks are added to...
Read more >
How to Import Excel Data into a Label File in Text Labels
1. Create a label file in Text Labels. · 2. Click the Excel Import icon. · 3. Click Select Excel File. · 4....
Read more >
Import text data - Labelbox Docs
You can upload text in two ways: 1) A https url to cloud hosted text file. The txt file must be encoded as...
Read more >
Exporting and Importing Custom Label Files
9. Locate the Custom Label file you saved to your computer, highlight it and click Open. Note: This will launch the Text Import...
Read more >
How can I import my track lists in text file format into CD/DVD ...
How can I import my track lists in text file format into CD/DVD Label Maker? ... Simply rename the text file so that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found