Improvements made to GhidraScript and FlatProgramAPI createLabel methods

set allow namespace specification and handle label promotion to function
name when makePrimary is true at existing function entry point.
This commit is contained in:
ghidra1 2020-05-15 11:54:27 -04:00
parent 7385544bed
commit 82ebcb26f6
3 changed files with 60 additions and 21 deletions

View file

@ -91,7 +91,7 @@ public interface SymbolTable {
* @param namespace the namespace of the symbol.
* @param source the source of this symbol
* <br>Some symbol types, such as function symbols, can set the source to Symbol.DEFAULT.
*
* @return new code or function symbol
* @throws IllegalArgumentException if you try to set the source to DEFAULT for a symbol type
* that doesn't allow it, or an improper addr if specified
*/