Skip to content

Ghidra is a software reverse engineering (SRE) framework

Updated Whats new

emteere92ed19ed1b19
diff --git a/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.html b/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.html
index ee89f31ac3..059156b534 100644
--- a/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.html
+++ b/Ghidra/Configurations/Public_Release/src/global/docs/WhatsNew.html
@@ -16,9 +16,8 @@
</HEAD>
<BODY>
- <H1>What's New in Ghidra 9.0</H1>
-
- <H2>Ghidra: NSA Reverse Engineering Software</H2>
+
+ <H1>Ghidra: NSA Reverse Engineering Software</H2>
<P>
Ghidra is a software reverse engineering (SRE) framework developed by NSA's Research Directorate.
@@ -38,7 +37,140 @@
vulnerabilities in networks and systems.
</P>
- <H2> Bug Fixes and Enhancements</H2>
+ <BR />
+ <H1> What's New in Ghidra 9.1</H1>
+
+ <H2> <a id="finePrint91"/>The not so fine print: Please Read!</H2>
+
+ <P>Ghidra 9.1 is fully backward compatible with project data from previous releases. However, programs opened in 9.1 may no
+ longer be accessible by an earlier Ghidra version if the processor model has been updated. </P>
+
+ <P>This release includes many new features and capabilities, performance improvements, quite a few bug fixes, and pull-request
+ contributions. Many thanks to all those who have contributed their time, thoughts, and code. The Ghidra user community
+ thanks you too!</P>
+
+ <P>NOTE: The Ghidra 9.0 server is compatible with Ghidra 9.0 and 9.1 clients, however the 9.1 server
+ now uses a TLS connection. If the Ghidra multi-user server is upgraded to 9.1, then all clients must
+ upgrade to 9.1. A 9.1 Ghidra client will fall back to a non-TLS connection when connecting to a 9.0
+ server.</P>
+
+ <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
+ without recompilation of the .slaspec file. Any processor modules with changes are normally recompiled at Ghidra startup
+ so this situation is rare.</P>
+
+ <H2>Data Improvements</H2>
+
+ <P>Bitfields within structures are now supported as a Ghidra data type. Bitfield definitions
+ can come from PBD, 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
+ information. In addition compiler bitfield allocation schemes have been carefully implemented.
+ Full support for bitfield references within the decompiler is planned for a future
+ release.</P>
+
+ <P>In support of creating bitfields within structures, a new bitfield editor within the
+ structure 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
+ of 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.
+ These references can be used to achieve correct decompilation of syscall-like instructions. A new script
+ "ResolveX86orX64LinuxSyscalls" 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>
+
+ <P>To support system calls, the decompiler follows references into OTHER address space overlays.
+ This allows users to create address spaces on the fly without worrying about conflicts with existing spaces.
+ For example, instructions with a unique calling
+ convention can be properly handled by adding a reference to a custom function signature.</P>
+
+ <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
+ framework, 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,
+ hover, navigation, code formatting, validation, reference finding, and error
+ navigation. The test suite emulates the pcode to automatically
+ validate the instructions most commonly used by the compiler for that processor.</P>
+
+ <H2>iOS DYLD and Macho Format</H2>
+
+ <P>Imported DYLD cache images, extracted from an iOS image, are split into sub-dylib sections, greatly enhancing
+ follow on analysis. Internal Macho headers are retained and marked up similarly
+ to ELF files, which includes tracking the origin of the program bytes from the initial import binary.</P>
+
+ <H2>Ghidra Server</H2>
+ <P>The Ghidra server now requires the use of a TLS connection between the client and server.
+ As noted above a 9.1 client can connect to a 9.0 or 9.1 server. However, a 9.0 client
+ cannot 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
+ methods you must configure the server.conf file and use either -a1 for windows authentication
+ or -a4 along with -jaas.</P>
+
+ <H2>Import</H2>
+ <P>When importing files, the origin of all imported bytes can be tracked back to their offset
+ within the original binary source. This change lays the ground work for exporting back to the
+ original file after modifying the bytes. There are programmer API methods to get the bytes either
+ from the memory block or the underlying original source bytes. To see the original bytes a memory
+ block can be mapped onto the original filebytes. The source of each memory block within the memory
+ map is shown in a new Byte Source column. When hovering on the bytes in the program listing, the
+ origin of the bytes at that address are displayed.</P>
+
+ <H2>Decompiler</H2>
+ <P>The decompiler now implements a more detailed analysis of local variables on the
+ stack. This change resolves many problems with disappearing
+ structure initialization and incorrect dead code removal. </P>
+
+ <P>The decompiler now generates fewer duplicate assignments. For example, repeated assignment of
+ the same value to a variable in two branches will now appear
+ before either branch is taken.</P>
+
+ <P>In addition the decompiler now recognizes more optimization patterns used
+ by compilers for signed division, resulting in simplified decompilation.</P>
+
+ <P>AARCH64 based binary decompilation will be cleaner due to better handling of
+ zero extensions into larger registers which complicated data flow analysis. This
+ change affects 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
+ for renaming and retyping has been removed improving your RE workflow.</P>
+
+ <H2>Languages</H2>
+ <P>There are many new processor specifications including SuperH4, MCS-96,
+ HCS12X/XGATE, HCS08, and user-contributed specifications the MCS-48,
+ SuperH1/2a, and the Tricore.</P>
+
+ <P>The 16-bit x86 processor specification has been re-worked to include
+ protected mode addressing, which the NE loader now uses by default. Handling of
+ segmented or paged memory has been updated to use a newer scheme, hiding its
+ complications from decompilation results. The implementation handles the HCS12X paging scheme as well.</P>
+
+ <P>Many improvements and bug fixes have been made to existing processor
+ specifications, ARM, AARCH64, PIC, 68K, MIPS, PPC, JVM, Sparc, AVR8,
+ 8051, 6502, etc...</P>
+
+
+ <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 />
+ <H1>What's New in Ghidra 9.0</H1>
+
+ <H2>Ghidra Released to the Public!</H2>
+
+ <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 Ghidra
+ Open Source community has been overwhelmingly positive. We welcome contributions from github including bug fixes,
+ requests, scripts, processor modules, and plugins. </P>
+
+ <H2> Bug Fixes and Enhancements</H2>
<P> Bug fixes and improvements are listed in the
<a href="ChangeHistory.html">Change History</a> file.</P>