6061 Commits

Author SHA1 Message Date
Anton Kochkov
7733fceafa Fix IDA->r2 python script 2014-10-22 18:06:16 +04:00
pancake
7284b3909b Fix crash in pf* 2014-10-22 15:57:51 +02:00
Anton Kochkov
56d04cf0b3 Fix building bindings 2014-10-22 15:11:42 +04:00
condret
c8c276f2cd add r_io_map_list 2014-10-22 11:04:37 +02:00
pancake
bf541e8ec8 More magic cleanup 2014-10-22 06:07:22 +02:00
pancake
8d815174af Add enums for elf for pfo 2014-10-22 02:30:37 +02:00
pancake
d1bf968620 Honor cursor in Vdr and Vdh 2014-10-22 01:01:38 +02:00
pancake
1d9955b2d4 Clean unnecessary MAGIC rules and optimize its search
- Cleanup MAGIC database to avoid false positives,
- Optimize magic search loop 6x faster /m
2014-10-22 00:56:11 +02:00
pancake
9c7518681c Add elf-32, 64 and pe32 bin/d format files 2014-10-21 14:44:39 +02:00
pancake
329bc84488 Add 'pfo' to open format description files 2014-10-21 11:49:33 +02:00
pancake
0e28b85250 Add getrandom() syscall definition for linux-x86-{32,64} 2014-10-21 10:29:14 +02:00
pancake
3435dc2bb5 Implement bin.maxstr and handle it from rabin2 -N min:max 2014-10-21 04:39:37 +02:00
pancake
5201f772f8 Add UPX linux signature for Yara. Force to use yara 2.1 in sys/yara.sh 2014-10-21 02:06:22 +02:00
pancake
fc8773f97e Disable mouse in Vd and longer showtime in scr.feedback=2 2014-10-21 01:20:06 +02:00
pancake
0395dc4618 Add afij afi* and sort af? help message 2014-10-21 01:07:25 +02:00
pancake
1c7b576f1b Another fix for xrefs 2014-10-21 01:02:25 +02:00
pancake
8b7d4b033c Add smyck theme 2014-10-21 00:08:43 +02:00
pancake
442334230b Show filtered disasm in axt/axf and fix dupped refs 2014-10-20 23:36:10 +02:00
pancake
51121e9c9b Make anal.eobjmp an option for testing different analysis rules 2014-10-20 23:13:38 +02:00
pancake
a6065d4823 Fix 'axt' disassembled opcode 2014-10-20 23:01:43 +02:00
pancake
63a0a6770b Fix r2 -d oo updated offset issue 2014-10-20 22:48:50 +02:00
pancake
8e8bf631bf Update capstone to use the new X86_PREFIX defines 2014-10-20 14:48:25 +02:00
pancake
9635ee8e5a Handle '!' prefix in rarun2's args 2014-10-20 13:39:37 +02:00
condret
43e8d3ab0e add r_io_reopen 2014-10-20 13:34:04 +02:00
pancake
7aaf9d5215 Fix syscall table load when asm.bits changes 2014-10-20 05:09:39 +02:00
pancake
5c2177f8b3 Add ragg2 -z to output in C string syntax 2014-10-20 02:14:19 +02:00
pancake
b8b240588e Add TRX magic header 2014-10-20 02:09:39 +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
09ebe21a20 Add 'asj' and fix 'asl' 2014-10-19 22:43:33 +02:00
pancake
b3526455b5 Identify the two ptrace issues and fix them all 2014-10-19 18:28:42 +02:00
pancake
a07530dff1 Fix rasm2 -f return value 2014-10-19 18:16:53 +02:00
pancake
37bc6836e2 Remove noisy pdb messages 2014-10-19 13:53:54 +02:00
pancake
586e752da9 Avoid noisy DWARF4 debug printf 2014-10-19 12:43:27 +02:00
pancake
79c5b24bfe Fix pxw/pxq width for hex.cols=1 2014-10-19 12:18:40 +02:00
pancake
c7a4f3ce14 Refix ptrace-write problem 2014-10-19 11:53:07 +02:00
pancake
4fae552735 Fix #1536 - Fix compile error in cmd_search.c 2014-10-19 11:49:25 +02:00
pancake
feb2e03bef PDB: errors to stderr, messages to rcons and use RSandBox.fopen()
- Fix some indentations
- Fix an overflow in filename
- Use R_FREE instead of handmade alternative
2014-10-18 19:49:56 +02:00
inisider
83fb5d6ee9 Fix all crashes for fuzz-pdb testsuite 2014-10-18 19:49:51 +02:00
inisider
04a8ad1e7d remove warnings PDB, null ptr checks and add print of ENUM 2014-10-18 19:49:36 +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 9fa8e7083cf30b5fda38f5816e903effeaa66701

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
7b65bb16b2 Implement LEA ptr references for x86.udis and x86.cs 2014-10-18 06:30:51 +02:00
pancake
c2f54e700c ragg2 use system default asm.bits 2014-10-18 04:05:54 +02:00
pancake
99e14a753f Fix #1532 - Implement /V command 2014-10-18 02:14:38 +02:00
skuater
a8fe3ee47e Implement 'dsh' to step over reps 2014-10-18 01:20:11 +02:00
condret
71a0e34954 some prework for r_io_reopen 2014-10-18 01:10:24 +02:00
pancake
718e175892 Add $p for getpid(), hide UNKNOWN refs, 'cat' works with bigger chunk if unknown size 2014-10-18 00:25:55 +02:00
pancake
45a04948b7 Remove debug printf 2014-10-17 18:35:00 +02:00
condret
051de62f9e add r_io_desc_list (possibly useful for bughunting) 2014-10-17 18:31:59 +02:00