Commit graph

290 commits

Author SHA1 Message Date
pancake
a2d9300d77 Fix #5339 - Projects now work with r2pipe 2016-08-09 12:53:34 +02:00
Kodoque1
e582ab8dbb Correction for #5349 (#5369)
* q[y/n][y/n] options added

* Adding crowell remarks

* checking beginning whitespace and fixing else if

* updated

* cleaning update
2016-07-25 10:37:51 +02:00
Kodoque
574e74e89a q[y/n][y/n] options added 2016-07-12 21:50:25 +02:00
Jeffrey Crowell
c145740030 replace r_cons_printf("%s\n",p) r_cons_println(p)
move from 10% of code in vfprintf to just 6% \o/ for simple tests of r2
-c "aaa" -q /bin/ls
2016-06-26 00:52:03 -04:00
pancake
1d5df40044 Fix r2 -nq - regression 2016-06-20 12:02:43 +02:00
pancake
90325a3ac0 Fix r2 -qc regression 2016-06-20 11:29:49 +02:00
pancake
ab691c3a0f Fix r2 -i regression and add r2 -I for pre-scripting 2016-06-20 10:05:47 +02:00
pancake
6d4c16923d Run commands a bit before 2016-06-20 01:41:09 +02:00
pancake
4caafc964d Refactor r_io, while fixing some bugs and use more RList 2016-06-20 00:29:41 +02:00
pancake
81c977c979 Refactor r2 -iL and add oL (load plugins before r2 -L) 2016-06-19 23:32:58 +02:00
pancake
f96f00d62d Fix #5158 - Merge r_db into r_util 2016-06-17 12:19:16 +02:00
pancake
95af521700 Fix #5087 - properly reload project files 2016-06-07 22:38:29 +02:00
pancake
132b173b87 Refactoring $B and decompose $F into $FB $FE $FS and $FI + code cleanup 2016-05-25 23:34:06 +02:00
pancake
a2fb171a37 Add R2PM_WWWROOT, update www-t and add http.homeroot r2 var 2016-05-16 00:59:29 +02:00
pancake
411cad06e2 Update r2pm manpage and fix #4843 2016-05-15 23:54:47 +02:00
pancake
02161f0bb8 Add r2 -qv and update manpage 2016-05-15 23:19:06 +02:00
SkUaTeR
75ea9cea3c Fix w32 debugger 2016-05-11 13:09:40 +02:00
pancake
9a86edb6b3 Use '0' in visual to seek at the beginning of the function and fix r2 -AAAAA 2016-05-11 04:25:16 +02:00
pancake
d651283c57 Fix #4813 - Use dbg.map when in r2 -d 2016-05-09 11:35:52 +02:00
pancake
e9dc4ae89e Fix #4695 - no prompt after r2 -qp 2016-04-26 19:11:11 +02:00
Andrey Torsunov
1e910dca6c Fix #4670 - Add checking of dbg.exitkills in non-interactive mode 2016-04-25 12:46:24 +02:00
andrey.torsunov
de1dac3f60 Add config option dbg.exitkills for issue #4670 2016-04-22 16:13:32 +02:00
pancake
a1eb92966e Fix #4663 - segfault in r2 -d 2016-04-19 19:46:41 +02:00
pancake
e7c832d513 Fix -d gdb:// issue 2016-04-10 00:33:54 +02:00
pancake
a4d298e8b9 Fix -d:// alias 2016-03-30 12:56:50 +02:00
pancake
cddb39535d Fix #3164 - r2 -d gdb:// is an alias for r2 -D gdb gdb://... 2016-03-30 12:01:44 +02:00
pancake
d1455c5aa6 Do not override file.analyze if -A is used 2016-03-27 14:20:33 +02:00
pancake
365162d4a8 Run file.analyze only when file contains entrypoint 2016-03-27 14:05:43 +02:00
pancake
f9649cd144 Add rarun2 -R as alias for dbg.profile 2016-03-21 23:49:18 +01:00
pancake
729b54222d Fix zip test by flushing file list 2016-03-14 00:28:37 +01:00
Maijin
daafa94407 Enable demangle by default fix #4266 2016-03-12 18:01:12 +01:00
Maijin
38bc88fb67 Also add the warning in aaa 2016-03-12 17:48:53 +01:00
pancake
f9671be16e Fix #4191 - Use -AA to run aaaa and therefor aae 2016-03-12 17:34:18 +01:00
pancake
342961a3c5 Fix #4251 - Blank space using fcnlines=0 and flgoff=1 2016-03-09 10:08:53 +01:00
pancake
853411cab3 Handle ~/.config/radare2/radare2rc.d 2016-03-08 23:30:12 +01:00
pancake
588e264f9f Fix latest COVs 2016-03-07 12:54:40 +01:00
Matthieu Tardy
1a573e1056 Cleanup binr/*/*.c
r2agent:
- Fix the usage to match other r2 binaries.
- Remove trailing whitespace.
- Remove addressed TODO.
- Add a default case to display usage and exit if -p option was used
  without argument.
- Return 1 instead of 0 if too much arguments are provided.
- Small coding style fixes.

radiff2:
- Small coding style fixes.

rafind2:
- Add a default case to display usage and exit if an option have a missing
  argument or getopt does not recognize an option character.
- Small coding style fixes.

ragg2:
- Small coding style fixes.

rahash2:
- Remove useless optarg check.
- Missing arguments and unknown options now display usage and exit.
- Small coding style fixes.

rarun2:
- Small coding style fixes.

rasm2:
- Small coding style fixes.
- Missing arguments and unknown options now display usage and exit.

rax2:
- Small coding style fixes.

radare2:
- Missing arguments and unknown options now display usage and exit.
- Small coding style fixes.
2016-03-05 19:52:42 +01:00
pancake
3e53c64553 Fix #4165 - Reduce warning messages in debugger mode 2016-02-25 01:55:16 +01:00
pancake
32dbac517f Several bug fixes for gdb-arm and thumb remote debugger 2016-01-26 23:36:02 +01:00
pancake
9e6d820988 Fix bus error 2016-01-19 13:32:11 +01:00
pancake
de22aa46f2 Fix COV with boolified r_io_creat 2016-01-19 13:16:24 +01:00
Álvaro Felipe Melchor
d9e77ca0d1 xnu: first series of patches to use mach exceptions
* use set_trace_bit and clear_trace_bit macros

* use PT_ATTACHEXC since PT_ATTACH will be deprecated in the future
and we are interested in receiving mach exceptions

* first attempt to handle mach exceptions

* api change: added a parameter to r_core_setup_debugger
at least in OS X this function was producing double attachment.
I've added a boolean value to indicate when use dpa.

* added pipe to communicate between main process and traced process
by far this is not a good implementation. We should develop a better
approach/design to save all the exceptions and handle them accordingly.
This is the initial implementation

* bring back ptrace for stability and in order to merge this into master
2016-01-18 22:24:16 +01:00
pancake
6f346b6d6d Fix #3901 - Cannot debug directories and follow symlinks 2016-01-03 01:28:02 +01:00
Riccardo Schirone
d08e42942a radare2: set scr.interactive and scr.prompt when loading from project 2015-12-11 00:46:36 +01:00
skuater
513200a7fa Fixes for the w32 debugger 2015-11-24 23:28:50 +01:00
Álvaro Felipe Melchor
a518987814 Fix #3724 2015-11-22 12:05:33 +01:00
pancake
baf63a0cba Reduce RBinSymbols memory (smaller footpronum) 2015-11-09 03:41:07 +01:00
pancake
8d6c173df7 Implement {R2|RASM2|RABIN2}_NOPLUGIN env var support 2015-11-05 00:38:42 +01:00
pancake
36179944fd Fixes Thumb detection from CPSR, NULL 2015-10-31 03:45:14 +01:00
pancake
54e881daf8 Autoset Thumb in Debugger 2015-10-31 02:46:00 +01:00