Commit graph

904 commits

Author SHA1 Message Date
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
Anton Kochkov
6d158aa1ab Fix CID 1134902 2014-05-03 15:28:30 +04:00
jvoisin
0283379056 Fix CID 1134936 2014-04-30 22:48:42 +02:00
Anton Kochkov
f9941829f2 Fix CID 1191360 2014-04-30 02:15:36 +04:00
pancake
d7ff0e46be Implement 'ej' to dump config in json and update uncrustify 2014-04-28 11:54:01 +02:00
Anton Kochkov
b889dd5e8d Fix CID 1134934 2014-04-28 11:50:03 +02:00
jvoisin
88aae4e616 Fix CID 1134935 2014-04-27 01:06:09 +02:00
pancake
a0d3af60ec Fix core.yara plugin 2014-04-27 00:58:31 +02:00
pancake
6d30dbc4ca 'r' command now returns file size instead of help 2014-04-23 03:31:40 +02:00
deeso
dd07844436 Fixing some Null Dereference Bugs courtesy of coverity 2014-04-22 18:39:17 -05:00
pancake
4e8ab49948 Fix freeing issue in RCore plugins and rename RCmdPlugin to RCorePlugin 2014-04-01 17:17:03 +02:00
pancake
ae20ea8132 Add ragg2-cc support for OSX-x86-64 2014-03-28 16:22:34 +01:00
Adam Pridgen
12dd493f6d extended yank command so that offset and len did not need to be specified 2014-03-22 15:44:21 -05:00
pancake
fad24ba146 Remove some warnings and unused code 2014-03-21 12:28:34 +01:00
Adam Pridgen
940db1cf75 Added the ability to yank a file into a buffer without loading it 2014-03-20 23:25:39 -05:00
Adam Pridgen
b144099451 RCore yank_buf is now a RBuffer with a defined API. Tweaked RBuffer so it reallocs buffers correctly. Modified io_zip to write through on new files. 2014-03-20 13:09:37 -05:00
pancake
53edf7c17d Merge RCmd inside RCore 2014-03-18 00:05:44 +01:00
pancake
6c641ea461 Extended help message for 'k' command 2014-03-12 02:54:21 +01:00
pancake
fb98bc1335 More sdbization for comments and hints (-250LOC) 2014-03-12 02:44:49 +01:00
pancake
73a46d574c SDBize and refactor Anal-Hints, still unfinished 2014-03-11 02:47:10 +01:00
pancake
bb7958342b Deprecate RPair API and ?k. Use SDB and integrate it with 'k' 2014-03-07 01:26:11 +01:00
pancake
c8b18c5597 Nest some SDBs and make them accessible via 'k' command 2014-03-05 03:52:42 +01:00
pancake
ec5e023eae Fix #653 - Fix segfault in r_core_cmd_subst_i 2014-02-24 00:38:53 +01:00
pancake
770431ffa7 Fix #594 - random data in stdin causes segfault 2014-02-23 01:27:59 +01:00
pancake
0b2fd7c170 Show error on wrong backitcked commands 2014-02-23 01:20:20 +01:00
pancake
56d73604e2 Fix pn? issue 2014-02-22 03:36:45 +01:00
pancake
f364124f3f Fix #648 - Crash in test-r_anal.py 2014-02-22 01:58:40 +01:00
pancake
c5191b08b5 Handle uid/gid and perms in 'ls -l' (thanks zlul) 2014-02-18 04:03:07 +01:00
Zach Riggle
36518d2ae6 Fix clang build (unicode characters outside of literals) 2014-02-15 20:47:46 -05:00
pancake
f27b9a4d70 Add 'less' unix shell command 2014-02-11 02:39:59 +01:00
pancake
a648539513 Fix static build 2014-02-03 00:19:55 +01:00
pancake
73b884ae59 Fix ls -l segfault 2014-01-28 16:56:40 +01:00
pancake
67c4daf25f Autocomplete ls and cat, add ls -l and more 2014-01-26 05:16:26 +01:00
pancake
c43188c755 Some random cleanups for help pfx 2014-01-23 09:44:47 +01:00
pancake
86d011ebba Remove useless debug printf 2014-01-18 23:10:22 +01:00
pancake
4c8346fd8a Fix more coverity issues 2014-01-18 23:02:53 +01:00
pancake
d86bf57ca4 Remove more r_lib references 2014-01-18 02:52:49 +01:00
pancake
802e808072 Merge libr/lib into libr/util and add r_sys_environ API 2014-01-18 02:42:23 +01:00
pancake
ae3e0532cb Fix zlul backtick issue. No more pn~ 2014-01-09 01:09:40 +01:00
pancake
a4d3cc6a31 Add 'pae' command to show esil from hexpairs
* Add some more prefixed help messages
2013-12-23 01:57:43 +01:00
pancake
0f8d485d21 Add new raw comment '^|' 2013-12-22 04:58:41 +01:00
pancake
f1114fa600 Fix #476 - pr . segfaults (control tailcall depth) 2013-12-22 01:54:46 +01:00
pancake
f29cbb5ad6 Fix #474 - Segfault in pc+backticks 2013-12-22 00:45:50 +01:00
pancake
0ce9611a15 Fix #466 - The '-' command works fine only once 2013-12-19 00:05:49 +01:00
pancake
8f6cd68e11 Fix division by zero in '!/' 2013-12-17 23:45:03 +01:00
pancake
2ffa9c094a Add 'wh' command for 'whereis' and 'which' 2013-12-14 03:10:04 +01:00
pancake
ddbc120876 Add '%' and '*' commands and refix install 2013-12-14 02:47:25 +01:00
pancake
feb42ff61a Implement 'iaj' command 2013-12-05 02:06:19 +01:00
pancake
05d7188a9a Fix dynamic format string functions
- s/r_str_dup_printf/r_str_newf/g
- Add r_strbuf_setf()
2013-12-04 00:20:52 +01:00
pancake
8559ea2d0b Some more coverity fixes 2013-12-03 04:20:45 +01:00
pancake
9cf450272e Fix two more coverity issues 2013-12-03 01:02:08 +01:00
pancake
d02df0d306 Fix some issues reported by CoverityScan service 2013-12-03 00:14:59 +01:00
pancake
f0a45a556a Fix ^w segfault and many bugfixes for macro scripting 2013-11-30 02:47:29 +01:00
pancake
4c86f43a14 Fixes in tcp connect return value and implement 2> pipes 2013-11-29 17:28:36 +01:00
pancake
456b72f85e Fix #380 - shell backticks segfaults 2013-11-22 18:20:15 +01:00
pancake
7f0fc078d8 Fix #363 - exits in visual hud mode when command not found 2013-11-15 01:54:14 +01:00
Fedor Sakharov
4558a2068c Fix memory leak in r_core_cmd_subst 2013-11-14 23:44:14 +01:00
pancake
654b7256bb Add '0x' alias for 's 0x' 2013-11-10 03:43:16 +01:00
pancake
ec9b04e758 Fix #319 - Fix recursive loading the same script 2013-11-09 03:25:43 +01:00
pancake
6d4c0fcdaf Fix #273 - pxo segfaults, add 'bm' command and 'pd' honors ^C 2013-10-19 23:10:08 +02:00
pancake
888bd62819 Add 'on' as in 'r2 -n' 2013-10-11 01:24:30 +02:00
pancake
f5188d6d47 Enhace graphs and handle relocs in webui 2013-10-09 02:53:25 +02:00
pancake
d100e603c9 Fix #157 - sandbox issue in webui
- add 'f' and ':' print formats
- fix nocolor disasm artifact
- add VW command to launch webui
- rename sN to sp (seek to previous hit)
2013-10-09 00:29:49 +02:00
pancake
1ab8dc27ea Fix Android tarball creation and add 'echo' command 2013-10-08 16:07:17 +02:00
pancake
876c18f664 Add 'ecd' command to set default color palette. Fix #247 2013-10-06 15:23:06 +02:00
pancake
b3c57e53aa Add 'exit' alias for 'q'. Implement JSON output for 'dm' 2013-10-06 15:04:19 +02:00
pancake
70e4d294b3 Minor fixes to make testsuite happy 2013-09-30 02:19:19 +02:00
pancake
0a10106b16 Fix segfault in "x"@y command 2013-09-30 01:34:14 +02:00
pancake
722659005d Better brainfuck and arm64 support. Fix some bugs
- Fix infinite loop bug in dietline using quoted commands
- Update brainfuck disassembler and analyzer
- Fix #232 - r2 error on corkami's standard.elf (missing strtab)
- Honor 'other' color palete
- Fix bug in disasm.c filtering flag replacements
- Removed '#' prefix for numeric arguments in aarch64 disasembler
- Fix infinite loop in '">"' command
2013-09-30 01:14:04 +02:00
jvoisin
00e78b4fd5 Silent two clang warnings
Thoses variables could be used unassigned
2013-09-27 19:23:10 +02:00
pancake
5781931227 Add test-r_dehug example and minor bindings update 2013-09-27 01:38:49 +02:00
pancake
17afae1dee Fix #221 - do not show output if file redirect fails and add 'rm' command 2013-09-19 00:03:39 +02:00
pancake
02a0e2bed0 Implement 'cat', 'cd' and 'ls' commands. Better version info in ?V 2013-09-18 22:16:18 +02:00
pancake
0f2fd99986 Fix some warnings and add a specific plugins.cfg for emscripten 2013-09-15 23:57:22 +02:00
pancake
e5ce1cd5d4 Implement 'cat' and 'cd' and do some fixes for 'di' code injection 2013-08-29 19:46:48 +02:00
pancake
c05c773431 Implement 'cd' and handle pipes on quoted commands 2013-08-29 19:06:23 +02:00
pancake
f058b5e0ad Handle \n as well as ; for line separators in r_core_cmd 2013-09-11 23:41:40 +02:00
pancake
65fed9b9a0 Handle '-' in 'w' commands, support comments in wF, Fixes in wp 2013-09-04 02:31:14 +02:00
pancake
5f91da3ab6 Fix .-, add '-' alias and add help message for -? 2013-09-04 01:14:35 +02:00
pancake
e25567cb09 Implement .-. Fixes for cfg.editor and handle RCons.editor() 2013-09-04 00:35:48 +02:00
pancake
e5e441f318 Implement '. file.{c|h|cparse}' extension handler 2013-09-03 23:47:18 +02:00
pancake
b51c282852 Show error when trying to interpret an unexistent file 2013-08-25 22:52:47 +02:00
pancake
e1bdd9e64f Fix #171 autodetect script by extension, Initial work on 'ts' 2013-08-17 19:53:04 +02:00
pancake
c94a4c8d94 Fix interpret with filtering .~ 2013-08-13 02:28:17 +02:00
pancake
fd075de90a Add 16bit dithering for 256/16M rgb console + fixes
Add scr.rgbcolor to disable 16bit ansi escapes
Disabled by default on windows
Implement ansi to rgb and rgb to ansi conversors
Implement 256 color to rgb bruteforcer
ec: renamed to ecr
Fixes for the VE menu
Drop --enable-devel flag from r2-bindings/README
2013-07-17 22:12:14 +02:00
pancake
be46b9da31 Initial support for truecolor (xterm only)
Add e scr.truecolor variable
Add !! command to save history
Add ec: command to randomize palette
Minor rgb trash fix,
2013-07-17 19:34:27 +02:00
pancake
a1123b6a69 Added default color paletes for rcons
Added 'ecf':load colorschemes
Added VE visual menu to configure colors
r_cons_rgb_parse() needs a rewrite
2013-07-17 03:51:53 +02:00
pancake
209ac5696c Fix '$' alias command (thanks alxchk for reporting) 2013-07-13 01:13:23 +02:00
pancake
2992f7c951 Add cfg.colorops and 'reg'+'num' palete elements in r_cons 2013-07-03 17:43:20 +02:00
pancake
8377c98458 Use xdg configuration path ~/.config/radare2/ 2013-06-27 19:15:59 +02:00
pancake
7407bc4f07 Handle ~ in '.' command. Fix #120 2013-06-24 23:06:32 +02:00
pancake
ec51d2881f Fix infinite loop in r_core_cmd() (thx udishamir) 2013-06-11 11:49:15 +02:00
pancake
04bcbfd290 Fix off-by-one issues in anal comments (fixes #95 and probably #96) 2013-05-23 10:33:21 +02:00
pancake
e5cdab6d20 Fully configurable console palette for disassembly, hexdump and prompt
- Fix overflow in r_cons
2013-05-23 02:26:48 +02:00
pancake
9d65bfe70c Initial r_cons palette support. See 'ec' command 2013-05-22 04:22:49 +02:00
pancake
426873d911 Better support for macros and fix dex checksum hint
- .(fix-dex) macro defined when loading a dex
2013-04-12 01:15:00 +02:00
pancake
032860782d Add checksum correction hints for DEX 2013-04-11 01:25:25 +02:00
pancake
7e4d92c6fb Fix some warnings 2013-04-02 12:45:16 +02:00
pancake
ce4382abb7 Use anal-udis86 by default instead of anal-im86 2013-03-19 10:27:57 +01:00
pancake
c11bf6c1cb Fix partial IO read, show flags under visual cursor
Show flags in @@ and visual title with cursor
Port 80 is now default for r2 -C
Key 'q' will quit -C mode
Fix visual core_read() issue with chrome
Fix io.va issue in partial reads
Fix r_io_next_section() code
2013-03-18 00:38:04 +01:00
pancake
8846cb79cf Pass t/test.arm, new cmd !123 to run historic command
Fix all opcode constructions listed in t/test.arm
Add 'hlt' opcode for arm.
Minor changes in arm disassembly output
Typing !#number you re-run the command in !history
!history is now listed (! is an alias)
Added API to access history from dietline
2013-03-14 02:32:53 +01:00