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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfixupDWARFFunction(DWARFFunction dfunc) 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 function- Throws:
DWARFException
-