mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-12-05 02:24:12 +00:00
dce57a7bf7
Fixed typo in AddressLabelInfo. Improved implementation and error handling of AddressLabelInfo. GP-2606 Refactored the package of 'AddressLabelInfo' to beghidra.program.model.lang. Removed the source and namespace variablesfrom AddressLabelInfo since they would always be global and IMPORTED.Removed a number of constructors to simplify AddressLabelInfo. Improvederror handing in SleighLanguage class. GP-2606 Added javadocs to and throw exceptions from AddressLabelInfo constructors and removed extra constructors that were no longer needed. Added exception handling to AbsractProgramLoader and SleighLanguage for thrown exceptions. Made some variables in SleighLanguage private and removed an unnecessary null check. GP-2606 Prepared test to help investigate volatility interplay settings. GP-2606 Updated per review comments. SleighLanguage will parse pspec files andthen apply symbol element settings for volatility afterward. Simplifiedtests for SleighLanguage and the Decompiler. GP-2606 Made updates based on review feedback. Address label info holds the endaddress of the label. Sleigh language will resolve symbol mutabilityafter parsing the pspec file such that the order of elements in the filewill not be a factor. Rearranged tests in preparation for improvement.Added a constructor to the ProgramBuilder class so that custom definedpspec files may be used in the tests. GP-2606 Updated SpecXmlUtils decodeBoolean method to call decodeNullableBooleanfirst, however if the result is null, to return false instead of null. GP-2606 Changed size of addressLabelInfo to sizeInBytes and added comment toisVolatile that specifies what null, false, or true mean in context.Incorporated improvements per review comments to SleighLanguage. GP-2606 Added tests for the sleigh language volatility changes and thedecompiler itself. GP-2606: Updated SleighLanguage to alter 'volatileAddresses' based on the symbolelements and their attributes in pspec files. Added size and volatilevariables to AddressLabelInfo class. Added Boolean parser method to theSpecXmlUtils.java file. GP-2606: Added optional volatile boolean and optional size integer attributes to the symbol element of processor specification (pspec) files. |
||
---|---|---|
.. | ||
Base | ||
BytePatterns | ||
ByteViewer | ||
DebugUtils | ||
Decompiler | ||
DecompilerDependent | ||
FileFormats | ||
FunctionGraph | ||
FunctionGraphDecompilerExtension | ||
FunctionID | ||
GhidraServer | ||
GnuDemangler | ||
GraphFunctionCalls | ||
GraphServices | ||
MicrosoftCodeAnalyzer | ||
MicrosoftDemangler | ||
MicrosoftDmang | ||
PDB | ||
ProgramDiff | ||
ProgramGraph | ||
Python | ||
Recognizers | ||
SourceCodeLookup | ||
VersionTracking |