mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-07-30 07:18:37 -09:00
GP-1276: avoiding the stack overflow
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user