Commit Graph

369 Commits

Author SHA1 Message Date
pancake
58371d6e2f Add rabin2 -N flag to set minimum string length
By default is 2, but PE which is 4
Sort rabin2 -h flags alphabetically
Add r_bin plugin-specific minimum string length
New r_list_newf() constructor which replaces the hacky R_LIST_NEW macro
2012-12-09 01:39:27 +01:00
pancake
4d50d27dc2 Fix build 2012-12-07 12:20:08 +01:00
pancake
84002a421f Better new WebUI, fix pdf,pD, implement http.timeout and more
Enhacements in the new webui
Fix r_socket_block_time()
Implement assembler for the 1bit arch RAR (wip)
Fix pdf, pdb and pD (print_disasm)
Implement http.timeout and http.sandbox
2012-12-03 04:01:55 +01:00
pancake
07d27512ee Append fatmach0 index in extracted filename
Fix the segmentation address in ? command
Fixes for the r2bot
2012-11-29 04:07:59 +01:00
pancake
b1e30e731b Fixes for the r2irc.js bot and various consistency in core 2012-11-27 14:09:53 +01:00
pancake
f44dbb1d1e Honor DEBUGGER userconf var in r2 -d 2012-11-22 18:21:44 +01:00
pancake
8ea25c4a46 Use RNum in RAsm, fixes for segoff and better disasm
Reference of RNum in RAsm (use flags in 'wa/pa'!)
Use RNum in x86.nz plugin
Rename scr.segoff to asm.segoff
Fixes for segmented addressing resolution
Honor lineswidth in disasm
Remove rabin2 -p flag in help and manpage
Fix disasm.c loop for small blocksizes and invalid ops
2012-11-16 01:34:26 +01:00
pancake
23bd67ce59 Fix 'invalid' instructions in disassembly (reported by xvilka) 2012-11-13 04:09:59 +01:00
pancake
7c1e0c85d9 Support for remote raw commands (client/server)
See the '.:' command
Full integration with awk bindings
Add install make target for the awk bindings
Handle as debug mode if io->file->debug
Fix typo quite/quiet in rabin2
Resolve $pc,$bp,$sp,$a0.. in r_core_num
Minor random fixups
2012-11-05 02:00:34 +01:00
pancake
07929b169d Add Quiet and JSON in RCoreBin, more awk, fix rafind2
Use rabin2 -j flag to get JSON output
You can also get those jsons using the i?j command
Better awk bindings and added some examples
rabin2 -v (without any other arg) shows version
Fix some segfaults in rafind2 and use RList
Add quite output mode for rabin2 (activated with -q)
2012-11-02 03:35:50 +01:00
pancake
a0d099bff1 Honor iomaps in search ranges and add basic awk bindings
Honor iomaps on search.to
Initial import of the 'awk bindings'
Honor search.{from|to}
2012-10-31 21:32:33 +01:00
pancake
6e14bc6725 Fix --with-rpath 2012-10-29 13:15:18 +01:00
pancake
61b0f8e78a Fix build 2012-10-25 21:56:42 +02:00
pancake
1f15df18c4 Fix build and http shutdown, WebUI (afr, pdi), add socket timeout
Fix http server shutdown issue
Add timeout on socket connect
Enhace web ui with 'afr' and 'pdi' commands
Fix segfault in 'afr'
Fix build (thanks @egeektronic)
2012-10-25 21:40:11 +02:00
pancake
082adc171d Minor fixups 2012-10-24 09:51:56 +02:00
pancake
f473a4d02b Load bin info in debugger and some doc/sys cleanup 2012-10-23 18:44:32 +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
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
69a12884ed Simplify the build system
doc.sw has been moved to radare2-extras
2012-10-03 14:31:35 +02:00
pancake
20da730321 Fix android build 2012-10-02 04:15:00 +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
5a80b9c13b Fix ragg2-cc on osx, implement radiff2 -r 2012-09-21 02:47:07 +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
38c9ea2082 Fix segfault when using -e 2012-09-19 12:50:12 +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
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
fd506992ba Fix build for z80 after sdb integration 2012-09-04 09:29:41 +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
pancake
f2db41ce3b Fix some bugs in cparse and ragg2-cc with gcc 2012-09-03 18:49:29 +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
pancake
7b627d24a2 Fix mingw32 build 2012-09-01 01:06:24 +02:00
Rodrigo Chiossi
f723d8c126 Fix rasm2 infinite loop for -D option.
The fix in commit d843506ae1 was checking for ret < 0, but as ret is initialized with 0 rasm -D would always finish after a single instruction.
This commit reverts to the previous commit and adds a check to see if the end of the buffer was reached.
2012-08-30 13:47:14 -03: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
e46efa8a1d Initial implementation of r_bin_size (rabin2 -Z)
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
2012-08-23 12:46:55 +02:00
pancake
f75817ee6c Initial work on supporting payloaded opcodes
Basic classes support for dalvik (rabin2 -C, ic*)
2012-08-22 18:02:23 +02:00
pancake
0e82165bf7 Honor make -s and lot of build cleanups 2012-08-14 15:44:17 +02:00
Roi Martin (@nibble_ds)
6b959de543 Do not install ranal2 2012-08-14 11:47:50 +02:00
pancake
ef8f41eafb Initial integartion of r_bin_dwarf into RCore 2012-08-14 02:37:42 +02:00
pancake
6b991786ab Show git-tip hash in r2 -v
dist now contains r2-bindings directory
use more parse locks in mk files
do not add invalid functions at UT64_MAX
Use -j8 in sys/install.sh again
2012-08-14 01:48:39 +02:00
pancake
e365b90d5f Implement support for >- (pipe to editor)
Fix another race condition in the build system
Fix many null deref reported by clang-analyzer
Assume -w when running r2 with -d
2012-08-13 17:42:25 +02:00
pancake
f9795e03f9 Force proper deinit in r2.Helpful to find memleaks 2012-08-13 14:14:23 +02:00
pancake
70fbad1b83 Show second hexdiff column when it fits in screen
Throw error if cannot find '-i' file
2012-08-13 05:10:04 +02:00
pancake
85534da1e9 x86.nz assembler: add jmp/call abs/rel (rip) memrefs
Add some more notes in INSTALL text
Initial design work on dalvik payload instructions
Open '-' virtual file as read-write (r2 -)
Fix r_core_yank_to signature
Remove io.va search warning (no more issues?)
2012-08-09 12:42:44 +02:00
pancake
3fb3f58fcd Add missing dalvik opcode, rename invoke-direct-empty
rabin2 -h works even with other flags passed
random syntax fixups and use R_NEW0 where possible
initial dummy implementation of r_bin_size()
2012-08-07 10:28:03 +02:00
pancake
9362041562 Huge RBin refactoring and fix mach0 section perms 2012-08-04 23:48:06 +02:00
pancake
526a8a66fe Fix function renaming and add some 8bit x86 ops
- 'afl' is now just listing functions
- Use 'afl*' to get also 'loc.' functions (BBs)
- Fix length in cb_hit for search
- Fix infinite build in libr/egg
- Fix 'afr' command to rename function
- Implement 8bit mov, (out,in)sb in x86.nz
- Fix ragg2 -d for one byte writes
- Fix vapi
2012-08-02 02:44:46 +02:00