Guest User

IDA 9.0 beta 2 changelog

a guest
Aug 10th, 2024
836
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.39 KB | None | 0 0
  1. Issues fixed in IDA 9.0 beta 2
  2. IDA Home: cloud decompilers unusable
  3. Replaced every reference to ida.key into ida.hexlic
  4. IDA Linux installer creates a weird directory in the installers's directory
  5. IDA Home: missing IDA Pyton module "ida_mergemod"
  6. missing style dylib on macOS
  7. decompilers: crash on navigation into non-decompilable function
  8. asmtil: interr 918 + crash on filtering a large list of types
  9. idapython: idc.get_ordinal_qty() not usable
  10. added wasm loader and processor module
  11. Known issues for IDA 9.0 beta 1
  12. IDA Teams server (vault) not yet available
  13. IDA floating license server (licsrv) not yet available
  14. Dialogs text in Linux installer not readable on Ubuntu with dark theme active
  15. Linux installer creates empty directory named `***unknown variable uninstallerdirectory***`
  16. iOS18 DSC objc analysis lacking out-of-box (__OBJC_RO has to be loaded manually for now)
  17. IDA can crash on x64 macOS at file load time
  18. Headless processing with IDAlib
  19. With IDAlib, both the C++ and Python APIs can be used from outside IDA to form standalone applications. The resulting program or script doesn't have to be loaded inside IDA, but rather IDA engine is invoked from inside your application.
  20.  
  21. This makes developing against the IDA API much easier - if configured correctly, you get auto-completion and debugging in your favorite C++/Python IDE
  22.  
  23. NO RCP or IPC to an external IDA process means you get native speed of execution
  24.  
  25. WASM Disassembler and File Format Loader
  26. With many apps shifting to client-side browser applications we saw the need of a new disassembler for Web Assembly (WASM).
  27.  
  28. WASM code is embedded into its own binary file format. Hence we also ship a file loader that decodes the WASM file format
  29.  
  30. nanoMIPS Disassembler and Decompiler + md1rom Loader
  31. Both the MIPS disassembler and decompiler got added support for nanoMIPS instructions. The nanoMIPS support is included in the classic MIPS (HEXMIPS) decompiler, so there is no need to purchase an extra license.
  32.  
  33. Firmware compiled for nanoMIPS often ships in md1rom format, which is why we added an md1rom file loader to IDA (which includes parsing and applying of debug symbols, if available)
  34.  
  35. New RISC-V Decompiler and Disassembler Extensions
  36. New decompilers targeting 32- and 64-bit RISC-V code (HEXRV and HEXRV64) are now available.
  37.  
  38. We extended the RISC-V processor module to support T-Head extension instructions (used in Xuantie and Allwinner processors)
  39.  
  40. C++ Exceptions Support in the Decompiler
  41. The decompiler can now emit try / catch blocks. As the first step, we implemented support for the C++ exception scheme in binaries compiled for x64 using Microsoft VC++
  42. IDAPython Improvements
  43. Most IDAPython APIs now have type annotations, making the API less obstructive to use.
  44.  
  45. Python virtual environments are now supported - simply point $PATH to the directory containing the interpreter inside the virtual environment (done automatically by the activation script).
  46.  
  47. Objects returned in the Python API are properly zero-initialized.
  48.  
  49. Auto-completion in IDA's CLI now disregards __magic_methods__ and auto-generated SWIG methods, which reduces noise and helps finding a particular function easier.
  50.  
  51. FLIRT Updates
  52. We massively updated, modernized and extended the number of FLIRT signatures available for use with IDA. As of this release, we provide (and plan to maintain) signatures for the following operating systems, languages, architectures, and software packages:
  53.  
  54. Golang:
  55.  
  56. Versions: stable versions from 1.10.0 to 1.22.5 and unstable version 1.23.0-rc1/1.23.0-rc2
  57.  
  58. Windows: x86, x64, arm, arm64
  59.  
  60. Linux: i386, amd64, arm, arm64
  61.  
  62. Darwin: amd64, arm64
  63.  
  64. C/C++
  65.  
  66. Windows (MSVC):
  67.  
  68. Architectures: arm, arm64, i386, amd64
  69.  
  70. Packages: ATL, CTL, MFC, Windows SDK 10, Windows SDK 11
  71.  
  72. Linux:
  73.  
  74. Distribution: Ubuntu & Debian
  75.  
  76. Architectures: i386, amd64, arm64, armhf, armel, arm, s390x, mips64el, mipsel, mips, ppc64el
  77.  
  78. Packages: libc6, libselinux1, libpcre2, libidn2, libssl, zlib1g, lib32z1, libunistring, libcurl4-gnutls, libcurl4-nss, libcurl4-openssl, libnghttp2, libidn2, librtmp, libssh, libssh-gcrypt, libpsl, libldap, libzstd, libbrotli, libgnutls28, nettle, libgmp, comerr, libsasl2, libbrotli, libtasn1-6, libkeyutils, libffi, uuid, libprotobuf, heimdal-multidev, musl, libplib, libsdl1.2-bundle (libsdl-console, libsdl-sge, libsdl1.2, libsdl-ocaml, libsdl-image1.2, libsdl-kitchensink, libsdl-mixer1.2, libsdl-net1.2, libsdl-sound1.2, libsdl-ttf2.0, libsdl1.2-compat, libsdl-gfx1.2, libsdl-pango), libsdl2-bundle (libsdl2, libsdl2-gfx, libsdl2-image, libsdl2-mixer, libsdl2-net, libsdl2-ttf)
  79.  
  80. The extra signatures are initially available as separate download
  81.  
  82. Metadata Descriptors for Plugins
  83. ida-plugin.json now offers a standardized entrypoint for plugins. This enables plugin authors to follow their own plugin directory structure, all they need to do is point IDA to the main plugin entry point. To maintain backward compatibility, IDA will keep loading plugins in the pre-9.0 way for a couple of releases.
  84.  
  85.  
  86. With the following directory structure:
  87.  
  88. plugins
  89. └── ida_greeter
  90. ├── ida-plugin.json
  91. └── main.py
  92. A possible ida-plugin.json could look as follows:
  93.  
  94. {
  95. "plugin" :
  96. {
  97. "name" : "greeter",
  98. "entryPoint" : "main.py"
  99. }
  100. }
  101. No more IDA32
  102. We deprecated IDA32 a few versions ago. With IDA 9.0, we’re unifying the IDA binaries targeting 32 or 64 bit code into just one IDA64 binary. This means:
  103.  
  104. Number of installed files is cut in half
  105.  
  106. Easier life for native plugin maintainers since only one version (__EA64__) needs to be maintained.
  107.  
  108. Conversion of IDB files to I64 file format is transparently and automatically performed by IDA64.
  109.  
  110. UI Improvements
  111. The legacy Enums and Structures views are removed entirely and replaced by Local Types. This also means that struct.hpp and enum.hpp and their counterparts ida_struct and ida_enum disappear from the API. Replacement functionality for both headers/modules is now located (mostly) in typeinf.hpp / ida_typeinf. A porting guide will be available for the release.
  112.  
  113. The function prototype editor (aka y shortcut on a function name) now can toggle between the classic free-text one-line editor and a new multi-line editor featuring the usual shortcuts and controls. By the same time, we added basic support for UI-based editing of argument locations, to make prototype syntax less of a hassle to remember.
  114.  
  115. It is now possible to specify fixed size for structures and to enable field packing easily
  116.  
  117. A refreshed set of shortcuts which better matches the modern OS conventions can now be selected instead of the traditional shortcuts
  118.  
  119. Full list of changes and new features
  120. Processor modules
  121. ARM: improve detection of targets of indirect jump instructions
  122. ARM: improved prolog analysis to recognize and mark calls to chkstk_darwin
  123. AVR: update missing bit definitions for ATmega640
  124. MIPS: support for NanoMIPS instruction set
  125. RISCV: added support for legacy instruction sfence.vm
  126. RISCV: added support for T-Head custom instructions
  127. wasm: new processor module (Web Assembly)
  128. File formats
  129. ELF: added support for nanoMIPS
  130. ELF: ARM64: added support for R_AARCH64_P32_TLS_TPREL relocation type, used by ILP32
  131. md1img: loader for Mediatek modem firmware images (nanoMIPS and MIPS16e2)
  132. MACHO: support __chain_starts format 5 (DYLD_CHAINED_PTR_32_FIRMWARE)
  133. FLIRT / TILS / IDS
  134. FLAIR: PCF: added support for ARM64 COFF files
  135. pelf: proper handling of ELF32 for AArch64 (ILP32)
  136. Standard plugins
  137. eh_parse: skip leading and trailing zero entries in x64 .pdata for PE files (real binaries have them); improve recognition of exception dispatcher functions in debug builds
  138. eh_parse: x64 exception handlers are standalone functions and not function chunks
  139. eh34: new plugin to handle c++ exceptions for the binaries built by msvc x64
  140. pdb: added an option to only load names (useful with large PDBs when you don't need types)
  141. Kernel/Misc
  142. goodname.cfg: improve simplification of MSVC STL classes
  143. kernel: support for ida-plugin.json
  144. kernel: improved strlit detection (short ones were converted to data items)
  145. noret.cfg: added terminate, std_terminate to the list of non-returning functions
  146. installer: macOS: install all contents into a single .app bundle
  147. licensing: replaced FlexNet licensing server by custom Hex-Rays licensing server (floating licenses only)
  148. Scripting & SDK
  149. IDAPython: added find_binary and find_string
  150. IDAPython: added detection of virtual environments (venv)
  151. IDAPython: Added more pointer wrappers for integer types defined in pro.h
  152. IDAPython: idapyswitch can now be used with read-only IDA installations
  153. IDAPython: Removed __magic_methods__ from CLI auto completion
  154. IDAPython: zero-initialize C++ objects exposed in the Python API
  155. IDAPython: loader_input_t.read() should return an empty bytes object upon read error, not None
  156. SDK: Add Visual Studio templates for plugins and loaders
  157. SDK: added FUNC_UNWIND/FUNC_CATCH function flags to mark exception handlers, they will be ignored in decompilation
  158. SDK: added pipe_process() to launch a process and establish a 2-way communication with it
  159. SDK: added qlist::splice()
  160. SDK: moved node_ordering_t to gdl.hpp
  161. SDK: published basic undo interface (create undo point, undo, redo)
  162. SDK: renamed abstract_graph_t -> drawable_graph_t; mutable_graph_t -> interactive_graph_t
  163. UI
  164. UI: added an option to retain structure size (Fixed size structs)
  165. UI: Added "pack fields" checkbox to control gaps between fields for structs
  166. UI: command palette: fix wrong reports about "command failed"
  167. UI: hadle export/import of Local types to IDC is in a more flexible way. User is able to select the different policies, for example: load the types and skip the equal.
  168. UI: if IDA already has a file open, "Open" opens a file in a new IDA instance
  169. UI: it is now possible to inspect the contents of base type libraries, by double-clicking on them in the "Type libraries" view
  170. UI: new shortcut set better aligned with modern OS conventions
  171. UI: got rid of "Structs" and "Enums" widgets
  172. UI: new shortcuts: Alt- (and CMD-) to jump to a window
  173. Decompilers
  174. decompiler: riscv: added RV32 and RV64 decompilers
  175. decompiler: added try/catch ctree statement
  176. decompiler: improved detection of variadic arg types
  177. decompiler: introduced a new event: hxe_inlining_func
  178. decompiler: published a few graph algorthims (pre/port ordering and dominator calculation)
  179. decompiler: published the control_graph_t class; made it possible for third-party plugins to perform structural analysis
  180. decompiler: arm: added support for VSEL insn (ARMv8-M)
  181. decompiler: impoved structure copy recognition
  182. decompiler: improved cfunc_t cache by introducing "saved_to_idb"; otherwise we were saving all decompiled functions upon each "save_database", again and again
  183. decompiler: improved constant representation in comparisons with binary operators
  184. decompiler: improved hexrays history to support c++ exception handlers
  185. decompiler: improved the error message about the missing license: tell the user what license is missing
  186. decompiler: mips: added support for movtz and movtn (MIPS16e2)
  187. Bugfixes
  188. BUGFIX: ARM: analysis speed could be slow on large 32-bit firmware binaries
  189. BUGFIX: ARM: fixed endless loop which could happen when analysing function chunk before main function entry
  190. BUGFIX: ARM: stop decoding undefined MOV Wx, #imm variants (imm not fitting in 32 bits)
  191. BUGFIX: cvt64: converting an old .idb to .i64 would fail if its path contained a space
  192. BUGFIX: debugger: win32_remote.exe was unnecessarily requiring an API instroduced in Windows Vista and would not run on XP anymore
  193. BUGFIX: decompiler: expressions with variable sized structures could be mishandled
  194. BUGFIX: decompiler: IDA could complain "Could not find a matching license for product" when multiple decompilers were installed
  195. BUGFIX: decompiler: internal errors triggered by UI-related code (e.g. generaing tooltips) could result in "Unknown C++ exception" fatal error
  196. BUGFIX: decompiler: pressing F5 was not refreshing the pseudocode window in some cases; we were discarding the decompilation result
  197. BUGFIX: decompiler: value range optimization could lead to code being wrongly removed
  198. BUGFIX: DSCU: a GAP spanning multiple subcache files would fail to load
  199. BUGFIX: kernel: IDA on Linux had an unnecessary hard dependency on libsecret and would refuse to run without it.
  200. BUGFIX: navigating to a global name which matched a known type name would fail
  201. BUGFIX: objc: NS*Block reference detection error would end up creating incoherent block structures over unrelated data
  202. BUGFIX: PC: alloca_probe / chkstk_ms does not modify rsp or rax in x64 code, unlike x86
  203. BUGFIX: PC: REX prefix could be incorrectly applied to 32-bit instructions
  204. BUGFIX: PC: vmovw instruction was decoded as if using 16-bit registers (it actually uses 32-bit ones)
  205. BUGFIX: PDB: inporting types from some large PDBs would fail with "the maximum recursion level was reached"
  206. BUGFIX: RISCV: fence.i instruction was not decoded
  207. BUGFIX: SDK: fixed a debug/opt build incompatibility in reg_finder_t (std::map member)
  208. BUGFIX: SDK: set_all_bits() and clear_all_bits() would behave wrong on bitmaps with size not a multiple of 8
  209. BUGFIX: sometimes information about newly created range-like entities (segments/functions/...) could be lost during UNDO
  210. BUGFIX: tinfo: xrefs to a deleted enum were not removed
  211. BUGFIX: UI: large amounts of lines in the "Output" window could cause slowdowns
  212. BUGFIX: UI: when using COLOR_INV color code (e.g. in a custom viewer), IDA would use default color for the text instead of the previous background color
Advertisement
Add Comment
Please, Sign In to add comment