Commit Graph

2047 Commits

Author SHA1 Message Date
pancake
5de2e221b2 Fix om for rbin-friendly files, add 'dss'
Implement dss command to skip steps
omr works with just a single argument too
Fix open maps for RBin files
Merge r_th into r_util
2012-10-25 15:21:47 +02:00
pancake
ded886e371 Add dkreuter's fix for ARM's gnu disassembler 2012-10-25 13:10:33 +02:00
pancake
1e52015eee Add px[QW], fix segmented io and handle ! pipes
Handle `!` with r_core_cmd_str_pipe
Fix 'afl' output
Add help for 'px' command
Add pxQ and pxW to show one word per line
Fix segmented io with maps and sections
Some test cases got fixed
Add test-r_anal.py
2012-10-25 12:55:28 +02:00
pancake
73a7b77306 Add 'omr' to relocate maps and rm libr/README 2012-10-25 09:48:45 +02:00
pancake
082adc171d Minor fixups 2012-10-24 09:51:56 +02:00
pancake
a876acb60e Fixes for sha384 and crc16/32 in RHash. thx bus1ng 2012-10-22 11:06:03 +02:00
pancake
858c65f239 Add sandbox-kill and disable reopen in sandbox mode 2012-10-22 10:43:10 +02:00
pancake
16e0c555e5 Add 'oo+' and 'o+' commands to reopen in read-write 2012-10-22 10:12:13 +02:00
pancake
7f5a84b57a Add new code analysis vars and update manpages
rasm2 defaults -o to 0 instead of 0x8048000
fixes in rarun2 to make it more userfriendly
update some manpages with examples
enhace output of 'afi' command
fix 'pi' bug setting blocksize
fix 'pdi' bug ignoring user defined len
add $C $J $X and $F $I code analysis variables
run r2irc.js in sandbox mode
2012-10-22 02:28:42 +02:00
pancake
e48b9b2f30 Add cfg.sandbox functionality
f.example: $ r2 -c=H -e cfg.sandbox=true -
2012-10-20 00:31:18 +02:00
pancake
38628b4e17 Fix ELF loader and segfault in disasm->hexdump 2012-10-17 12:13:23 +02:00
pancake
9440560f92 More build fixes 2012-10-11 13:09:33 +02:00
pancake
710c91ff18 Oops. Install of libr/include/sdb 2012-10-11 10:44:22 +02:00
pancake
c18764e3f8 Oops. Fix build 2012-10-04 17:05:43 +02:00
pancake
3fbfa2d21c Add doc/vim with configuration for my indentation 2012-10-04 15:05:51 +02:00
pancake
792e8b8bdf Fix parallel build 2012-10-04 01:49:04 +02:00
pancake
3540924f40 Better paralelization of build system 2012-10-04 01:20:00 +02:00
pancake
e8a601fe53 More makefile simplifications (-56LOC) 2012-10-03 16:32:32 +02:00
pancake
69a12884ed Simplify the build system
doc.sw has been moved to radare2-extras
2012-10-03 14:31:35 +02:00
pancake
0aa55a4e01 Add support for http response headers
Fix some issues in the www ui
2012-10-03 12:10:18 +02:00
pancake
f74b74ab6c Do not build libr/*/t by default 2012-10-02 11:33:09 +02:00
pancake
ae239cbbc9 Fix ^Z r_line input buffer garbage 2012-10-01 17:48:10 +02:00
pancake
44a027c027 Updated web ui 2012-10-01 09:32:04 +02:00
pancake
7e9af106bb Implement RAnal.fcn_del_locs() to fix Vdu and af-
New commands: fx and fxd to show contents of flags
Fix pZ-pz help message and stuff
fF in visual is now nN
nN in visual has been deprecated
sfF also renamed to snN
sn renamed to so
e scr.fkey is now scr.nkey
Beautify the disasm loc functions
Toggle breakpoints with 'b' in visual
2012-09-28 02:20:52 +02:00
pancake
4ffdaeb04f Fix warnings and refactor 'p' subcommands (pw -> pxw ..) 2012-09-27 19:35:19 +02:00
pancake
aadfaadc38 Better support for 16bit x86 code analysis 2012-09-27 03:22:47 +02:00
pancake
dba5de4416 Fix build (R) 2012-09-26 23:58:55 +02:00
pancake
7cdb0dc0d7 Fix w32 build 2012-09-26 23:30:46 +02:00
pancake
2e114a272c Sync sdb from git 2012-09-26 22:56:54 +02:00
pancake
5ad9ae97ed Fix some bugs (nullptr, memleak) reported by clang-analyzer 2012-09-26 10:01:43 +02:00
pancake
7591182f3b More work on the web ui 2012-09-25 14:06:09 +02:00
pancake
c40dda0b0a Fix 16 bit x86 code analysis
Mark cursor in visual for pw and pq
2012-09-24 23:34:12 +02:00
pancake
757d692e19 Implement support for mach0-x86-32/64 main finder
Fix segfault when loading a plain file after io'd one
2012-09-23 21:42:10 +02:00
pancake
d00cc922fb Fix uninitialized variable use in arc disassembler
Fix invalid malloc in generic disasm
2012-09-23 18:10:37 +02:00
pancake
83cfbb2236 Add initial ARC code analysis module (branches)
ELF parser setups the proper ARC asm and anal
Fix segfault in the GNU ARC disassembler
2012-09-23 17:33:19 +02:00
pancake
51c4610090 Fix segfault in zip:// and dex (thanks @pof for reporting) 2012-09-23 13:30:28 +02:00
Roi Martin (@nibble_ds)
3373aa51d7 Fix code analysis in arm.winedbg 2012-09-23 03:38:51 +02:00
pancake
e2906e9ae5 Some fixes on the ARC disassembler 2012-09-23 03:38:12 +02:00
Roi Martin (@nibble_ds)
b4ccaba2db Fix dbg in x86_64 2012-09-23 02:57:43 +02:00
pancake
807c8a4088 Initial import of the ARC disassembler from binutils 2012-09-22 21:03:01 +02:00
pancake
850045c329 Fix many bugs noticed during the training course
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
2012-09-22 20:32:19 +02:00
pancake
884d35027d Fix segfault in ragg2 -e xor 2012-09-22 18:35:02 +02:00
pancake
5f08a38ad9 Implement dynamic graph for the embedded web UI 2012-09-21 03:05:00 +02:00
pancake
621c0ae0eb Fix cmd.repeat on empty lines in prompt
Fix some issues on the RIO layer (added tests)
Fix #<hash><space> issue (>0 length)
2012-09-21 02:25:44 +02:00
pancake
4909348b6e Fix disasm and autocomplete af* commands
Fix typos in help messages
Show 'b' where breakpoints are
2012-09-20 23:32:20 +02:00
pancake
13d21461d5 Add support for temporary block contents
Honor nullcallback again
Syntax is @f:<path-to-file> @s:<string> @b:<bytes>
2012-09-20 03:38:48 +02:00
pancake
2e83fa67b8 Fix python bindings: do not use homonim methods and fields 2012-09-19 14:08:44 +02:00
pancake
063ed1615a Add demo graph view for www, add pad command remove a8
Enhacements for the r2irc bot (code cleanup and config)
Fix r_bin.vapi and other nodejs related issues
2012-09-19 03:15:36 +02:00
pancake
9448a64c51 Fix python bindings build 2012-09-18 19:04:30 +02:00
pancake
9f92f9aece Fix many null pointer deref when passing trashed data
Added 'pa' command to print assembled instructions
2012-09-18 03:39:32 +02:00
pancake
5eda1f485e Fix bindings 2012-09-17 17:49:23 +02:00
pancake
d2c7832d96 Sync with sdb git 2012-09-17 11:18:20 +02:00
pancake
0f07ad555d Fix backward disassembly 2012-09-17 10:59:44 +02:00
pancake
c303848696 Add --enable-cparse and rename --without-debugger to --disable-debugger 2012-09-12 19:35:27 +02:00
pancake
77dc9bc471 Fix overflow in r_bin_dwarf 2012-09-12 18:56:11 +02:00
Pau Oliva
739802b85c fix unzip param order on android's busybox 2012-09-10 16:52:22 +02:00
pancake
6a2de12266 Fix httpd shutdown and -e flag order in r2
Fix test case by ordering -e flag in r2
Fix httpd shutdown with ^C
Fix width of r2w2 when changing orientation
2012-09-07 12:49:36 +02:00
pancake
1296854be0 Merge git://github.com/XVilka/radare2 2012-09-07 10:09:13 +02:00
pancake
17250ee357 Add api to set config keys as readonly
Handle apk:// from the r_io.zip plugin
Suffix android builds with git version
Fix r_sys_rmkdir
2012-09-07 10:07:41 +02:00
pancake
62b2518250 Add support for keywords of half-byte, fix iova bug in search
Add support for nibble-level search keywords
Fix rio.va search issue (r_io_read_at is broken)
2012-09-07 04:12:24 +02:00
pancake
3861772e6d Initial implementation of r_io.zip plugin
Allows to: r2 zip://foo.apk//classes.dex
Honor LDFLAGS in r_bin
Fix filename issue in r_io_redirect
Add testing on-activate event in r2w2
2012-09-07 03:26:38 +02:00
pancake
61fc7e5899 Force HTTP/1.1 and better interface for r2w
Many bugfixes in the webserver implementation
Fix check for temporary directory
Fix vapi file for r_print
2012-09-07 01:48:09 +02:00
Anton Kochkov
a3f90c27d0 Added vala attributes 2012-09-07 03:26:32 +04:00
Anton Kochkov
2ac6bc345d Improved vala attributes model 2012-09-07 02:32:26 +04:00
Anton Kochkov
e37039862a Added support for vala function attributes 2012-09-07 01:32:13 +04:00
pancake
2f48e2fee7 Fix build 2012-09-06 12:58:07 +02:00
pancake
6d66f627b3 Fix bug in r_file_mkstemp
Use /data/local/tmp as default TMPDIR for android
Fix segfault in http server shutdown
Fix http.browser for android
2012-09-06 12:47:32 +02:00
pancake
d3eea7b431 Fix build and use proper check for non-root android 2012-09-06 11:22:01 +02:00
pancake
7fc1614cb5 Fix android build, update sdb code from git 2012-09-06 11:01:17 +02:00
pancake
be247348b5 Rename r_file_exist into r_file_exists 2012-09-06 08:59:13 +02:00
pancake
46e29afb98 Initial working web ui: r2 -c =H /bin/ls
Autodetect osx, win, linux and android browsers
Default port is 9090
Add support for local networking in RSocket
Add r_str_unescape() helper function
Fix htmlgraph.sh script.
Added wwwroot in shlr/www
Swap eval/cmd load order in r2
Add r_core_cmd_str_pipe()
Use RCons in 'fs'
2012-09-06 03:12:54 +02:00
pancake
d1a6fcca39 Merge branch 'for-merge' of git://github.com/XVilka/radare2 2012-09-05 22:13:12 +02:00
pancake
de519e7b6b Initial implementation of the RSocketHTTPServer 2012-09-05 19:31:32 +02:00
pancake
e2af4c93d4 Added htmlgraph.sh as a cmd.graph html5 graph backend
Many fixes for agv, rcons->html
2012-09-05 03:25:03 +02:00
pancake
fd506992ba Fix build for z80 after sdb integration 2012-09-04 09:29:41 +02:00
pancake
6c10b98d84 Looks like z80 plugin is problematic. disabled build tips 2012-09-04 02:09:01 +02:00
pancake
3b65f42167 Update sdb to 0.5, sdb is now public api
Update pkgconfig files
sdb now supports json and cas operations
sync pair.c to use the new cas api
2012-09-04 01:46:12 +02:00
Anton Kochkov
5f608cd4e2 Fixed cparse engine 2012-09-03 22:11:46 +04:00
pancake
f2db41ce3b Fix some bugs in cparse and ragg2-cc with gcc 2012-09-03 18:49:29 +02:00
pancake
f3cc8abfef Fix build 2012-09-03 09:34:38 +02:00
pancake
76ccb4d8c6 Honor -e priority in r2, add dalvik pseudo disasm
r2 -e now evaluates before and after loading file
Dalvik pseudo disassembler is work in progress
2012-09-03 03:07:16 +02:00
pancake
a8757a695f Fix android build and add r_core->anal_define api
Fix static build (libr.a)
Fix android build farm scripts
Build system is still hacky
2012-09-03 01:27:52 +02:00
Anton Kochkov
a47c57715c Added preprocessing engine to r_anal cparse 2012-09-02 22:11:13 +04:00
pancake
7b627d24a2 Fix mingw32 build 2012-09-01 01:06:24 +02:00
pancake
bc09337c8a Apply thuxnder's patch fixing dalvik's payload ops 2012-08-31 17:39:56 +02:00
pancake
ea1f0ba671 Fix infinite loop in analysis (needs cleanup) 2012-08-31 16:30:41 +02:00
pancake
a395c8d6c8 Initial implementation of the MIPS assembler 2012-08-31 13:50:05 +02:00
pancake
5c236fa0e3 Add mips pseudocode, anal.hasnext, fix anal bugs
Better mips analysis
Implemented mips pseudocode plugin
Change asm.parser in asm.arch callback
2012-08-31 11:45:06 +02:00
pancake
d843506ae1 Rewrite mips analysis module and fix rasm2 -D
Full rewrite of the MIPS code analysis module. wip
Fix infinite loop in rasm2 -D
Fix clang-analyzer.sh
Fix 'ao #' command
Use ', ' instead of ',' in mips disassembler
2012-08-30 18:06:18 +02:00
pancake
0a202fc91a l0gic's fix for an use after free in r_socket 2012-08-30 00:47:16 +02:00
Anton Kochkov
ef4217a87c Add supported types, improve types printing 2012-08-30 01:11:54 +04:00
pancake
cd30c0c0e4 Various little bugs fixed and pz/pZ renaming
Fix r_core_system pipes after scr.interaction
Fix 'ao N' (parse argument)
Fix segfault in p= N >blocksize
Split BBs in pdr with '--'
Add help for ps?
Do not show invalid rahash2 -a entropy at the end of p=e
pz is now psz
pZ is now pz
2012-08-29 17:24:30 +02:00
pancake
062deb4b69 Fix build. enhace mips anal, add recursive disasm
Fix UCALL opcode analysis in mips
Initial implementation of 'pdr' recursive disassembler
Workaround for code wrong basic block size in pdr
2012-08-29 14:46:19 +02:00
pancake
8ecfc21d58 Fix 'pd.N' cmd, 0size sections, use eprintf r_anal 2012-08-29 13:37:31 +02:00
pancake
af45d0ee16 Initial working tree walker for cparser (see td) 2012-08-29 12:59:31 +02:00
pancake
84c032a40e Fix strange ELF loading and mips code analysis 2012-08-29 00:45:44 +02:00
pancake
d101eb54ba Fix dalvik pseudo ops disassembler (thx thuxnder) 2012-08-28 23:53:15 +02:00
pancake
476e3b0082 Fix consgrep segfault and do changes in print cmd
Add python print buffer (pcp)
Use psw instead of pS for wide strings
Add dir.types config variable
Fix segfault in RConsGrep
2012-08-28 17:50:49 +02:00
pancake
b3dd1a4e95 Cosmetic changes for RAnalType 2012-08-28 11:02:25 +02:00
Anton Kochkov
b40ccf7b2c cparse integration. 3rd stage, add locals and alloca (stackframe) support 2012-08-28 06:56:59 +04:00