Commit Graph

750 Commits

Author SHA1 Message Date
pancake 153b8b1f9d Add 'rmd' target, enhace io_self and add library version to libr2.so 2014-11-22 02:51:35 +01:00
pancake 9a0d62da22 Finally remove the void*debug pointer from RIOPlugin (use bool isdbg) 2014-11-21 11:36:51 +01:00
inisider ee429365a7 Add JSON support to the PDB parser 2014-11-21 11:28:12 +01:00
Riccardo Schirone db6247ac5a Fix linker flags issue on darwin, when USE_RPATH=1 2014-11-20 09:59:29 +01:00
pancake ccf0ad030d Run -A before -i in r2 (fixes a test) 2014-11-19 15:55:59 +01:00
condret 1b2d87341d fix 'r2 -q'-segfault 2014-11-18 16:40:32 +01:00
pancake 3fadf91a93 Load file from stdin with `r2 =` (TODO: load RBin) 2014-11-18 11:44:16 +01:00
pancake cd29612889 No ranal2 for this release 2014-11-10 11:39:43 +01:00
pancake 17b89e3bf6 Fix #1345 - Cleanup some offensive fortunes 2014-11-10 06:04:46 +01:00
pancake 587642619b Re-enable ranal2 build 2014-11-10 03:55:44 +01:00
pancake 9d042142b3 Honor 'q!' and scr.interactive when quitting debug mode 2014-11-08 13:15:45 +01:00
Maijin e160851174 Add help and man for - and -- 2014-11-03 17:04:14 +01:00
pancake 69b40d1afa Add ragg2 -n and -N and fix some bugs in r_buf and r_egg 2014-10-29 02:44:21 +01:00
pancake bb3be2c237 Implement `rax2 -N` for a C friendly version of -n, and support 64bit values 2014-10-28 16:32:53 +01:00
pancake b91d1d9eca Fix #1556 - radiff2 -x dump issue 2014-10-28 11:54:58 +01:00
pancake a2c3647ad0 Somewhat better BoostJam support 2014-10-26 02:47:08 +02:00
pancake e807868b78 Honor rabin2 -N minstrlen for -z,-zz,-zzz 2014-10-24 20:13:18 +02:00
pancake 131b9092c2 Implement rabin2 -zzz (dump strings to stdout, works on huge files) 2014-10-24 18:26:37 +02:00
pancake 3435dc2bb5 Implement bin.maxstr and handle it from rabin2 -N min:max 2014-10-21 04:39:37 +02:00
pancake 5c2177f8b3 Add ragg2 -z to output in C string syntax 2014-10-20 02:14:19 +02:00
pancake 3a9a733ebf Implement rax2 -F (r_stdin_slurp(), r_hex_from_c())
- Update rax2 manpage
2014-10-20 00:46:59 +02:00
pancake a07530dff1 Fix rasm2 -f return value 2014-10-19 18:16:53 +02:00
pancake bbea37a4e1 Fix build and add some notes to the PDB parser 2014-10-18 19:49:31 +02:00
inisider 621d757487 rabin2: add pdb print infortmation option
Conflicts:
	binr/rabin2/rabin2.c
2014-10-18 19:49:26 +02:00
inisider d547b037c9 Initial implementation of the PDB parser
* Contains 78 rebased commits

- add R_PDB struct
- add implementation of init_pdb_parser()
- add stub for init_pdb7_root_stream()
- add init_pdb_stream() function
- add functions for working with stream_file
- do fixes for stream_file_read
- add getting of sizes
- save streams to rlist
- add light implementation of read_root function
- add stubs for parsed_pdb_stream_init
- add parsing of pdb info stream
- start of parsing tpi header
- add stub for tpi stream
- fix stream file read. +stubs for eFIELD_LIST
- add parsing of lf_enumerate
- add parsing of lf_nesttype()
- add parsing of LF_METHOD
- add parsing of lf_member
- add some additional parsing of types
- fix some memory leaks
- add support of LF_METHOD and LF_MEMBER
- add support of LF_NESTTYPE
- add support of LF_ENUM
- add parsing of lf_structure
- add parsing of lf_pointer
- start of lf_array implementation
- back implementation of lf_array
- add implementation of LF_MODIFIER
- add implementaion of lf_arglist
- add implementaion of lf_mfunction
- add useful macros
- add implementation of lf_procedure
- add implementation of lf_union
- add free of sval and printf name of sval
- add implementation of LF_BITFIELD
- add implementation of LF_CLASS
- add implementation of LF_VTSHPAE
- start of refactoring
- finish refactor of the code
- fix memory leak issues
- some refactor of memory managment
- fix memory managment
- add supprot of ushort type
- add function for printing type name and value
- add API for getting leaf types members
- refactor of SType and STypeInfO
- add implementation of get_name/val/... for new types
- fix cast in some function of getting name, val, etc
- add stubs for resolving type
- add pointers to function for getting types
- add connections for types function pointers
- add stub for printing structures
- update memory manadgement and fix some problems in API for working with types
- add process of result from init_pdb function
- print more info about structure
- refactor of printing structure info
- Revert of 9fa8e7083c

refactor structure info printing

more pretty print

refactor code

add parsing of dbi header

add structure stabs for dbi stream

add parsing of dbi_ex_headers

add free for dbi stream

finish parsing of dbg stream

add stubs for streams from dbg stream

add fpo parsing

add free for fpo stream and do some refactor

add parsing of gdata stream

add parsing of pe stream

add parsing of fpo new stream

add fpo new stream

add omap stream parsing

add implementation of printing gvars

add setting parameters for pdb_parser

delete unused comments

delete unused comments
2014-10-18 19:49:22 +02:00
pancake c2f54e700c ragg2 use system default asm.bits 2014-10-18 04:05:54 +02:00
pancake 0b322f5e99 Fix `r2 -d ./ls` 2014-10-16 10:45:33 +02:00
pancake 0e0dc63aa8 Fix `r2 -d` problem not loading syms. Redo the ASLR/PIE again 2014-10-15 15:41:02 +02:00
condret d8e98cf3a3 fix identation for bugfixing purposes 2014-10-10 10:56:15 +02:00
jvoisin b4a56e3fbb Add some comments to ragg2-cc 2014-10-09 21:53:44 +02:00
pancake abd7bcda90 Hackaround for pie bins 2014-10-08 01:54:09 +02:00
pancake 38127e9f43 Load one rbinobj per file. Fix r2 *, `ob` help and a coverity memleak 2014-10-07 10:49:29 +02:00
pancake a842ef2a94 Fix #1479 - r2 -- respects the other parameters now 2014-10-07 01:18:16 +02:00
condret 4f70c1bf89 kill RCoreFile->size 2014-09-30 15:31:19 +02:00
Jonathan Neuschäfer 49504c7eb7 fix r2agent when run without -s 2014-09-28 03:30:29 +02:00
pancake b53eb9222d Fix crash in rabin2 -g (thanks @condret) 2014-09-26 17:55:35 +02:00
pancake d176cb1d01 Fix rax2 2014-09-26 17:11:10 +02:00
condret ab4a5c9632 deprecate RCoreFile->uri 2014-09-25 18:18:07 +02:00
pancake 34365c7bb3 Handle cparse definitions in rbin sdb 2014-09-23 10:23:28 +02:00
pancake 1519a053fd Disable scr.color in r2 -0 2014-09-22 23:07:06 +02:00
pancake f73ecd35dd No Flag Space by default 2014-09-22 17:52:01 +02:00
pancake 6d8b9608a7 Add doc for that new rax2 thing 2014-09-22 16:40:08 +02:00
pancake a095ad7a42 Fix #1356 - rax2 =10 0x89984 or rax2 =16 ... 2014-09-22 16:35:23 +02:00
pancake 4c4173769b Revert "Fixing the issue where file size exceeds size of an integer":
3adb00621b
e2afa84443
0761955fdb
17cc18fad0
135c62fb5d
2014-09-20 15:33:59 +02:00
pancake 94a1841b12 Add 'r2 --' to load no file at all. 2014-09-20 12:51:03 +02:00
Jonathan Neuschäfer 0e6d969e60 Make webui and r2agent a little more ASan-friendly, use strncmp. 2014-09-18 18:56:57 +02:00
dso e2afa84443 Update radiff2.c 2014-09-18 09:03:42 -05:00
dso 0761955fdb Update rahash2.c 2014-09-18 09:02:49 -05:00
Adam Pridgen 135c62fb5d Fixing *most* warnings related to the change in r_file_slurp 2014-09-17 22:37:54 -05:00
Jonathan Neuschäfer c9cfac35a1 Don't say "See r2 -V" in r2 -V
We could also remove this message from r2 -V altogether, but I'd rather keep
it in.
2014-09-13 00:17:37 +02:00