Ghidra 9.1 Change History (August 2019)
New Features
- Data Types. Added bitfield support to Structure and Union editor. An additional Bitfield Editor was also added for explicit bitfield placement within unaligned structures.
- Eclipse Integration. Added a new GhidraSleighEditor Eclipse plugin.
- GUI. Added method for turning off table sorting by control-clicking the only sorted table column. (Issue #87)
- GUI. Hovering on an address will now show where the byte at that address came from in the imported file. (Issue #154)
- Importer:MachO. Added new importer/loader for DYLD shared cache files.
- Languages. Added contribution of Tricore processor specification submitted by "mumbel." (Issue #567)
- Languages. Added contribution of MCS-48 processor specification submitted by "zeldin." (Issue #638)
- Memory. Added new API to preserve imported program's original bytes and how they map to memory blocks.
- Program API. Added Bitfield support for structures and unions. WARNING: Version upgrade will be forced on all modified programs and data type archives that are open for update.
Improvements
- Basic Infrastructure. Made bash scripts more portable, allowing Ghidra to be launched on additional platforms. (Issue #347)
- Build. Created a new Gradle task that automates some installation procedures defined in DevGuide.md.
- Build. The build now allows newer versions of Gradle to be used. (Issue #737)
- DWARF. Corrected DWARF analysis to handle binaries that are imported at non-default locations. (Issue #637)
- Data Types. All DataType archives have been regenerated to support the new bitfield functionality.
- Data Types. CategoryPath now accepts forward slashes in its components.
- Decompiler. Most forms of unnecessary or redundant copy statements are now removed from the decompiler output.
- Decompiler. Added ability to double-click a Decompiler brace syntax token to navigate to the matching brace.
- Decompiler. Updated the Decompiler to navigate to the label of the "go to" statement when that label is double-clicked.
- Decompiler. Updated the Decompiler's Copy Action to the copy the symbol under the cursor when there is no selection. (Issue #411)
- Decompiler. Fixed broken External Navigation: Navigate to External Program option.
- Decompiler. The decompiler's logic for handling optimized division has been updated to recognize forms typically found in executables generated with more recent 64-bit compilers. (Issue #668)
- Decompiler. Implemented call-fixup for x64 chkstk function. (Issue #670, 671)
- Decompiler. The decompiler simplifies many new sign-bit extraction forms used in optimized division and comparison expressions.
- Documentation. Fixed typos and other errors in GitHub-related documentation. (Issue #345, 361, 370, 375, 398)
- Documentation. Added documentation to the dev guide on how to run unit/integration tests. (Issue #815, 832)
- Function Graph. Updated the Function Graph to show the current program selection when zoomed-out.
- Function Graph. Added an option to the Function Graph to allow more complex edge routing that will go around non-incident vertices. See the Tool Options for more information and to enable this feature. (Issue #811)
- GUI. Added listener to Script Table Dialog that will get notified when the dialog closes.
- GUI. Fixed global Tool auto-save option so that it persists between Ghidra sessions. (Issue #231)
- GUI. Added the apple.laf.useScreenmenuBar option to hoist the menu bar out of the window on macOS. The option is off by default but can be activated in support/launch.properties. (Issue #562)
- GUI. Updated the 'Repeat Text/Memory Search' menu item to show the search dialog for long searches. (Issue #585)
- GUI. Updated Structure Editor to allow user key bindings to work. (Issue #504)
- GUI. Python interpreter key bindings for sending reset and interrupt commands are now configurable. (Issue #588)
- GUI. Tweaked default graphic settings in support/launch.properties to support a wider range of displays out-of-the-box. (Issue #341)
- GUI. Added the ability to assign key bindings to show individual component providers. (Issue #539)
- GUI. Fixed rendering issue in the Search Results table's Preview column. (Issue #550)
- Importer. Updated x86 16-bit processor binding for IDA. (Issue #771)
- Importer:PE. PeLoader better accounts for section alignment when laying out memory blocks, allowing additional bytes from the file to be loaded into memory. (Issue #327, 418)
- Importer:PE. Removed out-of-place call to demangler and laying down of types from the PeLoader. This fix enables demangling and other analyzers to be applied correctly and in the proper order.
- Importer:PE. PeLoader now adds TLS callback functions as entry points. (Issue #102)
- Languages. Added new Task Monitor service to better handle user experience when there are delays in building languages.
- Languages. Corrected ARM/Thumb instruction parsing for Thumb bl and add instructions. (Issue #362)
- Languages. Added AVR8 manual index file. (Issue #346)
- Languages. M68000 LSL.W, ASL.B, LSL.B, and ASL.W instructions now correctly set the CF flag. (Issue #619)
- Languages. Updated x86 manual index files. (Issue #366)
- Languages. Improved macro label-related error reporting in slaspec files. (Issue #522)
- Languages. Added MIPS special 0x1f patterns. (Issue #709)
- Multi-user. Added a script to allow repository admins the ability to terminate multiple file checkouts belonging to an individual user.
- PDB. Now using HTTPS for Microsoft symbol server URL. (Issue #369)
- PDB. PDB processing can now store data types that contain forward slashes under a CategoryPath. (Issue #94, 182)
- Program API. Added SHA256 hash to Program metadata and API. (Issue #331)
- Scripting. Updated Script Table Chooser Dialog to fix bug with tracking work items, to add new API methods for item removal and dialog closed notification, and to prevent the same item from being worked on more than once. (Issue #307)
- Testing:Junits. test.gradle getLogFileUrl() no longer searches user.dir for log4j properties file. (Issue #499)
- Testing:Junits. Added new Gradle task to run integration tests and generate an HTML report. (Issue #870)
Bugs
- DWARF. Empty DWARF compilation unit sections will now be ignored. (Issue #690)
- Data Types. Corrected string data default label generation when defined within uninitialized memory, which will now render as STRING_<address>. (Issue #272)
- Data Types. Improved ASCII string data handling for processors with a char size greater than 1.
- Decompiler. Fixed aliasing issue where the decompiler would sometimes drop initialization or other code writing to the stack.
- Decompiler. Fixed bug causing the decompiler to incorrectly omit the display of infinite loops when they contained switch statements. (Issue #443)
- Decompiler. Integer extension casts are no longer printed in the decompiler if the extension is implied.
- Decompiler. Updated the Decompiler to place the cursor on the function signature when a function is decompiled.
- Decompiler. Fixed a common source of "Datatype does not fit" errors when using the "Retype" actions in the decompiler.
- Decompiler. Fixed equals() method in Varnode AST. (Issue #677)
- Decompiler. Users can no longer rename undefined functions from the decompiler. (Issue #753)
- Decompiler:Java. Updated Decompiler's hovers to show preview for data types on variables and return types.
- Decompiler:Java. Fixed error involving decompilation of certain invokedynamic instructions in JVM class files. Made numerous minor improvements to decompilation of JVM bytecode. (Issue #287)
- Demangler. Fixed a NullPointerException in DemangledFunctionPointer. (Issue #609)
- Exporter. Negative memory references in idaxml.py no longer cause errors. (Issue #213)
- Exporter. Fixed Intel Hex Exporter to not ignore the Address Space option value.
- Exporter. Fixed cancellation behavior of the C/C++ exporter. (Issue #591)
- File Formats. Fixed an out-of-memory error in the CPIO file system.
- File Formats. DmgClientFileSystem no longer falsely matches zlib compressed files. (Issue #583)
- File System Browser. Fixed NullPointerException when clicking "Get Info" on a directory in a zip file in the file system browser when the element was a directory that did not have a corresponding entry in the zip file.
- File System Browser. Changed the 'Get Info' action to show information about both the highlighted file and any file system mounted from that file.
- File System Browser. Fixed dialog stacking problem in File System Browser when double-clicking a container file to open the filesystem inside it.
- GUI. Fixed stack trace when deleting large memory block that is in its own address space.
- GUI. Changed Data Type Preview to allow adding string data types.
- GUI. Fixed display of operand scalar values in tooltip popup of Decompiler and Listing windows. (Issue #120)
- GUI. Fixed bug in Data Type Preview that caused a rendering error in Structures as primitive types were deleted.
- GUI. Fixed Symbol Tree ClassCastException that happened when clicking a node while the tree was still loading. (Issue #96)
- GUI. Fixed bug that prevented the XRef's Ref Type column from sorting correctly.
- GUI. Updated Edit Function Signature dialog to have focus in the signature field when first opened. Also added undo/redo support. (Issue #635)
- GUI. Fixed exception in the References Editor encountered when closing the editor with an active edit in the table.
- GUI. Fixed bug where the Ghidra menu mnemonic was not being set by the & character in the last field of the menu path.
- GUI. Updated the Component Providers' Close Button to allow for key bindings. (Issue #533)
- GUI. Fixed tool navigation button enablement when using snapshot windows.
- Help. Fixed NullPointerException when navigating the Help UI. (Issue #493)
- Importer. Fixed issues in the MapLoader that prevented .map files from being added to an existing program. (Issue #762)
- Importer. For batch import, fixed issue where last character of directory name was truncated on Windows workstations. (Issue #797)
- Importer:ELF. Added ELF relocation handler for R_AARCH64_JUMP26. (Issue #775)
- Importer:ELF. Improved ELF MIPS support for GP-relative relocations encountered in PIC compiled binaries. Also added support for R_MIPS_RPREL32 relocations. (Issue #764)
- Languages. Utilized FLOAT_NEG pcode op to simplify PowerPC fneg instructions. (Issue #387)
- Languages. Added 6502 I status bit save and restore per PR-362. (Issue #469)
- Languages. Corrected alternate register definition in z80 processor. (Issue #520)
- Languages. Reviewed all processor modules for GhidraSleighEditor syntax errors.
- Languages. Added support for RD/WR/FS/GSBASE instructions in x86. (Issue #554, 555)
- Languages. Fixed AAM x86 instruction.
- Listing. Fixed potential infinite loop when editing long comments. (Issue #437)
- Listing. Fixed potential ClassCastException in Listing comments.
- Listing. Cursor in the listing now stays in the proper column after editing a field. (Issue #702)
- Multi-User:Ghidra Server. Added proper Ghidra Server interface binding with new -i option. Corrected -ip option to strictly convey remote access hostname to clients. The updated server will only accept connections from Ghidra 9.1 and later clients due to the registry port now employing TLS. (Issue #101, 645)
- PDB. Added char16_t and char32_t to PDB BASIC_TYPE_STRINGS. (Issue #685)
- PDB. Addressed memory leaks and string handling issues in pdb.exe. (Issue #674, 597, 598, 599, 600)
- PDB. Can now recover stack variables from more recent Visual Studio version PDBs.
- Project Manager. Fixed a problem with creating Ghidra projects in Windows root directories (e.g., Z:\)
- Project Manager. Fixed a path traversal vulnerability that could occur through loading a malicious project. (Issue #789)
- Scripting. GhidraScript.askDomainFile() now correctly throws a CancelledException when the cancel button is clicked.
- Scripting. Removed deprecated scripting methods older than 5 releases.
- Sleigh. Corrected Sleigh compiler bug which performed improper bounds checking for named register offset specification when space wordsize is not one (1). (Issue #831)
- Version Tracking. Fixed NullPointerException in Version Tracking hashing algorithm.
Ghidra 9.0.4 Change History (May 2019)
Bugs
- Multi-User:Ghidra Server. Corrected severe script error in svrAdmin.bat introduced with 9.0.3 build.
- GUI. Restored the default 'p' key binding for creating pointers within the listing display.
Ghidra 9.0.3 Change History (April 2019)
New Feature
- GUI. Function tags are now viewable from Functions Window table using new column.
Improvements
- Decompiler. Improved modeling of CFG on Windows 10. (Issue #340)
- Patcher. Renamed patch directory to /Ghidra/patch and added README.txt that explains how the patch directory is used.
- Search. Updated the Decompiler Data Type Finder to find references to inside of nested array access in a line of Decompiler C output. (Issue #416)
- Sleigh. Improved error reporting for SLEIGH compiler. (Issue #364)
Bugs
- Analysis. Code that checks for thunks no longer throws an exception if the PC is not set for the processor.
- Analysis. Made a fix to enable Apply button when changing tool options. (Issue #40)
- Data Types. Fixed concurrent modification exception when replacing one datatype for another that results in some other datatype being renamed.
- Decompiler. Fixed dynamic variables and equates in 16-bit x86 programs. (Issue #336)
- Decompiler:Java. Fixed DEX decompilation regression issue. (Issue #350)
- Eclipse Integration. Fixed exception in Eclipse GhidraDev plugin that occurred when performing certain actions on a Ghidra project that was imported from a previously exported Archive File. (Issues #283, #383)
- GUI. Improved documentation on how to deal with HiDPI monitor issues in Linux. In the <ghidra_installation>/support/launch.properties file, change VMARGS=-Dsun.java2d.xrender from false to true.
- Importer. Fixed an exception that occurred when batch importing APK files. (Issue #426)
- Languages. The 6502 Zero page indexed addressing has been corrected to only access the Zero page. (Issue #201)
- Languages. The 68000 BCD arithmetic instructions now have pcode semantics that allow disassembly to continue. (Issue #227)
- Multi-User:Ghidra Server. Restored ability to execute svrAdmin script in development mode.
- Search. Fixed NullPointerException in Decompiler Data Type Reference Finder. (Issue #407)
Ghidra 9.0.2 Change History (April 2019)
Bugs
- Analysis. Constant reference analysis boundary controls for speculative references has been fixed. Speculative references are references created from computed constants passed as parameters, stored to a location, or from indexed offsets from a register. (Issue #228)
- Decompiler. Fixed rendering bug in the Decompiler when the "Find" dialog is closed. (Issue #282)
- Decompiler. Fixed decompiler handling of Function Definition data types. (Issue #247)
- Decompiler. Fixed "Free Varnode" exception in RuleConditionalMove. (Issue #294)
- Diff. Fixed exceptions that can occur in the Diff View for programs with overlays.
- Documentation. Corrected the spelling of "listener" throughout the source code. (Issue #235)
- Exporter. Exporting a selection as Intel Hex will now allow a selection of any length. Previously this was restricted to multiples of 16 bytes. (Issue #260)
- GUI. Fixed exception that occurs after disabling MyProgramChangesDisplayPlugin.
- GUI. Updated the "Open Program" dialog to disallow file drop operations. (Issue #252)
- Languages. The ARM Thumb CMP.W and LSL isntructions have been changed to correctly decode. There are still issues to work out with Unpredictable execution when Rd is the PC. (Issue #280)
- Multi-User:Ghidra Server. Corrected bug introduced into ghidraSvr.bat which could prevent Ghidra Server startup (Issue #279)
- Scripting. MultiInstructionMemReference script has been corrected to consider input and output registers when placing a reference on an instruction.
Security
- Basic Infrastructure. Added a property to support/launch.properties to prevent log4j from using jansi.dll on Windows. (Issue #286)
Ghidra 9.0.1 Change History (March 2019)
New Features
- Scripting. Created a script to show all equates within the current selection. (Issue #111)
Improvements
- Basic Infrastructure. Updated commons-compress library to version 1.18. (Issue #171)
- Eclipse Integration. Ghidra now connects to the Eclipse GhidraDev plugin on 127.0.0.1 rather than localhost.
- GUI. Turned on font anti-aliasing by default for Linux. (Issue #212)
- GUI. Fixed Options Dialog slow scrolling speed. (Issue #27)
- Importer:ELF. Corrected bug in ELF loader which can improperly process the GOT, PLT and relocations
when multiple symbol tables exist within the ELF binary. (Issue #52)
- Languages. Added ARM/Thumb SRS instruction decodes for undefined modes. (Issue #216)
- Multi-User:Ghdira Server. Corrected the Ghidra Server service wrapper (YAJSW) configuration for
Mac OS X to prevent a startup timeout condition which could occur.
Bugs
- API. Fixed equals method on Varnode class. (Issue #97)
- API. Fixed a bug in MaskImpl.comlementMask(). (Issue #187)
- Basic Infrasturcture. Fixed special character handling in idaxml.py. (Issue #75)
- Basic Infrastructure. Ghidra now forces the locale to en_US by default. Only the en_US is currently supported.
This fixes certain unexpected exceptions. (Issue #209)
- Diff. Fixed exceptions occasionally encountered when starting a Diff session. (Issue #211)
- Documentation. Fixed javadoc search box redirecting to broken links. (Issue #129)
- Function Graph. Fixed Function Graph exception when generating tooltip. (Issue #65)
- GUI. Updted window placement to keep windows on screen. (Issue #41)
- GUI. Add/Edit References dialog now restricts users to creating refs in valid memory address spaces.
- GUI. Fixed exception when exiting Ghidra while a table is being edited. (Issue #51)
- GUI. Fixed some touchpad scrolling issues. (Issue #2)
- GUI. Fixed stack trace in the Data Type Manager's tooltip generation. (Issue #133)
- GUI. User key binding settings for the Recently Used and Define Pointer actions no longer lost after re-launching tool. (Issue #152)
- GUI. Toolbar buttons now respond to fast clicking.
- Importer:MachO. The MachoLoader can now find import libraries found in Universal Binary files. (Issue #136)
- Importer:PE. The PeLoader now correctly parses the GuardCFFunctionTable when entries are more than 4 bytes each. (Issue #220)
- Languages. Added missing PowerPC VLE conditional branch instructions: e_bdnz and e_bdz. (Issue #103)
- Languages. Fixed instruction semantics for several instructions and added Control Flow Enforcement, NOP variants, CMP variants, UD1, and
prefixed call instructions to X86 processor specification. (Issues #22, #53, #158, #157)
- Languages. The 68000 MOVE instruction now correctly sets the CF and VF flags. (Issue #163)
- Languages. Added four missing MOVEM instruction variants to the 68000 processor. (Issue #219)
- Languages. An incorrect usage of X instead of Y in indexed mode for the 6502 has been corrected.(Issue #201)
- Languages. Added support for ARM Thumb half BL instruction on processor variants prior to v6. (Issue #39)
- Multi-User:Ghidra Server. Removed support for native OS authentication from Ghidra Server (removed modes -a2 and -a3)
due to incompatibility with newer OS releases including Windows 10 and Windows Server 2016. Re-introduction of this will be
considered for a future release.
- PDB. Corrected NPE error when processing PDB files. (Issues #138, #188)
- Scripting. Fixed a bug in ImportSymbolsScript.py that prevented it from running. (Issue #170)
Security
- Basic Infrastructure. Running Ghidra in debug mode no longer opens remotely accessible ports by default. (Issue #6)
- GUI. The Defined Strings plugin no longer renders HTML in its table. (Issue #45)
- Project Manager. Fixed an XXE vulnerability affeting projects and many other saved components. (Issue #71)