Commit Graph

211 Commits

Author SHA1 Message Date
pancake
5d33a6fe44 Add RABIN2_DEMANGLE env var 2015-10-19 03:28:22 +02:00
pancake
d79e576305 Fix #3506 - align in rafind2 2015-10-18 23:32:33 +02:00
pancake
1dba5a687d Initial implementation of bin.strfilter and bin.strpurge 2015-10-13 03:50:14 +02:00
Ben Gardiner
8d4ad47210 Add bin.maxstrbuf and RABIN2_MAXSTRBUF, update manpage 2015-10-11 03:47:32 +02:00
isra17
9b7d06aa99 Add r2pm man page
Closes radare/radare2#3398
2015-10-02 11:23:41 -04:00
Riccardo Schirone
2e048b3272 socket/run: implement fork option 2015-09-13 10:46:09 +02:00
Kevin Grandemange
71c4245df7 add clearenv in rarun2 and update documentation
fix unsetenv wrong description
add some example for environment variable
fix r2 use of rarun2 example

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2015-08-29 19:22:15 +02:00
pancake
0eff8ca0d2 Revert "rax2: refactoring, better error handling and update nampage"
This reverts commit 83ca1dab47.
2015-08-11 09:13:01 +02:00
Grigory Rechistov
83ca1dab47 rax2: refactoring, better error handling and update nampage
change flags from magic numbers to named enum values.
make error reporting more Unix-way by returning non-zero error status
man page is updated to reflect currently supported options
2015-08-11 02:22:21 +02:00
four0four
1d949d4fae added debruijn offset to ragg2 2015-07-22 14:29:40 -04:00
pancake
6995ea2c93 Handle rabin2 -D cxx - like c++filt 2015-07-07 00:38:51 +02:00
pancake
a67e74c6cd rabin2 -c <-> -C 2015-07-06 01:09:00 +02:00
pancake
e20a1c0ce4 Add r2 -u flag to set bin.filter=false 2015-07-06 00:57:55 +02:00
pancake
e6c40aa520 Handle SIGUSR2 in r2preload 2015-06-02 04:05:32 +02:00
pancake
721ad8de26 Add r2preweb rarun2 rule to start the webserver in a thread in r2preload 2015-06-02 03:54:26 +02:00
Maijin
af5d755c5e Fix #2340
Fix #2340
2015-06-01 16:34:51 +02:00
Maijin
e998497cf0 Update ragg2-cc man page [ci skip]
Update ragg2-cc man page
2015-06-01 16:33:33 +02:00
pancake
b5317ac35c Update r2 -A manpage and help 2015-06-01 11:31:01 +02:00
Jeffrey Crowell
234fea8d03 add -r to ragg2 manpage 2015-05-28 11:04:00 -04:00
Jeffrey Crowell
e52d79e855 update ragg2 manpage to give a better description 2015-04-27 23:15:39 -04:00
jvoisin
0976f94025 Update rarun2's man page 2015-04-27 22:19:31 +02:00
pancake
061a2af999 Add radiff2 -CC for deeper bindiffing 2015-04-07 04:12:18 +02:00
pancake
b553f607b7 Update rahash2 manpage and support -f/-t in -s/-x 2015-04-03 01:49:01 +02:00
pancake
ba525f1b72 Fix #2049 - Add rahash2 -j 2015-02-06 14:15:19 +01:00
Jeffrey Crowell
08414e305b Update rafind2 manpage to include -S
reflect change from 4f15eea06d
2015-02-04 16:19:17 -05:00
pancake
a5a211c1d9 r2 -k is now -o, and -k perform sdb queries 2015-01-31 03:51:01 +01:00
pancake
75c322b613 Add bin.lang, rabin2 -D and iD commands to demangle from commandline
- Fix some warnings in windbg
- Minor fix for ARM analysis (wip)
2015-01-10 01:00:01 +01:00
pancake
4c1253b0c5 Use radiff -n for numeric addresses instead of function names 2014-12-26 19:28:55 +01:00
Andrew McDonnell
841a00e0d1 Add option to radiff to suppress names 2014-12-26 19:26:06 +01:00
Jeffrey Crowell
ed1aae7fd1 fix lots of spelling
fix some errors from the sed script

undo file mode crap
2014-12-07 17:00:59 +01:00
pancake
316555e44e Minor fix for rahash2 manpage 2014-11-23 10:54:58 +01:00
pancake
3fadf91a93 Load file from stdin with r2 = (TODO: load RBin) 2014-11-18 11:44:16 +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
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
6cf60a68c9 Fix #1483 - Add 'libpath' in rarun2 manpage 2014-10-05 16:09:38 +02:00
pancake
8475e9346a More fixups for the manpages 2014-09-30 11:37:26 +02:00
pancake
763f994ec7 Fix manpages for Void/Net/OpenBSD 2014-09-30 11:01:45 +02:00
pancake
6d8b9608a7 Add doc for that new rax2 thing 2014-09-22 16:40:08 +02:00
pancake
2369bad71a Fix code analysis loop and add anal.esil mode for r_core_anal_fcn() 2014-09-12 02:37:49 +02:00
pancake
30acdbf50c Refactor debruijn code and make it accessible from ragg2 -P 2014-09-05 16:03:40 +02:00
Maijin
952c35da41 Add additional example on -K and update rabin2.1 2014-09-04 23:17:11 +02:00
pancake
00245e5e96 rabin2 -V -> -p (-p is more meaningful to show physical addresses) 2014-08-24 10:41:32 +02:00
pancake
eeb50850c9 Fix #1205 - rabin2 -v show version. rabin2 -V disable VA 2014-08-23 02:41:50 +02:00
jvoisin
6a1c06738d Enable bindiff between two offsets 2014-08-19 04:43:54 +02:00
pancake
dbbc961454 Add help message for r2 -0 2014-08-17 02:55:47 +02:00
pancake
13872af7bc Implement rabin2 -K and do some work on the RHash api. Fixes #1204 2014-08-15 03:30:45 +02:00
jvoisin
4c333e535c Improves manpage of rabin2 2014-08-06 23:39:23 +02:00
Andrew McDonnell
231b6b21d6 Fix minor typos in rax2 manpage 2014-06-05 15:17:35 +02:00
pancake
644acb8590 Add rabin2 -k to query sdb info, sdbize MZ debug printfs 2014-05-19 01:42:36 +02:00
pancake
1ce6e7c45b Add rahash2 -d and -D to encode/decode base64 strings and files 2014-05-16 14:34:36 +02:00
jvoisin
2a68654f75 Alphabetic order for radiff2's manpage. 2014-05-11 13:22:36 +02:00
pancake
a727663f98 Add radiff2 -a and -b flags 2014-03-19 10:41:13 +01:00
pancake
c988fd1204 Fix build update manpage 2014-02-21 00:49:47 +01:00
pancake
5b4f0db2e5 Fix #602 - Radiff2 -C should display a legend 2014-02-18 15:39:06 +01:00
pancake
c24543f112 Add rahash2 -e 2014-02-05 12:07:27 +01:00
pancake
579856e7b9 Implement 'wu' and add support for nocolor in 'cu' 2014-01-26 04:33:21 +01:00
David Martínez Moreno
cedef51ce4 Fix a round of typos and incorrect man macros.
The macro Em. was present in all the manpages and it's incorrect, plus
 there's some typos here and there, some of them spotted by lintian.
2013-12-31 23:52:46 -08:00
pancake
61d3addfea Use latest ACR for triplet fixes and update manpage dates 2013-11-11 12:00:39 +01:00
pancake
4a669b2663 Update rabin2 manpage 2013-11-09 03:42:20 +01:00
pancake
f1c9943df2 Fix #313 - Add bin.baddr and r2 -B to set base address for r_bin 2013-11-06 01:32:24 +01:00
pancake
cbecfb8f4a Initial import of rahash2 '-S' seed and '-i' iterations 2013-11-02 11:49:32 +01:00
pancake
502add8914 Fix #240 - rasm2 have -l but not -S to skip bytes from the beginning of the file 2013-10-15 01:54:37 +02:00
pancake
b62f60c07c Fix two minor bugs reported by jvoisin 2013-09-28 19:23:37 +02:00
pancake
8377c98458 Use xdg configuration path ~/.config/radare2/ 2013-06-27 19:15:59 +02:00
pancake
a9b438afae Fix build order issue, r2agent -s (sandbox mode), update rasm2.1 manpage 2013-06-25 17:35:36 +02:00
pancake
3c62d1905a Fix rarun2 stdout and stderr pipes
dcu requires argument to work
Enhace rarun2 manpage
Fix rax2 -B for negative values
2013-05-05 19:39:01 +02:00
pancake
d1459f5665 Add r2 -A and -k, implement stackptr for udis86, update manpage 2013-04-23 03:38:39 +02:00
pancake
5e47ba3a7e Fixes in manpages 2013-04-16 19:54:26 +02:00
pancake
750c4f19a9 Fix manpages for BSD troff 2013-04-12 01:14:33 +02:00
pancake
9894b0075e Add 'rax2 -u' to get aproximated units measure for given value 2013-04-11 01:30:46 +02:00
pancake
735a4f7a4a Fix -h and manpages. Kill rsc2 and rasc2 from binr/ 2013-04-02 12:11:20 +02:00
pancake
7fbe9071ce Add rasm2 -w to describe opcodes, fix massemble
Add rasm2 -w to get opcode description
Fix multiopcode/multiline comments parsing
Avoid multiple load when there are no sub-bins
Fix r_str_replace_char
2013-02-24 21:12:30 +01:00
pancake
53b7f83749 Fix rafind2 help, honor rasm2 -l and fix objc demangle
Fix overflow in objc method name demangling
2013-02-15 13:24:09 +01:00
pancake
d5c68d9766 Add rafind2 -Z, fix rasm2 -dfB, check chroot() return in rarun2 2013-02-14 20:08:42 +01:00
pancake
766563cc6e Big endian for arm.winedbg and addn randomart in rax2 -k
r_asm: Add support for big endian arm.winedbg
rax2: Add -k randomart to rax2, -k is now -B
rax2: Handle multiple flags on a single argument
rax2: update manpage
2013-02-13 01:20:42 +01:00
pancake
b5ee410124 Fix offset in randomart for rahash2 2013-02-12 02:55:22 +01:00
pancake
84270da643 Add randomart print mode (pk/pK commands and rahash2 -k)
Random code cleanup
Remove borders in webui/two
2013-02-12 02:42:34 +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
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
7a4a3dbbfd Fix string parsing in rabin2 -z and more random fixes
- Random changes in libr/db/pair.. still buggy
 - remove debug printfs from calc.c
 - ?k command is now more usable. supports ``..` strings
 - fix segfault in r_cons (nullptr)
 - Add support for !! command to use r_cons
   > pd|!grep eax~ebx   # now this command works
2012-07-02 00:38:02 +02:00
pancake
62219c8dda ** Apply patch from Simon Ruderich (thanks!)
* Remove some unused variables.
* libr/core/disasm.c: Fix minor memory leak.
* libr/util/str.c: Cleanup r_str_home() and fix potential crash.
* libr/line/dietline.c: Cleanup r_line_hist_load, fix memory leak.
* libr/core/cmd.c: Fix read from uninitialized memory.
* libr/util/str.c: Add comment why r_str_cpy() was added.
* libr/io/p/io_malloc.c: Prevent read from invalid memory.
* Split -n into -n (no user settings) and -N (no analysis).
2012-02-03 20:52:20 +01:00
earada
edaa98e192 * Use r_num_math in malloc io plugin
- Fix free when malloc fails
* Fix rasm manpage typo
2011-12-08 00:23:16 +01:00
pancake
f908b15fb5 * Fix android compilation
- Fix static build
  - Fix dupped symbols
* Fix all errors reported by clang-analyzer
  - Some null dereferences
  - Some uninitialized variable uses
* Fix all important warnings from the farm
  - Remove *all* uses of alloca
  - Fix many %llx format string portability issues
* Fix manpage typos reported by lintian (thanks sre)
2011-12-06 00:27:57 +01:00
pancake
49b45b64ac * Fix undo and redo commands
* Fix some manpages typos reported by lintian
* Asm testcase now forces x86 arch and 32 bits
2011-12-05 08:27:16 +01:00
pancake
dc1efdcdd8 * Add manpage for ragg2-cc
* Fix rax2 -S (by @earada, reported by @sre)
* Fix typos in manpages reported by lintian (thx @sre)
* Add r_core_file_reopen()
  - 'do' is an alias for 'oo'
  - close previous file
  - breaks debugger reopen .. needs more work
2011-12-05 02:42:06 +01:00
earada
bdd3bf9f06 * Update rax2 manpage 2011-12-04 02:44:58 +01:00
earada
b1f1ee2e33 * Update manpages 2011-12-02 03:43:08 +01:00
pancake
1cc5b8e077 * Honor -o in rabin2 for dump section operation
* Autodetect and honor CC environment in ragg2 command
* Update ragg2 manpage
* Fix udis86 at&t '$' usage.. thanks @hteso for reporting!
2011-11-30 20:59:58 +01:00
pancake
da35ef8648 * Fix huge memory leak in r_anal_fcn_find() that was causing
r2 increase memory innecesarily when io.va=!io.va
* Add r2 -a arch -b bits
  - -b flag to specify blocksize is now -B
  - Sync manpage
* Added python test-leak program
2011-11-15 23:40:28 +01:00
pancake
94f905cfe0 * Do not build rasc2 anymore
* ragg2 now works better
  - Show bitsize in ragg2 -L
  - Added a sample plugin for x86-64 osx shellcode
    - command can be configured, suid can be enabled
* Minor fix in r_buf api

--HG--
rename : man/rasc2.1 => binr/rasc2/rasc2.1
2011-11-13 04:47:56 +01:00
pancake
37565f1ff5 * Fix shellcodes.c.src (do not use literal strings)
* Update vapis for r_asm, r_debug and r_fs
* Use anal_diff_setup() in test-ragdiff
* Sync radiff2 manpage
2011-10-20 15:05:30 +02:00
pancake
e4934900cd * Some updates for r_anal
* Fix minor typo in rax2 manpage
2011-10-19 10:01:01 +02:00
pancake
b42e287156 * Fix typos reported by lintian
* bfvm.c changed license from GPL to LGPL
2011-10-13 01:00:07 +02:00
pancake
e9d1dcb4ec * Fix make w32dist
* Update manpages
* Added r2 -H for env and files help
* Add rarun2 -h
* Show assembler/disassembler features in rasm2 -L
* Add opcode 'mov dword [ebp-12],4' to x86.nz
  - Make t/test.nz work with x86.olly (32bit only atm)
* Fix unknown os issue with tiny-pe files in r_bin
* Fix some plugin names build fails in mingw32
* MAGICPATH renamed to R_MAGIC_PATH
* Add another experimental way to generate gir files
  - Added dummy test.js for nodejs
* Build python-dist in farm

--HG--
rename : man/rarc2-tool.1 => binr/old.rarc2/rarc2-tool.1
rename : man/rarc2.1 => binr/old.rarc2/rarc2.1
2011-10-12 03:24:19 +02:00
pancake
4ea6ee9873 * Add new flags to r2
- -D : enable debugger mode for non native debuggers
  - -c cmd : execute a command before showing prompt
* Initial import of the bfvm (brainfuck virtual machine)
* Initial dummy implementation of the brainfuck debugger plugin
  - Needs to be integrated with bfvm to work
* Added doc/brainfuck
2011-10-07 03:10:44 +02:00
pancake
afbe4894a7 * Merge lost commit
- Add rsc2.1 manpage
  - Use acr-0.8.6 everywhere
  - Fix make dist in r2-bindings
2011-07-19 10:45:47 +02:00
pancake
0d4faf652e * Set library version number for plugins
- Registers for which version of core was compiled
* Use tar --format=posix when GNU tar
  - Fixes the dependency on BSD systems
* Fix in doc/fortunes
* Fix this class pointer in asm_java
* Re-Fix uglily the bin_elf strtab issue (needs more work)
* Fix Vala regression in r_asm.vapi
2011-07-19 00:12:36 +02:00
Nibble
d157655c2c * Release 0.6 codename "the cake is a pie" 2010-10-29 13:58:19 +02:00
pancake
23e6bfb679 * Add manpages for rarc2 rarc2-tool ranal2
* Use the library symlinking layout as reported by Debian
2010-10-27 22:17:55 +02:00
pancake
8f6192738c * Apply patches from edu (Thanks)
- Fix '#' command
2010-08-24 04:09:12 +02:00
pancake
3c7610bd9f * Some enhacements for rarc2.
- Add -s flag to use att syntax instead of intel one
  - Flag -A is the new -a (show selected arch)
  - Some more work on the arm code generation backend
  - Simplify some code (-58LOC)
  - Finish manpage rarc2(1)
2010-06-29 16:50:15 +02:00
pancake
affbba8aa2 * Rename r2rc to rarc2
- Moved into binr/rarc2
  - Integrated with symstall
  - rarc2-tool now support -xc and -cx combo
  - Add rarc2.1 manpage
* Add some bugs to review in TODO

--HG--
rename : r2rc/Makefile => binr/rarc2/Makefile
rename : r2rc/README => binr/rarc2/README
rename : r2rc/TODO => binr/rarc2/TODO
rename : r2rc/emit_arm.c => binr/rarc2/emit_arm.c
rename : r2rc/emit_x64.c => binr/rarc2/emit_x64.c
rename : r2rc/emit_x86.c => binr/rarc2/emit_x86.c
rename : r2rc/i/libc.r => binr/rarc2/i/libc.r
rename : r2rc/i/socket.r => binr/rarc2/i/socket.r
rename : r2rc/out.c => binr/rarc2/out.c
rename : r2rc/r2rc-tool => binr/rarc2/rarc2-tool
rename : r2rc/r2rc.c => binr/rarc2/rarc2.c
rename : r2rc/rcc.h => binr/rarc2/rarc2.h
rename : r2rc/t/Makefile => binr/rarc2/t/Makefile
rename : r2rc/t/argv.r => binr/rarc2/t/argv.r
rename : r2rc/t/bytedump.r => binr/rarc2/t/bytedump.r
rename : r2rc/t/data.r => binr/rarc2/t/data.r
rename : r2rc/t/dump.r => binr/rarc2/t/dump.r
rename : r2rc/t/hello.r => binr/rarc2/t/hello.r
rename : r2rc/t/if.r => binr/rarc2/t/if.r
rename : r2rc/t/inline.r => binr/rarc2/t/inline.r
rename : r2rc/t/input.r => binr/rarc2/t/input.r
rename : r2rc/t/loop.r => binr/rarc2/t/loop.r
rename : r2rc/t/ptr.r => binr/rarc2/t/ptr.r
rename : r2rc/t/rawsys.r => binr/rarc2/t/rawsys.r
rename : r2rc/t/rawsys64.r => binr/rarc2/t/rawsys64.r
rename : r2rc/t/regs.r => binr/rarc2/t/regs.r
rename : r2rc/t/ret.r => binr/rarc2/t/ret.r
rename : r2rc/t/room.r => binr/rarc2/t/room.r
rename : r2rc/t/segfault.r => binr/rarc2/t/segfault.r
rename : r2rc/t/shell.r => binr/rarc2/t/shell.r
rename : r2rc/t/sub.r => binr/rarc2/t/sub.r
rename : r2rc/t/syscall.r => binr/rarc2/t/syscall.r
rename : r2rc/test.r => binr/rarc2/test.r
2010-06-28 20:30:20 +02:00
pancake
276f186e7e * Add rafind2.1 manpage
* Many cleanups in the TODO files
2010-06-18 17:52:30 +02:00
pancake
99533607a0 * Apply some fixes of packaging bugs notified by debian
- Fix warnings in manpages
  - Fix install path of perl5 and python2.5 and 2.6 bindings
  - Fix make uninstall in r2-swig
  - Add -soname to libr2.so
  - Do not build/install swig from r2
2010-03-15 17:15:48 +01:00
pancake
3da650d4b1 * Write and install manpages
* Merge r_trace into r_debug (RDebugTrace)
  - Implement 'dt' command to manage debugging traces
  - TODO: Track register values and memory changes
  - Added dbg.trace and dbg.trace.tag
* Added r_sys_now() to retrieve ut64 value of current time
  - Must check endianness issues
* Initial work trying to implement RPATH support to ELF
* Less flat command tree
  - 'dt' is now 'dbt'
  - 'dk' is now 'dpk'
* Some more random syntax cleanup fixes
* Say 'yes/no' instead of 'ok/fail' in check-langs script
2010-03-12 18:46:11 +01:00
pancake
14ef1cf602 * Initial work on the register API for r_debug
- r_debug_reg and r_debug_regset
  - Handles dbg->newstate to force register sync
  - Only dbg.reg.read() for x86-32 and 64
* Added dummy copy of manpages (from old radare1)
2009-04-15 11:09:36 +00:00