codename 0.10.5 - PreCon

@radare radare released this Aug 16, 2016 · 1462 commits to master since this release

Release @ 0.10.5

Project: radare2
Codename: PreCon
Date: Mon Aug 15 2016 10:27:52 GMT+0200 (CEST)
Website: http://radare.org
Tarball: https://github.com/radare/radare2/releases

radare2 @ comes with 5212 lines of new features, bug fixes and enhancements. Here some of the most important highlights:

New commands

  • dmh to show memory heap
  • Implement pxd8 to show data in st64
  • Add $Fb and $Fs to handle basicblock address and size
  • q[y/n][y/n] options added
  • Fix #5524 - Add 'F' and '_' in graph
  • Add bit level visual editor
  • Fix #5447 - Implement aO command
  • add io command !=mod to list system modules
  • Fix #4841 - Restricted r2 shell thing
  • Fix dmp command for OSX and make it work with 1 parm instead of 3
  • Fix dmi on OSX and minor cydia tweak
  • Fixes #5389 - Add aflqj
  • Fix #5427 - ao[n] shows same bytes on all instructions

New URI handlers

  • waitfor:// - wait to attach for a process matching that name
  • pidof:// - attach to a process with this name
  • nocache:// - open with O_NOCACHE, useful for iOS's dyldcache (@oleavr)
  • self:// - Add dlsym, call, alarm and other goodies
  • r2k:// - connect to the r2 kernel driver (windows only atm) (@skuater)

RSoC and GSoC

  • Implement Arithmetic Pattern matching for ROP classification:
    • rop gadgets found are saved in rop.db
    • /R can now classify nop gadgets
    • MovRegs and LoadConst pattern classification for /R
    • Moved classification logic in separate file
    • Adding Arithmetic Pattern classification for /R (work in progress)
  • Variable and argument analysis (@oddcoder)
    • Initial support for type matching (#5480)
    • Calling convention profiles in SDB (#5358)
    • Adding doc for calling convention
  • Refactor RBin.Xtr to speedup dyldcache extraction (fat task)
    • Refactoring RBinXtr API.
    • Cache sub-fat bins in sdb to save memory.
    • Fix the error while loading sub-bins of different archs.
    • more work into xtr to fix the remaining tests
  • Material webui changes
    • Reimplemented hexdump
    • Same for disasm with infinite scroll
    • Better statusbar
    • All this stuff is pretty wip and not yet finished

Analysis

  • Add support to analyze local variable types and function parameters
  • Add aad to analyze data references
  • Add av to analyze vtables
  • Fix #5334 - add support to analyze interrupt handler functions
  • Fix some more arm-rel-pc issues (by CalArcher)
  • First approach to afCl/cdecl for AVR
  • Increase rafind2 -ZS wide and do not run aad in aaa

Debugger

  • Fix r2 -d mame on OSX asm.bits=16 problem
  • fixed breakpoint size based on arch
  • Fix #5392 display values of args and locals in debugger (#5417)
  • Fixed several memleaks in cmd_debug.c
  • Fix flag regs being seen as 'gpr' instead of 'flg'
  • Added new dmh command to analyze the heap on Linux-GlibC

Runs faster!

  • The visual hud performs better!
  • Speed up the radiff2 statistical diff
  • Fix huge load times for fuzzed versioninfo bins
  • rabin2 -x dyldcache is much faster and eats less mem

Enhancements

  • Fix #4928 - Show string context in /z and /
  • Fix floating pointer computations in ?
  • Update C++ demangler from the latest GNU binutils
  • Much better big endian support
  • wopO/wopD now support longer buffers and honor endianness
  • ELF vaddr fixes
  • Remove some dupped helper functions like hex2int()
  • Added realtime hexview edit mode
  • More commands support JSON output
  • Better heap analysis support dmh
  • Better thumb/arm/arm64 pseudo, analysis and disasm
  • Optimized to work with the latest capstone-next from git
  • Connect timeout is now working on Windows

RAP

  • Fix #5341 - rap:// with no file works now
  • Fix #5338 - Add ability to start RAP server in background. (#5416)
  • Fix WRITE operation in the rap protocol

R2PIPE

  • Fix #5339 - Projects now work with r2pipe
  • Support Python3
  • Added MIT license to r2pipe.cs and publish it in Nuget
  • Initial implementation of the Async Python r2pipe api (chr0hn)
  • Raise meaningful exception if radare2 is not installed

R2PM

  • Adding R2PM_GITDIR for easy packages local testing (#5475):
  • Added r2pm -r to run commands in path
  • Added 7 new packages
  • Show r2pm clone directory in r2pm init
  • Only use ~/.config/radare2/prefix/bin

Android

  • Improvements in DEX: avoiding name glitches and parse fields and statics
  • Detect local variables in Dalvik code analysis
  • Improve arm/thumb detection building ranges based on anal hints.
  • Updated material webui (WIP)
  • Builds fine on Termux

Crypto

  • Add experimental CPS2 crypto plugin
  • Fix #5007 - Clarify the difference of hash/encoder/crypto
  • Fix #4965. Add support for luhn searching and hashing.

Refactorings

  • core/bin.c -> core/cbin.c
  • r_util.h splitted into multiple files libr/include/r_util/*.h
  • r_flags no longer depends on r_cons
  • Rename CSR disasm/anal into XAP4 Fix #5355
  • Remove x86.tab from r2 master moved to extras
  • Calling Conventions are now defined in SDB at runtime
  • Move all test programs into the r2r/unit
  • Updated type database
  • Add spr32d70 and gsprop32 sdb for issue 5486 (#5491)
  • few enhancements for afv FIX #5459 (#5461)
    • replacing afv[bsr]n with afvn
    • replacing negative sign n with _
    • being consistent across the documentations (args + locals = vars)

Security

  • Several null derefs and memleaks has been fixed
  • Fixed a buffer overflow in base64 decoder
  • Fix infinite loop issue in ESIL ,,
  • Fixes a crash in capstone

This release in numbers:

  • commits: 282
  • fix: 163
  • crash: 11
  • new: 2
  • add: 50
  • anal: 10
  • leak: 5
  • esil: 7
  • debug: 10
  • type: 8
  • oob: 2
  • honor: 7
  • update: 17
  • r2pm: 5
  • clean: 8
  • endian: 6
  • indent: 3
  • command: 14
  • enhance: 3
  • diff:
    - add: 24865
    - del: 19653
    - diff: 5212
.------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
|                                                                                                                                                          Release @                                                                                                                                                           |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|     name     | commits | fix | add | leak | update | r2pm | clean | esil | endian | commits |                                                                                                            authors                                                                                                             |
|--------------|---------|-----|-----|------|--------|------|-------|------|--------|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|              |     239 | 134 |  40 |    3 |     16 |    5 |     6 |    5 |      4 |     239 |                                                                                                                                                                                                                                |
| binr/radare2 |       2 |   2 |   1 |    0 |      1 |    0 |     1 |    0 |      0 |       2 | zakaria.addi pancake                                                                                                                                                                                                           |
| binr/rabin2  |       2 |   1 |   0 |    0 |      0 |    0 |     0 |    0 |      0 |       2 | pancake alvarofe                                                                                                                                                                                                               |
| binr/rahash2 |       1 |   1 |   0 |    0 |      0 |    0 |     0 |    0 |      0 |       1 | pancake maijin                                                                                                                                                                                                                 |
| libr/hash    |       3 |   2 |   1 |    0 |      0 |    0 |     0 |    0 |      0 |       3 | maijin pancake mo                                                                                                                                                                                                              |
| libr/debug   |      14 |  10 |   1 |    0 |      0 |    0 |     1 |    1 |      0 |      14 | pancake oddcoder maijin mail n54 alvarofe matt crowell                                                                                                                                                                         |
| libr/bin     |      32 |  22 |   3 |    1 |      1 |    0 |     0 |    0 |      0 |      32 | pancake alvarofe dlpolanco05 maijin crowell                                                                                                                                                                                    |
| libr/core    |      98 |  59 |  18 |    3 |      6 |    0 |     4 |    2 |      4 |      98 | pancake alvarofe oddcoder maijin alex.darredevil crowell pvt.gord mo zakaria.addi alexandru.razvan.c mail mrmacete Owlz sdusuel brainstorm javierprtd soez vladimirdiaconescu monosource kalianon2816 sushant l4l dario.mail1  |
| libr/crypto  |       3 |   1 |   2 |    0 |      0 |    0 |     0 |    0 |      0 |       3 | pancake maijin                                                                                                                                                                                                                 |
| libr/cons    |       3 |   2 |   0 |    0 |      0 |    0 |     0 |    0 |      0 |       3 | alvarofe maijin                                                                                                                                                                                                                |
| libr/anal    |      34 |  23 |   9 |    3 |      1 |    0 |     2 |    4 |      0 |      34 | oddcoder pancake maijin alvarofe crowell droberson mrmacete aronsky alexandru.razvan.c alex.darredevil brainstorm                                                                                                              |
| libr/asm     |      22 |  13 |   0 |    0 |      1 |    0 |     0 |    1 |      0 |      22 | pancake alvarofe sven maijin                                                                                                                                                                                                   |
| libr/util    |      27 |  12 |   2 |    0 |      1 |    0 |     0 |    0 |      1 |      27 | pancake maijin alvarofe reddevillg nikolaih crowell                                                                                                                                                                            |
| libr/egg     |       1 |   0 |   0 |    0 |      0 |    0 |     0 |    0 |      0 |       1 | maijin                                                                                                                                                                                                                         |
| man          |       2 |   1 |   0 |    0 |      1 |    1 |     0 |    0 |      0 |       2 | pancake monosource                                                                                                                                                                                                             |
'------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------'

Contributors: (37)

  • 135 pancake
  • 30 alvarofe
  • 23 maijin
  • 15 oddcoder
  • 9 crowell
  • 9 alex.darredevil
  • 8 xvilka
  • 5 sven
  • 3 chris
  • 3 pvt.gord
  • 3 monosource
  • 3 mrmacete
  • 2 zakaria.addi
  • 2 brainstorm
  • 2 mail
  • 2 mo
  • 2 dlpolanco05
  • 1 reddevillg
  • 1 javierprtd
  • 1 droberson
  • 1 inndy.tw
  • 1 aronsky
  • 1 dreamdance61
  • 1 Owlz
  • 1 n54
  • 1 sdusuel
  • 1 asuarezbm
  • 1 damo22
  • 1 patrikbachan
  • 1 =skuater
  • 1 nikolaih
  • 1 jredestig
  • 1 sushant
  • 1 skuater
  • 1 matt
  • 1 p4n74
  • 1 soez
  • 1 me
  • 1 dx
  • 1 vladimirdiaconescu
  • 1 kalianon2816
  • 1 dario.mail1
  • 1 l4l
  • 1 alexandru.razvan.c

Downloads