mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-23 04:32:12 +00:00
Merge remote-tracking branch 'origin/GP-764_ryanmkurtz_objc-stackoverflow'
This commit is contained in:
commit
c524ecfbe8
@ -500,7 +500,13 @@ public class ObjectiveC2_DecompilerMessageAnalyzer extends AbstractAnalyzer {
|
||||
}
|
||||
else if (dataValue instanceof Address) {
|
||||
offset = ((Address) dataValue).getOffset();
|
||||
name = getNameFromOffset(program, offset, input, isClass, isMethod);
|
||||
if (offset == address.getOffset()) {
|
||||
// Self-referencing pointer
|
||||
name = null;
|
||||
}
|
||||
else {
|
||||
name = getNameFromOffset(program, offset, input, isClass, isMethod);
|
||||
}
|
||||
}
|
||||
else {
|
||||
name = getClassName(program, address);
|
||||
|
Loading…
Reference in New Issue
Block a user