Commit graph

159 commits

Author SHA1 Message Date
pancake
1767281a7c Show help in wtf? 2017-10-11 23:24:11 +02:00
Fangrui Song
63731e9e81 Add help for ~:[s]-[e] show lines s-e & fix #8164 recursive help (#8474)
* Move r_core_cmd_help features to grep.c:r_cons_cmd_help to avoid dependency on r_core from r_cons
* Beautify r_cons_cmd_help & fix wp? & p?
* Fix #8164 recursive help (and add partial support for ??* ???*) & NULL terminate fz? Sl? Sr?

The support for ???* is partial because the current ad-hoc command
parser is obscure and hard to extend.
2017-09-12 11:05:24 +02:00
Fangrui Song
800fed2e31 Fix wt #8394 2017-09-01 19:34:09 +02:00
pancake
97f45e17af Fix cmd_extend tests 2017-08-23 01:36:48 +02:00
pancake
c99bae1b6c Fix signed size check (thanks @MaskRay) 2017-08-22 11:11:51 +02:00
condret
2f201bded0 opsalamance - merge the big siol branch
- Thanks @MaskRay and @condret
2017-08-22 09:42:16 +02:00
pancake
07f86788b6 r2 -m enables io.va=true to solve some io regressions 2017-08-18 05:20:33 +02:00
condret
116810aeb7 beauty-fixes for pancake 2017-08-18 01:40:10 +00:00
alvarofe
2e462ec8f0 Bring RIODesc from SIOL and cleanup 2017-08-18 01:31:57 +00:00
Fangrui Song
3be2db7314 Fix wen and add comments to switch cases. (#8155) 2017-08-10 11:54:08 +02:00
pancake
396d282c9e Implement wopD* command 2017-08-09 21:32:58 +02:00
Fangrui Song
86de0abd20 Use RList for cmd_descriptors, make it a member of RCore (#8034) 2017-07-27 14:52:17 +02:00
Fangrui Song
aa5ea95935 w commands: move const char help_msg_*[] arrays to top. (#8003) 2017-07-26 17:13:54 +02:00
alvarofe
fe6aba1fbd Translate to paddr only with wtf! command 2017-07-10 00:07:19 +02:00
alvarofe
ec78cabef7 Translate vaddr to paddr in wtf command 2017-07-10 00:04:10 +02:00
alvarofe
20dc587f7b Fix oob read when doing wtf! 2017-07-09 23:48:17 +02:00
pancake
f36cd87cb1 Partial fix for #7545 2017-07-09 13:15:13 +02:00
pancake
6e1490f747 Minor help message fixes 2017-06-09 02:07:05 -11:00
Antonio Sánchez
3f8dee8113 Fix #7545 - Miss misspelled word in wtf! 2017-05-20 17:31:47 +02:00
Ayman Khamouma
a9a0c7e385 Fix #7524 - Fix help messages for recursive help parser (#7525) 2017-05-18 23:13:18 +02:00
condret
1ab91415e6 kill vio 2017-04-24 19:45:33 +00:00
pancake
7c32a3350d Fix #6664 - Add rapatch format documentation in wp? 2017-03-09 00:12:23 +01:00
dx
27e7d26e96 Fix w0 command 2017-03-05 16:44:15 +01:00
SchumBlubBlub
56f5931712 Fix compile warnings (#6687) 2017-02-05 03:01:53 +01:00
pancake
c355d6ed5e Fix null deref in cbin->info 2017-01-05 10:57:50 +01:00
pancake
c85a06575b Add wtf! command 2016-12-29 04:28:06 +01:00
jvoisin
050d383ae7 Improve a bit the help for anal-related commands (#6348)
* Improve a bit the help for anal-related commands
* Help for `dcs`
* Help for wt
* Add help for dcu
2016-12-21 09:02:55 +01:00
pancake
5b7acbc42e Honor cfg.bigendian in wv 2016-12-06 15:25:49 +01:00
pancake
cb06c9c26b Fix #6270 - Honor current offset when assembling conditional jumps in x86 2016-11-30 16:22:34 +01:00
Maijin
ffd8ecd14b Add remaining [?] 2016-11-26 14:57:21 +01:00
pancake
f3906c4e89 Fix wxf error message 2016-11-24 11:35:40 +01:00
pancake
80f92cba4e Fix wt usage 2016-10-27 23:55:54 +02:00
pancake
e8ddc68893 Add autocompletion for wxf and wtf 2016-10-27 17:11:24 +02:00
pancake
be9df39f6f Fixed 40 null derefs reported by coverity 2016-10-20 15:02:25 +02:00
pancake
7a1b6871d9 Fix a bunch of outstanding coverities 2016-10-20 14:11:02 +02:00
Álvaro Felipe Melchor
c237950200 Fix #5968 - search string when malloc://X + wx 2016-10-19 23:02:39 +02:00
pancake
995495ade4 Fix 1 byte write issue in io.http and io.tcp 2016-10-19 15:16:14 +02:00
pancake
fbd84145f5 Fix latest COVs and make tcp:// rw 2016-10-19 13:19:30 +02:00
pancake
5fcee5d712 Implement wts to send data to socket 2016-10-19 03:36:59 +02:00
pancake
cea2c80d56 Show flags in dm, add dmq and add resolver in rnum 2016-10-16 02:34:54 +02:00
pancake
6db1ee101d Fix wxs command 2016-10-04 18:03:03 +02:00
Chris Rorvick
9b47635f0c remove `next' param from r_core_block_read()
This was originally used to cause a seek to the next block prior to
reading such that successive calls to r_core_block_read() would progress
through memory one block at a time.  This was broken, though, by commit
452669d941 ("more cleanup in r_core_block_read") when when it used
`next' to directly calculate the offset rather than via a seek.

Only one call site remains that attempts to read the next block instead
of the current, and this probably was not even observable due to the
"hacky fix" added in commit 3bfa61946e ("Cleaner pvj, fix tinype load,
and honor 'ao N's").

The current of semantics of `next' appear to be broken and there is very
little dependence on it.  If the original behavior should be restored
anywhere, it would be much better to add a new function, or just do the
seek explicitly, rather than parameterizing r_core_block_read() on it.
2016-08-15 14:26:58 -05:00
pancake
d001066eb4 Support longer wopD.. still not complete 2016-08-15 01:40:34 +02:00
pancake
deb05ed383 Honor cfg.bigendian in wopO for debrujn patterns 2016-08-14 23:49:13 +02:00
Álvaro Felipe Melchor
a99d53357d Fix #5352 - Endianness problems for wopO command 2016-08-02 23:22:34 +02:00
Maijin
b7d7593342 Add wcj 2016-07-19 23:55:36 +02:00
diouziou
39907cd94a Typo Update cmd_write.c
Typo Added a missing )
2016-07-19 16:22:00 +02:00
Anton Kochkov
33ec5b9865 Fix coverities
CID 1357120
CID 1357121
CID 1357112
CID 1357099
2016-06-30 22:11:09 +03:00
Jeffrey Crowell
5317508cdb fix build 2016-06-28 23:54:57 -04:00
pancake
682a255f1d Fix #4665 - Add more core.num.value updates after write ops 2016-06-29 00:52:29 +02:00