Commit Graph

643 Commits

Author SHA1 Message Date
Murphy
f73d18205c
Fix 19164 add help message (#19279)
* Add /o and /O help messages
* Add /w subcommands help message
* Add help message to /i
* Add /f help msg
* Update /d cmd msg help
* add a8 help cmd
2021-10-22 01:18:34 +02:00
Sergi Àlvarez i Capilla
b936b15a80 Improve error message when search.from > search.to 2021-10-21 12:41:50 +02:00
Antoni Viciano
88d8b622bf Fix #19094 - RBinOptions renamed to RBinFileOptions 2021-10-10 20:52:46 +02:00
Lazula
0747bcd8e2 Fix new defects in various files
* Remove unnecessary NULL check in __demangleAs()
* Remove unnecessary NULL check in r_io_fd_seek()
* Add missing break in ARM32 COFF case and fix test
* Add missing NULL checks for r_io_bank_get() result
* Add missing NULL checks in r_bin_demangle()
* Add missing NULL check for r_io_submap_new() result
* Fix improper failure check in risv_assemble()
* Add missing break in open command
* Document fall-through case in dalvik anal
2021-10-08 01:31:17 +02:00
condret
8b1d0f4a0f Enable io banks in search; Kill search.in = io.sky.* ##io 2021-10-07 19:25:37 +02:00
pancake
d443347958
Fix #19164 - Add help message for /p? ##search 2021-10-05 10:11:06 +02:00
pancake
a060e1e22e
Implement /ck command to search for crypto constant tables ##search (#19000) 2021-08-19 18:12:08 +02:00
pancake
b0d8f6d3fc Extend ?* with /R? and /b? 2021-08-16 11:22:43 +02:00
pancake
9a2636b32b
Remove other useless and incomplete treesitter leftovers and get +400 new commands in the recursive help ##shell 2021-08-14 18:28:20 +02:00
Sylvain Pelissier
3e13703536
Rename /cu UDS CAN table search to /ru command ##search 2021-08-03 15:14:47 +02:00
pancake
b235bcbb32
Allow RBinPlugins to use RBinFile at check() ##bin 2021-08-01 12:39:51 +02:00
Sylvain Pelissier
2a65987bee
Add PGP search for signature and RSA encrypted private keys (#18961) ##search 2021-08-01 12:16:14 +02:00
pancake
d6624b4257 Add /cg command to search for GPG artifacts ##search 2021-07-30 01:29:01 +02:00
pancake
cc44d30309
Fix some issues spotted by msvc (#18899) 2021-07-15 17:24:05 +02:00
pancake
c35ebcdbd0 Update tests and add /a[?]q for quiet-legacy mode ##search
* Support multi instruction search results with pD in /ad
* RCore.flush is now deprecated
2021-06-30 12:28:47 +02:00
pancake
04c70dcefa Use pdi in /ad output ##search 2021-06-30 12:28:47 +02:00
pancake
469818b616 Fix last covs (minor memleaks) 2021-06-29 10:44:27 +02:00
pancake
065bfd31c0
Initial implementation of spp, snp, /bp and /pp to find next/prev preludes ##search 2021-06-28 00:31:08 +02:00
pancake
0dd8acb1c0 Fix last memleak cov in /b 2021-06-25 13:47:47 +02:00
pancake
4dcd0e91a0 Add /ab to find backward jumps (mostly loops) and handle ^C ##search 2021-06-23 11:48:10 +02:00
Sylvain Pelissier
92ed24070d
Reset certificate search properly (#18664) ##search 2021-05-07 00:26:13 +02:00
pancake
62c5707303 Use dbg.map in {search,anal}.in when cfg.debug is set ##debug
* Improves `aaa` in debugger
2021-04-14 11:47:57 +02:00
pancake
374a9fbd85 Avoid scanning for preludes on large regions ##debug 2021-04-14 11:40:31 +02:00
pancake
13318a5262
Show results after pressing ^C in /ad ##search (#18549) 2021-04-08 03:41:44 +02:00
murphy
5165e3c60d Fix 1259928 Resource leak 2021-04-01 21:52:06 +02:00
pancake
a7c08c15ce Don't scream out WARNINGs, capitalizing it is enough 2021-03-19 11:02:54 +01:00
Paul I
902d12b5ec Free objects allocated by rz_syscall_get() 2021-03-15 02:24:16 +01:00
pancake
7ff2673dd9
Random uninitialized variable uses fixups (#18453) 2021-03-15 02:23:39 +01:00
pancake
e7c29ed232
Boolify cfg.debug (#18452) 2021-03-14 22:22:04 +01:00
condret
eb48818342 Rename r_io_map_get to r_io_map_get_at ##io 2021-03-12 17:56:46 +01:00
pancake
80d81c553b
Add /cu[qj*] and r_search_find_uds API ##search 2021-02-01 12:42:03 +01:00
wargio
cfcf4f86ac Fixed AVR anal plugin warning due unpopulated mnemonic ##rizin 2021-01-19 05:37:17 +01:00
Liumeo
a74ca8f07b
Remove core.file ##refactor (#18178) 2021-01-06 23:44:18 +01:00
Liumeo
679eb40524
Use pj in cmd_search.c##refactor (#18163) 2021-01-04 11:29:24 +01:00
pancake
b69355bb84
Fix #18136 - Remove RBin.is_debugger and use cfg.debug (#18146) ##refactor 2021-01-01 22:48:02 +01:00
Lazula
243bc871c3 Multiple refactors in io and util ##io ##util ##refactor
* Add r_io_map macros throughout code base
* Update string NULL-checking with renamed functions r_str_get() and r_str_getf()
* Change string NULL-checks throughout code base to use functions
* Add r_str_get_fail() to specify a custom string to return if NULL-check fails
* Mark JSON to be updated with PJ with "TODO PJ"
* Incidental style updates such as missing spaces
2020-12-13 05:09:13 +01:00
GustavoLCR
203878e60e
Optimize io.cache ##io (#17952)
* Add RSkyline ##util
* Add `r_vector_len()`
* Optimize io.cache ##io
* Use RSkyline instead of RList
* Add cache skyline for faster reads
* Use PJ API in `wcj`
* Add test and fix
2020-11-23 12:36:32 +08:00
Heersin
df3d7a8e99
Extend usage info about '/*' and '*/' (#17851) 2020-10-27 14:42:08 +01:00
Anton Kochkov
afba51ce98 Fix format warnings in libr/core 2020-10-22 13:37:25 +08:00
pancake
6b6f88efd3
Speedup r2pipe-spawn: r2 -0 sets scr.prompt=0 do not autocomplete or log ##r2pipe (#17767) 2020-10-13 22:45:45 +02:00
pancake
131bb22a25
Capitalize all messages in /a? and fix 5 warnings (#17766)
Co-authored-by: pancake <pancake@nopcode.org>
2020-10-09 12:55:30 +08:00
Aswin C
fd99114bca
Rename asm.filter to asm.sub.names ##cons (#17737)
* Rename `asm.filter` to `asm.sub.names`
* Rename tests for `asm.filter`
2020-10-01 10:13:58 +08:00
Jing Xia
b3c0e42426
Fix inverted help for /ai and /aI ##doc (#17719) (#17725) 2020-09-29 11:21:00 +02:00
Florian Märkl
68a1db448d
Merge everything time-related in r_time.h (#17445) 2020-08-12 18:54:49 +02:00
Sylvain Pelissier
2d53f7083b
Update crypto key search to find keys between blocks ##search (#17323) 2020-08-11 12:31:55 +08:00
phakeobj
bab84c59e3
Introduce R_ANAL_OP_FAMILY_SECURITY ##anal (#17394)
* Merge PAC and MTE op families into SECURITY
* Add BTI to anal hacks
Co-authored-by: phakeobj <phakeobj@users.noreply.github.com>
2020-08-03 10:44:42 +02:00
Riccardo Schirone
2d160f2509
Avoid sdb double headers (#17249) ##build
* Avoid duplication of SDB headers in libr/include

SDB is an external project and as such it should live in shlr. However,
for simplicity in dealing with the include flags, the SDB headers were
copied in libr/include as well. This patch just keeps the SDB files
confined in shlr/sdb and make sure various r_* libs use the headers from
there.

* Fix pkgconfig file generation
2020-07-21 10:28:43 +02:00
pancake
b86bdc1482
Fix #ideas-294 - Remove RIO.debug (#17297)
Co-authored-by: pancake <pancake@nopcode.org>
2020-07-18 09:42:50 -05:00
pancake
6f9f8b557b
Fix #14744 - Implement /Ej and improve help message ##search (#17217)
* Implement `/Ej` and improve help message ##search
* Add tests
* Add `/Ej` in autocompletion

Co-authored-by: pancake <pancake@nopcode.org>
2020-07-07 12:12:34 +08:00
Riccardo Schirone
2ffa790e0a
Generate help automatically ##newshell (#16782)
* Add additional RCmdStatuses
* ?? should be a cmd_identifier, not help_command
2020-06-17 21:29:23 +02:00