Fix slow ELF loading when shstr section was huge
Added 'ahj' command to list anal hints in json
Add 'ah*' and use it from r_core_project
Fix 'i*' command
Show xrefs before comments
cmtright is false by default
Fix ehdr virtual section on mach0 files
Addr 'Vdr' command to rename functions in visual
Add $S and $SS variables (section offset, section size)
Fixed ragg2 -e segfault
Fix use of ragg2 -p
Fix memleaks and null derefs in rio and rsocket
Fix some build warnings
Fix the segfaults found in the ELF parser
Dwarf parsing is only done if bin.dwarf is true
Changes in the disasm loop to support continuous fun
Fixes disasm after opcode payload
Added RConstr code in r_util (not yet used)
RBinSize implemented for elf, mach0 and plan9
Fix build
* Use '_' key in visual mode to enter in hud mode
* Support mach0 files with multiple sections with same name
* Fix parsing of commands with nested quotes
* rename ?z to ?l
* added new command ?y to get and set yank buffer contents to stdout
* ?i stores the input into the yank buffer now
* ?I accepts a file name as argument which is loaded as hud
* ?k used as key=value temporal storage
* Add calc.c .. plans are:
- support proper parenthesis in math.c
- support floating point arithmetics
- Used to autoforce io.va after loading the bin
- Fixes loading kernel modules and object files
* Fix loading strings on a object file without io.va
* Add install-rev.sh script
- Select arch/bits with r2 -a and -b (old -b is now -B)
- Kinda hacky, but works for osx-x86/32/64
- Export offset information of fat bins
* Show flags in search output
* Disable interactive console in rabin2
* Do not comment int3 opcodes
- supports x86, arm, ppc, sparc, mips
* Use r_cons in r_core_bin
* Fix link of rabin2
- Use r_cons_flush()
- Refix ehdr issue
* r_io_size() now ignores va
* Add R_SYS_BASE
* Move r_anal_get_fcn_get into fcn.c
* Some more fixes
* Simplify ln -fs in install .. trying to make debian and openbsd happy
* Fix an out-ot-range bug in ELF parser
* Fix segfault when trying to create sections with an empty name
* Install python bindings only in site-packages
* Grep for go in supported.langs
* Update manpages
* Added r2 -H for env and files help
* Add rarun2 -h
* Show assembler/disassembler features in rasm2 -L
* Add opcode 'mov dword [ebp-12],4' to x86.nz
- Make t/test.nz work with x86.olly (32bit only atm)
* Fix unknown os issue with tiny-pe files in r_bin
* Fix some plugin names build fails in mingw32
* MAGICPATH renamed to R_MAGIC_PATH
* Add another experimental way to generate gir files
- Added dummy test.js for nodejs
* Build python-dist in farm
--HG--
rename : man/rarc2-tool.1 => binr/old.rarc2/rarc2-tool.1
rename : man/rarc2.1 => binr/old.rarc2/rarc2.1
- Experimental.. not yet ready for release
- Add rasm2 -F flag to specify input and output filters
$ rasm2 -F att2intel
* Add new att2intel r_parse plugin
- make mrproper required
* Initial implementation of RBinClass
- Only experimental and Java-specific atm
- Add rabin2 -C to display classes
* Optimize some r_str functions
- Add r_anal_fcn_xref_{add|del} methods
* Some fixes for r_bin_dex file format
- Properly name all fields and methods
- Add entry support in java too
* Add default sections for dex and java class files
- constant pool, code, data, extra
* Beautify 'S=' command
* rarun2 and rasc2 now depend on r_util
* Add r_mem_protect() as a wrapper for mprotect/VirtualProtect
* Fix segfault in java class parser
--HG--
rename : binr/rarun2/main.c => binr/rarun2/rarun2.c
* Add -O flag to ragg2 as an alias for -o a.out or -o <file> (without extension)
* Add rabin2 -M (get main) for Java Class files
* Add emit_trace (code tracer) for r_egg. useful to debug
- ragg2 -a trace hello.r
- Add emit->jmp() function pointer and emit->retvar
- many fixes in function calls and definitions
- Added support for 'break;' 'break();' and 'goto();'
- Added .ret variable as an alias for eax, rax or r0
- Show debug information in sdb format
- Fix null pointer segfault
- Still work-in-progress for proper debug info
* Some work on r_egg
- Fix windows and osx default syscall tables
* Export version number in vapi R2_VERSION
* Hide ccache error if not found in sys/install
* Fix uninitialized shstrtab segfault in r_bin_elf
* Do not create new objects unnecesarily in r_core_magic
* Handle length argument in pb command
* Fix ps command
* @@ now prefixes each line with the offset (useful for search)
- can be problematic when used with macros
> / lib
> ps @@ lib*
* Huge refactoring in r_magic, now using the r2 coding standards
- Use r_magic_new() and _free() instead of open/close
- Reduced -1KLOC
- x86_64 has been tested and works fine, but needs some love
- the arm mach0 (iPhone) is not yet tested, but the bin looks ok
* Install syscall sdb files into versioned directory in lib/radare2
- Registers for which version of core was compiled
* Use tar --format=posix when GNU tar
- Fixes the dependency on BSD systems
* Fix in doc/fortunes
* Fix this class pointer in asm_java
* Re-Fix uglily the bin_elf strtab issue (needs more work)
* Fix Vala regression in r_asm.vapi
* Some alloca->malloc fixes for w32
* More error checking in r_sys_rmkdir
- Uses the new r_sys_mkdir_failed() api
- works on windows and posix
* Disable asm.dwarf when the plugin fails to init
- Displays a warning message
* Added 'e scr.cols=16'
- Determines the width of the hexdump (px, x)
- Used also by Visual mode hjkl dimensions
- Refactor r_bin to work better with big fatbins
- Don't load all sub-bins in memory
Only load the fatbin and the selected sub-bin
- Add r_bin_set_archidx() and r_bin_list_archs()
- Update t/{rpathdel.c, test_meta.c}
* rabin2
- Use '-f str' to select sub-bin by name
- Add support for fatbins (currently only fatmach0)
- Minimize creation of r_buffers
* rabin2
- Add flag -A for listing archs
- Add flags -a and -B for selecting arch
- In the next commit -A and -B will be removed and -a will work
with the following format:
[-a arch bits] for selecting arch
[-a] for listing them
--HG--
rename : libr/bin/p/bin_fatmach0.c => libr/bin/p/bin_xtr_fatmach0.c
- Parse local symbols
- Resolve non-lazy symbol pointers
- Set import type to FUNC or OBJECT
- Refactoring of get_imports
- Add field type to r_bin_mach0_{import, symbol}
- Fill RBinImport->size within bin plugins
- Add field size to RBinImport
* r_bin_elf
- Correct value of r_bin_elf_symbol_t->size for imports
* rabin2
- Output af+ command in radare mode
* Update TODO
- this is a compiletime module dependency
- java needs to share constantpool between anal, asm and bin
* Added compile-time introspection POC macros in r_types.h.h
* Update compilation instructions for w32 in doc/windows
* Identify new osx binaries as mach0, not java
* io.va only works when there are configured sections
- Rename characteristics into srwx
- Fix ref to binmain in the pe64 plugin
* r_bin_pe
- Rename section.characteristics into section.flags like in
the other formats
- Add r_bin_get_main
- Implement get_main for elf32 & elf64
- Rename RBinEntry to RBinAddr
* rabin2
- Add flag -M to output main offset and va
* bindings
- Update r_bin.vapi
- Minor fixup in r_util.vapi
- Linking fixed for r_sign and
* Fix some reads out-of-bounds in r_bin_elf
- Use __strnlen instead of ELF_STRING_LENGTH
- Some simplifications using macros
* Open plugins in radare2 found in '.' by default
- Make w32 happy
- Fix RLib for w32 and local plugin files
* Implement r_sys_cmd_str() for w32
- Also r_sys_setenv()
* Fix printfs in lib/t example
* win7 syscall list is now default windows one
* Added 'r_sys_perror' to make it portable on *nix and w32
* Rename RLibrary into RLib
- Fix some issues for 64bit instructions in z0mbie dislen
* Fix EOF, ^D and terminal resize
- Do not understand terminal resize as EOF
* Display rpathstrip lines to identify segfaults
* Implement 'ao' command to analyze opcodes
* Use RMemoryPool and RList in RSearch
- Store hits in RList if no callback defined
* Fix constructor of r_mem_pool if alloc fails in init
* Remove unused file from search/ binparse.c
* Merge r_trace into r_debug (RDebugTrace)
- Implement 'dt' command to manage debugging traces
- TODO: Track register values and memory changes
- Added dbg.trace and dbg.trace.tag
* Added r_sys_now() to retrieve ut64 value of current time
- Must check endianness issues
* Initial work trying to implement RPATH support to ELF
* Less flat command tree
- 'dt' is now 'dbt'
- 'dk' is now 'dpk'
* Some more random syntax cleanup fixes
* Say 'yes/no' instead of 'ok/fail' in check-langs script
- More work on r_bin write
- Add elf & elf64 section resize
Needs refactoring and split into basic operations
* rabin2
- Rename flag -o to -O for operations
- Add flag -o for output file
- Add resize operation (-O r/.data/1024) for testing purposes
- More work on write support
- Initial API design
- Fix typo in bin_write_elf.c filename
--HG--
rename : libr/bin/p/bin_wite_elf.c => libr/bin/p/bin_write_elf.c
- Add field bits to RBinInfo
- Make r_bin_*_get_arch compatible with r_asm
* rabin2
- List sections before anything else
- Add "e asm.bits x" to "rabin2 -ir" output
* r_flags
- Remove r_flag_set_base
* r_io, r_core
- Now r_io handles all the va related stuff
- Execute rabin2 with the flag -v if io.va = true
- asm.arm plugin is now embedded into r_asm as static plugin
* Added register alias names for r_reg
- Add register names for x86/32/64/arm
- pc, sp, bp, a0, a1, a2, a3
* Do not build lua5.1 if no lib found
* Enable cfg.ffio in debug mode
* Some code simplification in r_asm
- Fix a negative offset bug in elf on ARM binaries
- Added R_BUF_CUR for reading at current offset
* r_bin
- r_bin_java rewritten using r_buf
- Removed unnecessary headers
- Some minor fixes in r_bin_pe and r_bin_elf
- Add r_buf_fread for "format read" (needs a better name)
- Fix segfault in set_bytes
- Fix r_buf_read
* r_bin
- Refactoring of r_bin_mach0 using r_buf and r_file
- filedescriptor is only defined by r_io_set()
- the rest of functions just take one argument less
- there are not enought filedescriptor changes to force fd resolution all the time
* Fix memory leak in r_io_open
- Better error management
- Fix Makefile warnings in libr/io/p
* Added read_at and write_at helper functions
* Random indentation fixups
* Added shm.mk and malloc.mk
* More useless work for r_iter
- Add r_str_dup_printf
* r_bin_elf
- Huge refactoring
r_bin_elf_get_{imports, symbols} will be modified soon
r_buf|r_io will be used, so 'swap-endian' and 'malloc-lseek-read' calls will be removed
Need to rethink section resize (temporary disabled)
* rabin2
- Refactoring