mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 08:18:58 +08:00
Merge remote-tracking branch 'origin/GP-5000_emteere_vxworksExtern' into patch
This commit is contained in:
@@ -474,7 +474,7 @@ public class VxWorksSymTab_Finder extends GhidraScript {
|
|||||||
case 9: // Global BSS
|
case 9: // Global BSS
|
||||||
case 4: // Local .text
|
case 4: // Local .text
|
||||||
case 5: // Global .text
|
case 5: // Global .text
|
||||||
case 0x11: // External ref -- ignore
|
case 0x11: // External ref
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
@@ -821,12 +821,15 @@ public class VxWorksSymTab_Finder extends GhidraScript {
|
|||||||
case 7: // Global Data
|
case 7: // Global Data
|
||||||
case 8: // Local BSS
|
case 8: // Local BSS
|
||||||
case 9: // Global BSS
|
case 9: // Global BSS
|
||||||
|
case 0x11: // External ref
|
||||||
|
|
||||||
createLabel(symLoc, symName, true);
|
createLabel(symLoc, symName, true);
|
||||||
applyDemangled(symLoc, symName, symDemangledName);
|
applyDemangled(symLoc, symName, symDemangledName);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 4: // Local .text
|
case 4: // Local .text
|
||||||
case 5: // Global .text
|
case 5: // Global .text
|
||||||
|
|
||||||
doLocalDisassemble(symLoc);
|
doLocalDisassemble(symLoc);
|
||||||
createFunction(symLoc, symName);
|
createFunction(symLoc, symName);
|
||||||
if (getFunctionAt(symLoc) != null) {
|
if (getFunctionAt(symLoc) != null) {
|
||||||
@@ -840,11 +843,8 @@ public class VxWorksSymTab_Finder extends GhidraScript {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x11: // External ref -- ignore
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
println("Invalid symType!");
|
println("Invalid symType " + symType + " !");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user