mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Disabled test debug output
This commit is contained in:
@@ -301,6 +301,10 @@ public class DecompilerDataTypeReferenceFinder implements DataTypeReferenceFinde
|
|||||||
else {
|
else {
|
||||||
debugWriter = new NullPrintWriter();
|
debugWriter = new NullPrintWriter();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO Disabling the debug output for now, as we have not seen the sporadic test
|
||||||
|
// failure. This code can be deleted if the test failures do not reappear.
|
||||||
|
debugWriter = new NullPrintWriter();
|
||||||
}
|
}
|
||||||
|
|
||||||
List<DataTypeReference> findUsage() {
|
List<DataTypeReference> findUsage() {
|
||||||
@@ -445,9 +449,8 @@ public class DecompilerDataTypeReferenceFinder implements DataTypeReferenceFinde
|
|||||||
else {
|
else {
|
||||||
if (access == null || access.getVariable() != null) {
|
if (access == null || access.getVariable() != null) {
|
||||||
|
|
||||||
debugWriter
|
debugWriter.println(
|
||||||
.println("f: " + function + "\n\t\tcreating variable access: " +
|
"f: " + function + "\n\t\tcreating variable access: " + line);
|
||||||
line);
|
|
||||||
|
|
||||||
access = new VariableAccessDR(line);
|
access = new VariableAccessDR(line);
|
||||||
results.add(access);
|
results.add(access);
|
||||||
@@ -480,9 +483,8 @@ public class DecompilerDataTypeReferenceFinder implements DataTypeReferenceFinde
|
|||||||
ClangFieldToken field = (ClangFieldToken) token;
|
ClangFieldToken field = (ClangFieldToken) token;
|
||||||
if (typesDoNotMatch(access, field)) {
|
if (typesDoNotMatch(access, field)) {
|
||||||
|
|
||||||
debugWriter.println(
|
debugWriter.println("f: " + function +
|
||||||
"f: " + function + "\n\t\tcreating an anonymous variable access: " +
|
"\n\t\tcreating an anonymous variable access: " + line);
|
||||||
line);
|
|
||||||
|
|
||||||
// this can happen when a field is used anonymously, such as directly
|
// this can happen when a field is used anonymously, such as directly
|
||||||
// after a nested array index operation
|
// after a nested array index operation
|
||||||
|
|||||||
Reference in New Issue
Block a user