mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
7ba3dc048d
5 changed files with 25 additions and 5 deletions
|
@ -2724,6 +2724,7 @@ public class FunctionDB extends DatabaseObject implements Function {
|
|||
|
||||
@Override
|
||||
public Set<Function> getCallingFunctions(TaskMonitor monitor) {
|
||||
monitor = TaskMonitor.dummyIfNull(monitor);
|
||||
Set<Function> set = new HashSet<>();
|
||||
ReferenceIterator iter = program.getReferenceManager().getReferencesTo(getEntryPoint());
|
||||
while (iter.hasNext()) {
|
||||
|
@ -2742,6 +2743,7 @@ public class FunctionDB extends DatabaseObject implements Function {
|
|||
|
||||
@Override
|
||||
public Set<Function> getCalledFunctions(TaskMonitor monitor) {
|
||||
monitor = TaskMonitor.dummyIfNull(monitor);
|
||||
Set<Function> set = new HashSet<>();
|
||||
Set<Reference> references = getReferencesFromBody(monitor);
|
||||
for (Reference reference : references) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue