Commit graph

904 commits

Author SHA1 Message Date
pancake
2a50ba9d1a Implement @@t iterator to run a command on all threads 2015-09-02 15:49:38 +02:00
pancake
67b4139e7e More goodies for the Visual panels 2015-08-31 11:53:03 +02:00
pancake
1e1b1adf2a Major enhacements for the V! visual panels 2015-08-31 05:06:01 +02:00
pancake
ecf5205e64 Add support for remote aliases with =$ command
For example
	=$dr   - `dr` will do `=!dr`
	=$-dr  - unset that alias command
2015-08-20 02:26:57 +02:00
pancake
873e7e7f76 Fix #3040 - show error when '. file' not found 2015-08-09 03:58:53 +02:00
shuall
0807686d86 #3052 all printf member functions changed to cb_printf 2015-08-09 03:25:05 +02:00
Taryn Hill
2e44554681 Fix typos in help strings in libr/core/cmd.c
Remove bogus 'n' from the end of yp command help
Remove duplicate 'from' in yfa's help
2015-08-08 13:55:11 -05:00
XVilka
c196bc723a Fix pipes in Cygwin 2015-08-04 15:17:09 +03:00
pancake
37ee858970 Add @e: for temporary eval var changes 2015-07-15 02:16:28 +02:00
pancake
5fb7a8df57 More better !=! and =!= help and prompt 2015-07-09 23:44:45 +02:00
pancake
763df8afb6 Add support for remote commands with: != and !=! 2015-07-09 23:20:48 +02:00
pancake
1f989e423a Fix #2862 - Handle no file size with in 'i' and 'r' 2015-06-30 11:34:38 +02:00
Álvaro Felipe Melchor
371501b724 Fix #2832 - oob read in r_mem_copyendian 2015-06-28 20:15:35 +02:00
pancake
3621b156e9 Handle << only when scr.interactive is set 2015-06-25 11:50:29 +02:00
pancake
84e7193e97 Fix #2719 - Add dbtj command to show backtrace in json 2015-06-11 12:54:39 +02:00
pancake
b60547a89c Remove the syntax pad hex arch bits. Use pad hex@a:arch:bits 2015-06-04 12:38:54 +02:00
pancake
6756b88b0f Implement the triple-at operator @@@ for functions, regs, threads ... 2015-06-01 03:05:15 +02:00
NighterMan
bc02a1ad38 Improved alias support for multiple commands using ; inside single quotes 2015-05-19 14:05:53 +02:00
NighterMan
4af0d9c85b Improved parsing for cmd aliases 2015-05-19 14:05:53 +02:00
pancake
9f5fe47783 Fix #2563 - doublefree regression in core/rtr.c:1078 2015-05-12 23:47:26 +02:00
pancake
68f2d5acdc Handle perl, ruby and .exe in r2 -i 2015-05-01 00:50:25 +02:00
pancake
1625279822 Add @k: and @@k: sdb iterators 2015-04-19 11:54:50 +02:00
pancake
488b760114 Add @b: and rename the old @b: for @x: 2015-04-19 01:28:28 +02:00
pancake
882a0ee164 Add --without-fork and r_sys_fork() 2015-04-11 05:00:05 +02:00
pancake
25076a45b3 Fix @s: 2015-04-10 00:18:13 +02:00
pancake
595616de99 Changes in pd-x and handle .lsp files for newlisp r2pipe 2015-04-08 15:40:06 +02:00
pancake
1f34f3e7e2 Fix px -x and implement @a:<arch>(:<bits>) 2015-04-08 01:08:09 +02:00
pancake
d15dacd68b Support Go and Dlang from #!pipe 2015-04-07 18:34:28 +02:00
pancake
f35b06c176 Fix #2323 - Fix crash in 'f ~..' 2015-04-07 13:22:34 +02:00
karel-
1f72e3fd04 Added 'mkdir' command in r2 shell
Add 'mkdir' to radare_argv
2015-04-02 17:15:56 +02:00
pancake
e4c5d7555f Fix #2268 - core.editor crash 2015-03-31 02:26:36 +02:00
pancake
45d378376a Handle ^C in RCore.cmd_lines() 2015-03-26 22:41:57 +01:00
pancake
c75192e435 Handle babel-node.es6, remove debug printf in rlang and autoinit io in rbin to ease scripts 2015-03-25 12:49:10 +01:00
pancake
95626e2aa4 Handle NodeJS and Python scripts with #!pipe from r2 -i and . 2015-03-25 03:25:40 +01:00
pancake
0266dd37da Oops fix another regression in cmd 2015-03-24 04:55:47 +01:00
pancake
8ba1a56209 Fix all t/cmds 2015-03-24 04:52:36 +01:00
pancake
ebbe450f38 Fix r2 -c 'o-*;s++' - use-after-free and other from #2220 2015-03-23 00:32:31 +01:00
pancake
de22fe28d9 Fix 7 more issues from #2220 // 3 left 2015-03-23 00:05:18 +01:00
pancake
ef6c71208d Fix tons of input crashes reported in #2220 2015-03-22 23:24:13 +01:00
Jeffrey Crowell
ebfb57e745 disable saving history while in sandbox mode.
closes #2217
2015-03-20 22:55:50 -04:00
pancake
33b519278a Fix #2173 - handle hex values in some x86.nz instructions 2015-03-11 11:46:42 +01:00
pancake
80dd54c70c Fix OpenBSD build 2015-02-24 14:50:14 +01:00
pancake
ef96eefc5c Disable /* */ in sandbox mode 2015-02-04 01:15:48 +01:00
pancake
7cb4334712 Rename core plugin list command from : to ?: 2015-01-22 02:43:06 +01:00
pancake
d08015cf66 Add f--, fs-*, o--, enhace Po a lot
- Handle all internal information deinitialization in:
  - flags, io, core, bin, anal
- Fix w32 build
2015-01-22 02:22:29 +01:00
pancake
b1ade9c1c6 Implement dsuf and cmd.times to run a command when using times repetition prefix
dsuf: step until program counter on a flag that matches the given string or any
cmd.times: command to run when prefixing a command with a number

for example:

	"e cmd.times=ps@rbx"
	10dsuf strlen
or
	e cmd.times=?v rbx
	10dsuf malloc
or
	10dsuf sym
2015-01-17 04:23:07 +01:00
pancake
7c205817cb Fix | less issue when interactive mode is active 2015-01-17 00:09:19 +01:00
pancake
b23768c227 Fix flag order for @@ after previous change 2015-01-09 18:54:31 +01:00
pancake
1afd12e89b Remove yara (moved to radare2-extras). Installable via sys/yara.sh 2015-01-03 02:21:49 +01:00
pancake
08c366e6e5 Reimplement s++/s-- in empty cmd using the API instead of rcorecmd() 2015-01-01 13:02:36 +01:00
pancake
1d5ea4dd56 Enforce sandbox for ko/kd 2014-12-21 04:33:15 +01:00
pancake
c886531195 Implement 'ko' and 'kd' to open/dump Sdbs, Helpers for PE ordinal symbols 2014-12-21 00:55:38 +01:00
pancake
559c2cd25a Add '!' inside '#!' and make r_core_editor accessible from r_cons_editor. 2014-12-19 03:17:28 +01:00
Jeffrey Crowell
ba86ef8031 make the single quote behavior as described in the comments 2014-12-05 13:47:20 +01:00
Kamil Rytarowski
aadbd0f868 Fix GCC warnings: array subscript has type 'char'
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
pancake
f9fa0e5536 Fix ^C issue with nullcmd repeat issue (reported by @jfrankowski) 2014-11-24 03:10:29 +01:00
pancake
6a61fdfbd3 Fix #1693 - nullcmd repeat $aliased commands too 2014-11-18 10:53:22 +01:00
pancake
67af5b7619 Add /* and */ commands to handle multiline comments 2014-11-08 00:45:31 +01:00
pancake
1e3e97f2fb More and better support for tasks. Add anal.sleep to avoid 100% cpu in analysis 2014-11-02 02:01:09 +01:00
pancake
6a6290a4da Implement Sdb in RDebug.Traces. O(n) vs O(1) in pd with asm.traces=true 2014-11-02 01:21:45 +01:00
pancake
abb3690c3a More fixes for the &Task command 2014-11-01 05:18:37 +01:00
pancake
8e29c0ef9d Initial implementation of the & command. Bump capstone 2014-11-01 04:46:33 +01:00
pancake
895879a86b Fix #1593 - r2 -cr -- segfault 2014-10-31 00:00:43 +01: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
757ae729c6 Added 'twilight' theme 2014-10-17 10:20:08 +02:00
pancake
044fa78877 Avoid nested interpreted repeats in oneliners 2014-10-11 01:21:17 +02:00
pancake
1be6be0a75 Spawn cmd.xterm in visual with '@' key. Enhace remote consoles 2014-10-07 00:56:39 +02:00
condret
4f70c1bf89 kill RCoreFile->size 2014-09-30 15:31:19 +02:00
-TOSH-
41c116863f Fix: typo in b? command 2014-09-30 04:09:57 +02:00
pancake
4c4173769b Revert "Fixing the issue where file size exceeds size of an integer":
3adb00621b
e2afa84443
0761955fdb
17cc18fad0
135c62fb5d
2014-09-20 15:33:59 +02:00
Adam Pridgen
135c62fb5d Fixing *most* warnings related to the change in r_file_slurp 2014-09-17 22:37:54 -05:00
jvoisin
e4b1246b82 Close #1316
And colorize (? too.
2014-09-09 02:39:07 +02:00
pancake
2cf4cd6b03 Implement 'cv' to allow cheat search and do not print @@ in foreach offset 2014-09-08 11:01:00 +02:00
pancake
957e87aa45 Add '=h-' command to kill the background webserver thread 2014-09-02 00:01:56 +02:00
pancake
66fa8e5d74 Fix 'ls' 2014-08-28 22:51:03 +02:00
pancake
4ea683ba34 Initial background thread for the webserver (=h& and =H&) 2014-08-28 12:08:46 +02:00
pancake
c6bc6f099d Rename l to T, add cfg.user and 'TT' chat prompt
* Add cfg.user variable
* Implement TT chat prompt
* Invoked from 'VT'
* Rename 'l' to 'T' command (log -> textlog)
* Add r_sys_whoami () -> set default username
* Add $$ trap instruction in ESIL
* Implement POP and STACK esil commands
2014-08-28 03:11:13 +02:00
pancake
ea3b3bab48 Fix #1160 - Add help message for ':' 2014-08-22 18:20:10 +02:00
pancake
6d4ca16d1e Handle \~ in r_core_cmd and extend 'cd' command to handle home expansion 2014-08-20 11:29:44 +02:00
pancake
1de4c256d2 Fix help message for .? 2014-08-19 11:22:30 +02:00
jvoisin
952359aa0e Fix some memleaks 2014-08-18 03:22:16 +02:00
pancake
50e8e0e507 Add 'lp' command to 'load plugins' + some work on 'bin.laddr' 2014-07-30 11:14:26 +02:00
pancake
6d608f0a05 Show warning when trying to resize a readonly file 2014-06-24 01:04:38 +02:00
Jonathan Neuschäfer
7884abec3d cmd_query: don't parse arguments if the cmdline is "k"
Fixes an out-of-bounds read.
2014-06-21 01:39:14 +02:00
jvoisin
2976f30b68 Colorize @@, *, r, k, y and $ 2014-06-20 18:37:08 +02:00
jvoisin
d3822e2382 Colorizs ., !, = 2014-06-20 13:25:17 +02:00
jvoisin
083357db9c Even more colored help! 2014-06-19 21:00:22 +02:00
jvoisin
3e3d04ff4a More colorful help 2014-06-14 14:36:29 +02:00
pancake
e4073db7ef Show warning if sandbox enabled in '|' and fix the "funny" 'ls|less' bug 2014-06-14 03:01:27 +02:00
pancake
02b3be47b0 Duplicate 'yf' as 'wd' (new command) 2014-06-11 01:17:58 +02:00
pancake
0ea452d0f5 Fix build 2014-06-06 00:06:30 +02:00
pancake
8d663ceb94 Some rework on RBin.baddr and laddr to make it work again
Not all fileformats return correct data in Sections, this is
why sometimes the relocation with baddr (needed for aslr) fails
on mach0 for example. This code needs to be redesigned and fixed.
2014-05-29 00:49:28 +02:00
pancake
650c824171 Implement list color themes with 'ecf' command 2014-05-28 01:07:02 +02:00
pancake
afc6afecef Add rasta color theme: 'ecf rasta' 2014-05-27 02:42:03 +02:00
Andrew McDonnell
127a5c23e4 Implement yz feature and fix memory leak and invalid pointer issue 2014-05-23 15:35:49 -05:00
pancake
fd3251d99c Refix 'r' command issues 2014-05-19 02:52:51 +02:00
pancake
7ec7aa921f Fix 'r' command issues 2014-05-18 22:29:11 +02:00
jvoisin
0fa4daa983 ec* is implemented, remove the TODO 2014-05-16 02:46:59 +02:00
pancake
728dd81352 Add objc.pl to import ObjC class info into r2, enhace arm.cs and more
- Fix @@ flagname*
- Fix precision bug in r_num_units()
- Better ARM Thumb code analysis (still pretty basic)
2014-05-14 03:53:22 +02:00
jvoisin
8fadad1f1f Fix CID 1134944 2014-05-06 19:30:12 +02:00