Class RustDWARFFunctionFixup
java.lang.Object
ghidra.app.util.bin.format.dwarf4.funcfixup.RustDWARFFunctionFixup
- All Implemented Interfaces:
DWARFFunctionFixup,ExtensionPoint
Prevent functions in a Rust compile unit from incorrectly being locked down to an empty signature.
-
Field Summary
Fields inherited from interface ghidra.app.util.bin.format.dwarf4.funcfixup.DWARFFunctionFixup
PRIORITY_LAST, PRIORITY_NORMAL, PRIORITY_NORMAL_EARLY, PRIORITY_NORMAL_LATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfixupDWARFFunction(DWARFFunction dfunc, Function gfunc) Called before aDWARFFunctionis used to create a Ghidra Function.
-
Constructor Details
-
RustDWARFFunctionFixup
public RustDWARFFunctionFixup()
-
-
Method Details
-
fixupDWARFFunction
Description copied from interface:DWARFFunctionFixupCalled before aDWARFFunctionis used to create a Ghidra Function.If processing of the function should terminate (and the function be skipped), throw a
DWARFException.- Specified by:
fixupDWARFFunctionin interfaceDWARFFunctionFixup- Parameters:
dfunc-DWARFFunctioninfo read from DWARF about the functiongfunc- the GhidraFunctionthat will receive the DWARF information- Throws:
DWARFException
-