pancake
2423ced03c
Implement ?ea and ~?ea to use the seven segment ascii art text rendering ##visual
2021-10-09 10:16:38 +02:00
pancake
28b0543825
Honor console width in ls and fix lsj,lsq,lse ##shell
...
* Move console_width logic out from r_syscmd_ls ##api
* Fix tests
2021-10-09 03:26:47 +02:00
pancake
beab137cd7
Use PJ in lsj/ls -j/dir -j
2021-10-09 03:26:47 +02:00
pancake
eb8e8a6503
Add 'dir' command as an alias for 'ls' ##shell
2021-10-09 03:26:47 +02:00
pancake
a90afe7e7c
Permit ending '%' in the env keys for % and @% ##shell
2021-10-09 03:26:47 +02:00
condret
82ebbac993
Rename r_io_map_next_available to r_io_map_locate and add use_banks support ##io
2021-10-09 03:20:49 +02:00
condret
f65be8067f
Kill r_io_map_next_address ##io
2021-10-08 23:26:18 +02:00
condret
2ebf4680e0
Improve r_io_bank_locate for replacing r_io_map_get_next_available ##io
2021-10-08 22:51:23 +02:00
Sergi Àlvarez i Capilla
57fbf3960e
Fix pdi~invalid bug, at least when bbsize > 32 ##disasm
2021-10-08 21:52:19 +02:00
condret
92eecf65e6
Remove unnecessary break
2021-10-08 01:36:24 +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
c6929b6231
Add alignment support to r_io_bank_locate ##io
2021-10-08 01:26:08 +02:00
condret
4c9f466b7c
Fix r_io_map_del_name ##io
2021-10-08 00:05:30 +02:00
condret
4b05dfda99
Add r_io_bank_get_map_at and enable banks in r_io_get_map_at ##io
2021-10-07 22:24:50 +02:00
RHL120
0840a34410
check char *h for NULL in r_file_new ( #19183 )
2021-10-07 21:22:49 +02:00
condret
9d84785d62
Remove unused fcn defs ##io
2021-10-07 19:46:47 +02:00
condret
8b1d0f4a0f
Enable io banks in search; Kill search.in = io.sky.* ##io
2021-10-07 19:25:37 +02:00
pancake
ad28afe7c5
File RFile.new() for abspaths ( #19179 )
2021-10-07 15:49:29 +02:00
Dennis Goodlett
8665744819
Auto-rename name collisions in ##signatures
2021-10-07 08:21:25 +02:00
condret
bf29366140
Add 2 comments for clarification ##io
2021-10-06 23:41:27 +02:00
condret
7a1b64131d
Improve "om"-command, show '*'-marker for current map ##io
2021-10-06 23:03:19 +02:00
Lazula
d1631b8d34
Multiple alias improvements
...
* Add proper hashtable functions in RCmdAlias to prevent memory leaks
* Fix off-by-one error in alias name processing
* Don't allow 0-length aliases
* Fix memory leak in r_cmd_alias_set_raw() when malloc fails and add
null checks to other alias set functions
* Document intended use of strlen() result for buffer size
2021-10-06 22:24:42 +02:00
RHL120
bdd6ca10b1
Add .rvc_ignore ##vc
...
* Load rvc_ignore before iterating through blobs
2021-10-06 08:28:05 +02:00
Sergi Àlvarez i Capilla
e9339bc4c9
Handle the ARM32 COFF case ##bin
2021-10-05 13:22:06 +02:00
Sergi Àlvarez i Capilla
e8f724e2c7
Fix negative index in r_snprintf
2021-10-05 10:26:22 +02:00
pancake
d443347958
Fix #19164 - Add help message for /p? ##search
2021-10-05 10:11:06 +02:00
Sergi Àlvarez i Capilla
6969ee42ee
Sync swift demangler syntax with Apple one and force trylib=0 in r2r.c
2021-10-05 10:10:32 +02:00
pancake
f427fc77cd
Improve swift demangler and add bin.demangle.trylib config ##bin
...
- May fix the macos testsuite as long as latest macOS comes with libSwift
2021-10-05 09:05:49 +02:00
Lazula
e4f13622e4
Fix overread in r_str_firstbut_escape() when string ends with a single backslash ( #19166 )
2021-10-04 22:36:48 +02:00
pancake
704bf823d1
Cleanup and boolify some more debug apis ##refactor
2021-10-04 20:56:34 +02:00
Lazula
b14c523bae
Improve alias string detection
2021-10-04 18:04:00 +02:00
pancake
ff72cfd529
Small fix trick in count.sh
2021-10-04 15:38:46 +02:00
pancake
690f6e6f8f
Boolify RIO.close() ##refactor
2021-10-04 14:47:22 +02:00
Lazula
25fc71570c
Overhaul alias system
...
Aliases now use a hashtable. Aliases are now either commands or data.
Data aliases may be strings or raw bytes.
* Expand alias API
* Remove remote aliases - remote commands can still be aliased normally
* Update alias help text
* Fix an alias test and add new tests
* Add r_str_escape_raw() for null-safe escaping of unprintable characters
* Remove command to print alias without newline
* Fix dif command opening files as strings
2021-10-04 09:30:37 +02:00
Lazula
6a04be09ed
Add r_core_cmd_tobuf()
2021-10-04 09:30:37 +02:00
Sergi Àlvarez i Capilla
6e85aa2970
Handle PPID on macOS debugger ##debug
2021-10-04 00:08:54 +02:00
pancake
ba7ac2b853
Add support for the ALPHA disassembler ##disasm
2021-10-01 19:16:03 +02:00
pancake
c8f80fce7b
Implement ternary support for numeric input ##util ( #19153 )
2021-10-01 18:40:10 +02:00
condret
0353cdcf5f
Implement map depriorization in io banks ##io
...
* Add r_io_bank_map_add_bottom and r_io_bank_map_depriorize ##io
* Fix potential bug in r_io_bank_update_map_boundaries and add some comment for clarification ##io
2021-10-01 14:54:24 +02:00
0mhu
a337ed42e0
Fix #19149 : Prevent NULL pointer dereference in line_header_fini() ( #19150 )
...
hdr->file_names is set to NULL.
However, the corresponding count variable is not set to zero.
It might stay on a non-zero value and
cause the code in line_header_fini() to dereference the NULL pointer.
Setting hdr->file_names_count to zero solves that issue.
2021-09-30 20:07:33 +02:00
pancake
f3563759ef
Move more context fields out of the globals ##cons
...
* Fix |H |T and | suffixes when webserver in background
* Ignore noflush in the RCons.flush() call
2021-09-30 01:04:03 +02:00
SkUaTeR
c7d8b19a2b
Fix r2wars regression with REP cycle detection ##esil
2021-09-30 00:40:54 +02:00
pancake
4a4946cd89
Initial implementation of the HUNK file parser ##bin
2021-09-29 12:34:44 +02:00
pancake
c2e064de08
Detect canary on statically linked RT and stripped PEs ##bin
...
* Add tests and support 32 and 64bit canaries
2021-09-29 12:08:50 +02:00
thymol0
6513ffa59f
Move the console flushing decision to the console context ##cons
2021-09-29 10:46:37 +02:00
pancake
e8e9cef1e2
Initial implementation of the RISCV assembler ##asm ( #19144 )
2021-09-28 11:18:23 +02:00
Sylvain Pelissier
16af634aa6
Remove global usage in AES encryption ##crypto
2021-09-28 10:40:22 +02:00
Sergi Àlvarez i Capilla
ff0517aba9
Fix warnings
2021-09-28 10:30:12 +02:00
pancake
adbb29f9c2
Add pve command to print values on any endianness ##print
2021-09-27 16:29:01 +02:00
pancake
e3e64df6f3
Add PDP-11 disassembler support from binutils ##disasm ( #19141 )
2021-09-27 14:22:22 +02:00