Class RustDWARFFunctionFixup
java.lang.Object
ghidra.app.util.bin.format.dwarf.funcfixup.RustDWARFFunctionFixup
- All Implemented Interfaces:
DWARFFunctionFixup
,ExtensionPoint
Adjust functions in a Rust compile unit to use Rust calling convention, ignore any information
about parameter storage locations.
-
Field Summary
Fields inherited from interface ghidra.app.util.bin.format.dwarf.funcfixup.DWARFFunctionFixup
PRIORITY_LAST, PRIORITY_NORMAL, PRIORITY_NORMAL_EARLY, PRIORITY_NORMAL_LATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fixupDWARFFunction
(DWARFFunction dfunc) Called before aDWARFFunction
is used to create a Ghidra Function.
-
Constructor Details
-
RustDWARFFunctionFixup
public RustDWARFFunctionFixup()
-
-
Method Details
-
fixupDWARFFunction
Description copied from interface:DWARFFunctionFixup
Called before aDWARFFunction
is used to create a Ghidra Function.If processing of the function should terminate (and the function be skipped), throw a
DWARFException
.- Specified by:
fixupDWARFFunction
in interfaceDWARFFunctionFixup
- Parameters:
dfunc
-DWARFFunction
info read from DWARF about the function- Throws:
DWARFException
-