Ghidra is a software reverse engineering (SRE) framework
Additional updates to WhatsNew for 9.2
ghidra1ff48af79cdb1
diff --git a/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.html b/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.htmlindex 3df5722bbe..111221e925 100644--- a/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.html+++ b/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.html@@ -26,7 +26,7 @@Capabilities include disassembly, assembly, decompilation, graphing, and scripting, along withhundreds of other features. Ghidra supports a wide variety of processor instruction sets andexecutable formats and can be run in both user-interactive and automated modes. Users may also- develop their own Ghidra plug-in component and scripts using the exposed API. In addition there are+ develop their own Ghidra plug-in components and/or scripts using the exposed API. In addition there arenumerous ways to extend Ghidra such as new processors, loaders/exporters, automated analyzers,and new visualizations.</P>@@ -38,7 +38,7 @@code and generating deep insights for NSA analysts who seek a better understanding of potentialvulnerabilities in networks and systems.</P>-+<BR /><H1> What's New in Ghidra 9.2</H1>@@ -68,21 +68,21 @@been regenerated, and new ones for VS 2017/2019 have been added.</P><P>Minor Note: SLA Files: Ghidra-compiled .sla files are not always backwards compatible due to changes in the underlying .sla- specification. In the pre-built ghidra, all .sla files are re-built from scratch. However if you have local processor modules,- or are building ghidra from scratch, you may need to do a clean build. Any processor modules with changes are normally recompiled+ specification. In the prebuilt Ghidra, all .sla files are rebuilt from scratch. However if you have local processor modules,+ or are building Ghidra from scratch, you may need to do a clean build. Any processor modules with changes are normally recompiledat Ghidra startup so this situation is rare.</P><P>Minor Note: AARCH64 Long: The size of a <b>long</b> on the AARCH64 has been changed from 4-bytes to 8-bytes in the data organization within thecompiler specification. This change could have ramifications in existing AARCH64 programs using a <b>long</b> within data structures orcustom storage of function parameters (dynamic storage should not be an issue). An included script <i><b>FixupCompositeDataTypesScript</b></i>can be run on programs, only with <i>exclusive checkout</i> in Multi-User, where the datatype sizes for <b>long</b> has changed. This general script can be used- whenever a program's base datatypes have changed in the compiler specification, which should be rare occurence.</P>+ whenever a program's base datatypes have changed in the compiler specification, which should be rare occurrence.</P><H2>Open Source Based Graphing</H2><P>Ghidra has been integrated with an open source graph visualization package, called JUNGGRAPHT, to display interactive- block graphs, call graphs, AST control flow graphs, as well as a general API to create graphs within plugins and scripts.- Prior to initial public release, graphing had been provided by a legacy graphing package which was un-releasable publicly due to+ block graphs, call graphs, AST control flow graphs, as well as a general API to create graphs within plug-ins and scripts.+ Prior to initial public release, graphing had been provided by a legacy graphing package which was unreleasable publicly due tolicensing issues.</P><P>Graphs are displayed in a new tabbed graph window. Current location and selection of vertices are kept in sync with other@@ -96,12 +96,12 @@the creator of the graph before display. As in everything, the Ghidra team is interested in any feedback you might provideon this new capability.</P>- <H2>JAVA based Univeral PDB Reader/Analzyer/Loader</H2>+ <H2>JAVA based Universal PDB Reader/Analzyer/Loader</H2><P>Added a new platform-independent PDB Reader/Analyzer/Loader that has the ability to processraw PDB files and apply extracted information to a program. Written in Java, PDBs can be utilized on any supportedplatform, not just on Windows as in prior Ghidra versions. PDBs can be applied during analysisor by loading and applying the PDB before analysis. Information from PDBs can be force-loaded into a program- with a mismatched PDB signature, which is very useful for extracting data types to be used with the+ with a mismatched PDB signature, which is very useful for extracting datatypes to be used with theprogram from a PDB related to that program. Loading the PDB utilizes a new underlying UniversalReader API.</P><P>The PDB Reader and Analyzer capabilities are an evolutionary development and are expected to be@@ -109,7 +109,7 @@and fixing bugs. If the new PDB Analyzer causes issues, you can turn it off and use the original PDB Analyzer.</P><H2>Dynamic Modules: OSGI model for scripting</H2>- <P>A change to scripting brings a powerful form of dynamic extensibilty to Ghidra scripting, where Java source code is (re)compiled, loaded, and+ <P>A change to scripting brings a powerful form of dynamic extensibility to Ghidra scripting, where Java source code is (re)compiled, loaded, andrun without exiting Ghidra. When a script grows large or requires external dependencies, it might be worth the effort to splitup code into modules. To support modularity while preserving the dynamic nature of scripts, Ghidra uses OSGi. The new featureprovides better script change detection, external jar dependencies, script lifecycle management, and modularity.</P>@@ -129,9 +129,9 @@</P></ul><P>The decompiler GUI as also been enhanced with the addition of multiple highlights of varying color, called secondary highlights. In addition,- the Decompiler's Auto Create/Fill Structure commands incorporate data-type information from function prototypes- and will override undefined or more general data-types with discovered data-types that are more specific.</P>- <P>There is re-writen more comprehensive Decompiler documentation too!</P>+ the Decompiler's Auto Create/Fill Structure commands incorporate datatype information from function prototypes+ and will override undefined or more general datatypes with discovered datatypes that are more specific.</P>+ <P>There is rewritten more comprehensive Decompiler documentation too!</P><H2>Performance Improvements</H2><P>There have been major performance improvements in both analysis and the display or filtering of information within GUI components.@@ -140,12 +140,12 @@or binaries that take a large amount of time to process. If you can find an example binary that is easily obtainable that reproducesthe issue, the root cause can be identified and hopefully improved. There are some continued sore performance areas we are still workingsuch as the non-returning function analyzer. We hope you will find the binary analysis speed and interactivity much improved.</P>- <P>Some specific areas of improvement are binaries with rich data type information, RTTI information, exception records, large number+ <P>Some specific areas of improvement are binaries with rich datatype information, RTTI information, exception records, large numberof bytes, large number of defined symbols, and many symbols at a single address.</P><H2>Function Identification Improvements</H2>- <P>Function Identification databases have been re-created from scratch, including new information for Visual Studio 2017 and 2019 libraries.+ <P>Function Identification databases have been recreated from scratch, including new information for Visual Studio 2017 and 2019 libraries.The databases have been cleaned and should overall result in more matches with fewer mis-matched or multiple matches for identified functions.In addition the FID libraries had to be rebuilt from scratch due to errors or differences in instruction set decode (especially in the 64-bit X86)with prior versions of Ghidra. The FID is sensitive to the actual instruction bytes, the mnemonic, register, and number of operands.</P>@@ -155,7 +155,7 @@For normal clean non-heavily optimized, non-malware or obfuscated binaries, these options should cause few issues.</P><H2>Symbol Demangling</H2>- <P>Both GNU and Microsoft symbol de-mangling has been greatly improved resulting in fewer unmangled symbols with better function signature recovery.</P>+ <P>Both GNU and Microsoft symbol demangling has been greatly improved resulting in fewer unmangled symbols with better function signature recovery.</P><H2>Processor Models</H2><P>Several new processor specifications have been added, from very old processors to more recent: CP1600, M6809, M8C, RISC-V, V850.</P>@@ -178,8 +178,8 @@you use with the Ghidra runtime, from the one you are using with the entire Ghidra source code base imported.To find out more read the <i>GhidraSleighEditor_README.html</i>.</P>- <P>The External Disassembler is a plugin useful when developing or trouble-shooting sleigh processor specifications. It is part of- the Xtra SleighDevTools project. The plugin integrates with an external disassembler such as binutils, and provides a code browser+ <P>The External Disassembler is a plug-in useful when developing or trouble-shooting sleigh processor specifications. It is part of+ the Xtra SleighDevTools project. The plug-in integrates with an external disassembler such as binutils, and provides a code browserfield that displays the disassembly from an external disassembler, such as bintutils, at each instruction or undefined byte in the listing.The only external disassembler integration provided is binutils, however it is possible to add support for additional external disassemblers.Previously the External Disassembler had trouble with instruction sets which have an alternate mode set of instruction@@ -187,7 +187,7 @@to choose the correct alternate encoding set. This also works well with several scripts that also aide in processor development such asthe <i>CompareSleighExternal</i> script.</P>- <P>A new pCode operation POPCOUNT is supported in sleigh processor specifications. POPCOUNT was mainly added to deal with instructions+ <P>A new p-code operation POPCOUNT is supported in sleigh processor specifications. POPCOUNT was mainly added to deal with instructionsthat needed to compute the parity of an operation.In addition, the Sleigh compiler error messages have been reworked to be more comprehensible, consistent in format layout, and to providecorrect line numbers as close to the error as possible. In addition, several cases have been caught during compilation that previously would@@ -199,35 +199,34 @@<H2>Bug Fixes and Enhancements</H2><P> Numerous other bug fixes and improvements are fully listed in the <a href="ChangeHistory.html">ChangeHistory</a> file.</P>-- <BR />+<BR /><H1> What's New in Ghidra 9.1</H1><H2> <a id="finePrint91"/>The not so fine print: Please Read!</H2><P>Minor Note: Ghidra compiled .sla files are not backwards compatible due to the newly added OTHER space for syscalls- support. In the pre-built ghidra all .sla files are re-built from scratch. However if you have local processor modules,- or are building ghidra from scratch, you may need to do a clean build. You will get an error if an old .sla file is loaded+ support. In the prebuilt Ghidra all .sla files are rebuilt from scratch. However if you have local processor modules,+ or are building Ghidra from scratch, you may need to do a clean build. You will get an error if an old .sla file is loadedwithout recompilation of the .slaspec file. Any processor modules with changes are normally recompiled at Ghidra startupso this situation is rare.</P><H2>Data Improvements</H2>- <P>Bitfields within structures are now supported as a Ghidra data type. Bitfield definitions+ <P>Bitfields within structures are now supported as a Ghidra datatype. Bitfield definitionscan come from PDB, DWARF, parsed header files, and can also be created within the structure- editor. All Data type archives delivered with Ghidra have been re-parsed to capture bitfield+ editor. All Datatype archives delivered with Ghidra have been reparsed to capture bitfieldinformation. In addition, compiler bitfield allocation schemes have been carefully implemented.Full support for bitfield references within the decompiler is planned for a futurerelease.</P><P>In support of creating bitfields within structures, a new bitfield editor within thestructure editor has been added. The Bitfield Editor includes a visual depiction of the- data type byte layout and the associated bits. The BitField Editor simplifies the creation+ datatype byte layout and the associated bits. The BitField Editor simplifies the creationof bitfields within a structure.</P><H2>System Calls</H2>- <P>Ghidra now supports overriding indirect calls, CALLOTHER pcode ops, and conditional jumps via new overriding references.+ <P>Ghidra now supports overriding indirect calls, CALLOTHER p-code ops, and conditional jumps via new overriding references.These references can be used to achieve correct decompilation of syscall-like instructions. A new script,ResolveX86orX64LinuxSyscallsScript, has been provided as part of this initial implementation.Future releases will automatically identify and apply system calls for other operating systems and versions.</P>@@ -240,11 +239,11 @@<H2>Processor Specification</H2><P>A new set of tools designed to make processor specifications easier to create, modify, and validate- have been added. The tools consist of a context sensitive Sleigh file editor, a pcode validation+ have been added. The tools consist of a context sensitive Sleigh file editor, a p-code validationframework, an external disassembler field, and several scripts to make development easier.- The Sleigh editor is a plugin for Eclipse and provides modern editor features such as syntax coloring,+ The Sleigh editor is a plug-in for Eclipse and provides modern editor features such as syntax coloring,hover, navigation, code formatting, validation, reference finding, and error- navigation. The test suite emulates the pcode to automatically+ navigation. The test suite emulates the p-code to automaticallyvalidate the instructions most commonly used by the compiler for that processor.</P><H2>iOS DYLD and Macho Format</H2>@@ -262,7 +261,7 @@connect to a 9.1 server.</P><P>The Ghidra server has two additional authentication methods, Active Directory using- Kerberos and Plugable Authentication Modules (PAM) using JAAS. To utilize these new+ Kerberos and Pluggable Authentication Modules (PAM) using JAAS. To utilize these newmethods you must configure the server.conf file and use either -a1 for windows authenticationor -a4 along with -jaas. The JAAS mode will require setup of an additional configuration file (jaas.conf).</P>@@ -292,9 +291,9 @@primarily affects functions using floating point Neon instructions.</P><P>Renaming a parameter in the decompiler will no longer commit the- data types of all parameters, allowing data- types to continue to "float" without getting locked into a potentially- incorrect initial data type. In addition, the cumbersome warning dialog+ datatypes of all parameters, allowing datatypes+ to continue to "float" without getting locked into a potentially+ incorrect initial datatype. In addition, the cumbersome warning dialogfor renaming and retyping has been removed, improving your RE workflow.</P><H2>Languages</H2>@@ -302,7 +301,7 @@HCS12X/XGATE, HCS08, and user-contributed specifications for MCS-48,SuperH1/2a, and Tricore.</P>- <P>The 16-bit x86 processor specification has been re-worked to include+ <P>The 16-bit x86 processor specification has been reworked to includeprotected mode addressing, which the NE loader now uses by default. Handling ofsegmented or paged memory has been updated to use a newer scheme, hiding itscomplications from decompilation results. The implementation handles the HCS12X paging scheme as well.</P>@@ -323,7 +322,7 @@<P>In case you missed it, in March 2019, a public version of Ghidra was released for the first time. Soon after,the full buildable source was made available as an open source project on the NSA GitHub page. The response from the GhidraOpen Source community has been overwhelmingly positive. We welcome contributions from GitHub including bug fixes,- requests, scripts, processor modules, and plugins. </P>+ requests, scripts, processor modules, and plug-ins. </P><H2> Bug Fixes and Enhancements</H2><P> Bug fixes and improvements for 9.0.x are listed in the