mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-1276: avoiding the stack overflow
This commit is contained in:
parent
928bc5508a
commit
bace9936f6
1 changed files with 3 additions and 3 deletions
|
@ -162,7 +162,7 @@ public class ProgramByteViewerComponentProvider extends ByteViewerComponentProvi
|
|||
|
||||
@Override
|
||||
public String getTextSelection() {
|
||||
return getTextSelection();
|
||||
return getCurrentTextSelection();
|
||||
}
|
||||
|
||||
private void setSelection(ProgramSelection selection, boolean notify) {
|
||||
|
@ -433,8 +433,7 @@ public class ProgramByteViewerComponentProvider extends ByteViewerComponentProvi
|
|||
}
|
||||
|
||||
/**
|
||||
* Called when the memory in the current program changes, from the domain
|
||||
* object listener.
|
||||
* Called when the memory in the current program changes, from the domain object listener.
|
||||
*/
|
||||
void memoryConfigurationChanged() {
|
||||
ProgramLocation location = currentLocation;
|
||||
|
@ -519,6 +518,7 @@ public class ProgramByteViewerComponentProvider extends ByteViewerComponentProvi
|
|||
|
||||
/**
|
||||
* Gets the text of the current {@link ProgramSelection}
|
||||
*
|
||||
* @return the text
|
||||
*/
|
||||
String getCurrentTextSelection() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue