Commit Graph

19712 Commits

Author SHA1 Message Date
pancake
75c7d6912e * Oops merge! 2009-03-08 23:49:49 +00:00
pancake
b2e785fc61 * Add 'static-plugin' feature to r_asm module
* Make rabin2 support 'arm' instead of 'asm_arm' for -a (autoprefix 'asm_')
* Some build fixtures
* Static plugins are configurable in libr/config.mk and libr/config.h
2009-03-08 23:49:15 +00:00
Nibble
98a19ea06f * Fixed IFDBG Macro
* r_lib debug messages enabled through -DR_DEBUG
2009-03-08 21:41:02 +01:00
Nibble
9ecc5775a7 * r_bin
- r_bin_init splitted in r_bin_init and r_bin_set_file
* r_core
  - Fixed radare2
* r_parse
  - Fixed parse_mreplace build
* r_lib
  - Lazy dlopen by default
2009-03-08 18:29:21 +01:00
Nibble
04c9a3f5d1 * r_bin
- Major refactoring (using r_lib infrastructure)
  - Removed outdated test programs
  - Updated rabin2

--HG--
rename : libr/bin/elf.c => libr/bin/p/elf/elf.c
rename : libr/include/r_bin_elf.h => libr/bin/p/elf/elf.h
rename : libr/bin/elf64.c => libr/bin/p/elf/elf64.c
rename : libr/include/r_bin_elf64.h => libr/bin/p/elf/elf64.h
rename : libr/include/r_bin_elf_specs.h => libr/bin/p/elf/elf_specs.h
rename : libr/bin/mach0.c => libr/bin/p/mach0/mach0.c
rename : libr/include/r_bin_mach0.h => libr/bin/p/mach0/mach0.h
rename : libr/bin/pe.c => libr/bin/p/pe/pe.c
rename : libr/include/r_bin_pe.h => libr/bin/p/pe/pe.h
rename : libr/include/r_bin_pe_specs.h => libr/bin/p/pe/pe_specs.h
2009-03-08 16:49:15 +01:00
Nibble
73343076a8 Added tag 0.1 for changeset ae3b6b66b9de 2009-03-08 10:37:28 +01:00
pancake
098b7f7fc8 * Sync changelog and drop RELEASE mark 2009-03-07 17:58:17 +00:00
pancake
04ca0c78d6 * Cut release for r2-0.1
* Merge dist+shot make targets
  .PHONY them all
* (Un)Install include files in $pfx/include/libr/
2009-03-07 17:47:59 +00:00
Nibble
8ff0d7e13c * Removed several warnings 2009-03-06 12:53:19 +01:00
pancake
19a062528e * Added DESTDIR and 'uninstall' make targets 2009-03-06 00:38:23 +00:00
pancake
03a613e7d2 * Fix lot of warning messages 2009-03-06 00:00:41 +00:00
Nibble
3d76339cec * Added java plugin for r_asm
* Added java assembly support in rasm2
2009-03-05 16:58:13 +01:00
pancake/fluendo
7da2562c91 * Add 'dist' and 'shot' make targets
* Bigger console buffer by default
2009-03-05 13:15:28 +01:00
Nibble
7684ccf7e3 * Updated mreplace 2009-03-04 14:14:49 +01:00
pancake
f88fd507cd * fix r_asm and r_anal deps
* Initial import of depgraph.pl helper script to get the libr
  internal library dependencies graph with graphviz
2009-03-04 12:39:51 +00:00
pancake
5e418c76a9 * Add 'A' (singlechar) values for math expressions
- Stripped down version based on the r1 implementation (ow yeah)
* Fix build of r_bin (oops)
  - Now ERR() is a static inline function instead of a macro
2009-02-27 01:06:37 +00:00
pancake
1a1860c358 * Add IS_PRINTABLE in r_types
* Add ERR() macro in r_types
  - r_bin uses now ERR() instead of nonportable fprintf(stderr,
* Initial dummy work on r_bin_mach0
2009-02-27 00:54:26 +00:00
pancake
8a3349400b * Import the cons_interactive functionality of r1 cons 2009-02-27 00:18:19 +00:00
Nibble
ea44bb103a * r_anal
- Added initial anal_x86_bea plugin (op analysis using bea engine)
    'ao' command in radare2
  - Minor fixups
* r_asm
  - Modified r_asm_aop_t to fit r_anal requirements
  - Updated r_asm plugins
* r_parse
  - Removed several warnings from mreplace
  - Removed unnecessary includes
2009-02-26 15:15:19 +01:00
Nibble
1d5162d8e3 * Added r_parse plugin for mandingo's mreplace 2009-02-26 02:31:03 +01:00
Nibble
801ed768fc * Added r_parse lib
* Added pseudo syntax poc to radare2 (asm.pseudo)

--HG--
rename : libr/parse/pseudo.c => libr/parse/p/parse_x86_pseudo.c
2009-02-24 15:58:21 +01:00
Nibble
1b71e0e52d * Fixed build O:)
* Removed warning from asm_x86_bea plugin
2009-02-20 16:29:12 +01:00
Nibble
8e86cb69c9 * Fixed r_reg build
* Fixed ptrace io plugin build (64bits)
2009-02-20 14:43:59 +01:00
Nibble
bda701d02f * r_asm
- Removed warnings
  - Added error handling to rasm2
* r_lang
  - Fixed "print help" bug
2009-02-19 18:13:34 +01:00
Nibble
ab956379ea * Fixed plugin name length error in r_{asm, anal, lang}
* r_asm
  - asm_bea renamed to asm_x86_bea
  - asm_olly renamed to asm_x86_olly
  - Minor fixups in rasm2
* r_debug
  - R_ASM_ARCH_ renamed to R_DBG_ARCH_

--HG--
rename : libr/asm/p/asm_bea.c => libr/asm/p/asm_x86_bea.c
rename : libr/asm/p/asm_olly.c => libr/asm/p/asm_x86_olly.c
2009-02-19 16:41:51 +01:00
Nibble
10bac23574 * Fixed rasm2 init O:-) 2009-02-19 14:34:06 +01:00
Nibble
d8f56c56e9 * r_asm
- Fixed asm_bea
  - More refactoring on rasm2
2009-02-19 14:24:51 +01:00
Nibble
2cc6fcd1e4 * r_asm
- Initial import of bea engine
  - asm_x86 splited in asm_x86, asm_olly and asm_bea
  - More refactoring
2009-02-18 22:10:47 +01:00
Nibble
a2abae1c01 * rasm2 refactoring
* Fixed r_lib null handler issue
* Default blocksize of 64B
2009-02-18 16:20:14 +01:00
Nibble
ca77c47350 * rasm2
- Fixed
  - All the language plugins are now supported
2009-02-18 13:59:57 +01:00
pancake
20e4696d50 * Added doc/changes-from-1.x
* Added r_core_yank* methods and 'y' command
  - Update help message
* radare2 is now handling -s and -b cmdline flags
* Fix r_print_hexdump
2009-02-18 13:10:59 +01:00
Nibble
777235bb87 * r_asm
- Added arm plugin
  - Added bf plugin
  - Added csr plugin
  - Added m68k plugin
  - Added mips plugin
  - Added ppc plugin
  - Added sparc plugin
  - Removed deprecated test programs
  - Updated rasm2 (not working)
* r_parse
  - Initial import

--HG--
rename : libr/asm/arch/arm/asm.c => libr/asm/p/asm_arm.c
rename : libr/asm/arch/bf/asm.c => libr/asm/p/asm_bf.c
rename : libr/asm/arch/csr/asm.c => libr/asm/p/asm_csr.c
rename : libr/asm/arch/m68k/asm.c => libr/asm/p/asm_m68k.c
rename : libr/asm/arch/mips/asm.c => libr/asm/p/asm_mips.c
rename : libr/asm/arch/ppc/asm.c => libr/asm/p/asm_ppc.c
rename : libr/asm/arch/sparc/asm.c => libr/asm/p/asm_sparc.c
rename : libr/asm/arch/x86/pseudo.c => libr/parse/pseudo.c
2009-02-18 03:47:40 +01:00
Nibble
23afb7eeb3 * r_asm
- Used plugin infrastructure
  - Huge refactoring
  - Added x86 plugin

--HG--
rename : libr/asm/arch/x86/asm.c => libr/asm/p/asm_x86.c
2009-02-18 01:49:26 +01:00
pancake
b20295c4ea * Initial working implementation of the debugger mode
- Some minor hacks everywhere to glue
  - 'dr' command runs '|reg' io-ptrace command (reg dbg stuff needs more work)
  - '|reg' is a temporal command that prints x86-ptrace-linux registers
* Added debug visual print mode using && :)
  - 's' key steps in debugger
* Added m and ' keys in visual (mark and goto mark) like in vim or r1 :)
  - store/use seek addresses
* Make use of the cmd.prompt and cmd.vprompt magic
* Added debug handlers list with 'dh'
  - dh ptrace called at init
  - dp pid called at init too (hacky style)
* Added debug->wait method for the debug handlers
* Add 'fb' command to set base for flags
* Fix flag redefinition (f foo && f foo @ 33) now works
* Added s64 type (signed 64 bit integer)
* Fixed && and '"' special chars in commnad parsing

--HG--
rename : libr/debug/p/ptrace.c => libr/debug/p/dbg-ptrace.c
2009-02-18 01:43:57 +01:00
pancake
6c6afc7906 * Merge train vs head 2009-02-17 11:06:42 +01:00
pancake
0503639432 * Add initial 'fs' command to handle flag spaces
- Added the necessary stuff in r_flags
  - Flag size is now 64 bit size
* Some random and useless fixups for r_var
2009-02-17 10:59:26 +01:00
Nibble
dec90751a1 * r_asm
- Added csr and m68k support
  - Added csr and m68k test programs
  - Fixed Makefile
2009-02-17 02:46:52 +01:00
pancake
731472d2b9 * Remove debug printf 2009-02-17 00:10:32 +01:00
pancake
4fcf226269 * Lot of random work on multiple fronts
* Add 'var' in build liblist and 'vapi/t' for make clean
* Add ^C handler for r_cons. support for callbacks
* Add support for ./m ELF for example to interpret the output of commands
* Fix a bug in the regexp algorithm that can get into infinite loop
* Binmask can now contain non hexpair values
* Add '/m' search regexp matches using the new R_SEARCH_REGEXP algorithm
  - Handle ^C in search loop..needs to use callback method
* Properly cleanup the flag names
* Added asm.bits and asm.os eval vars
* Added some random tips for debug in README
  - Stupid snippets for import/export data between modules
  - Register support requires a rethink
* Initial work on the integration of r_io_undo() api
2009-02-17 00:09:40 +01:00
pancake/fluendo
1fd5c3118e * Fix build and some minor fixups 2009-02-16 19:59:54 +01:00
pancake
ac10ad7df1 * Added dummy xrefs
* Added cmd_meta in r_core->cmd
* Cleanup data type range before adding new one in r_meta
  - mix idea for meta+ranges (commented)
* Search -> initialize renamed to begin()
* Added memcmp_mask for r_util
* Fix crash issue in perl module

--HG--
rename : libr/search/xrefs.c => libr/search/old_xrefs.c
2009-02-16 11:24:45 +01:00
pancake
1f02a3f1be * Merge local commits with head 2009-02-16 03:16:35 +01:00
pancake
05651257c9 * Initial working implementation of r_meta
- Added test program that sets and gets metadata.
  - It needs much more features and stuff
  - Integration with r_core is mandatory! :)
  - Hard simplification from the old r1 code
* Added r_str_concat and r_str_concatf in r_util
2009-02-16 03:14:19 +01:00
Nibble
d3643d52a6 * Minor fixups in r_anal 2009-02-16 03:13:51 +01:00
Nibble
f2a93116c9 * r_anal
- Redefined r_anal_aop
  - Fixed x86 plugin
* r_core
  - Added ao command (test)
* Fixed r_search Makefile
2009-02-16 02:12:02 +01:00
Nibble
26b5e48ede * r_anal
- Initial (non working) implementation
  - Added dummy and x86 plugins
* r_core
  - Added 'anal' command
* r_asm
  - Removed aop parser
2009-02-16 00:57:03 +01:00
pancake
cd84224709 * Fix vapi/t build
* Add regexp search method in r_search
  - Uses libc regcomp+regexec
  - Added regexp test example
* Added libr.pc for pkg-config
2009-02-15 23:32:17 +01:00
pancake
33d94abaec * Fix build of python plugin in ArchLinux (python2.6 instead of 2.5)
* Simplify the perl plugin
* Drop stupid \n debug in dietline O:)
2009-02-14 18:15:51 -08:00
pancake
5832a61958 * Initial drafts for r_meta
* Minor random cleanups
2009-02-14 16:48:11 -08:00
Nibble
98ed88610a - Added perl support 2009-02-14 12:49:02 +01:00