pancake
ff72cfd529
Small fix trick in count.sh
2021-10-04 15:38:46 +02:00
devnull850
b7404ea6d3
Remove duplicate command in USAGE.md ( #19161 )
2021-10-04 14:48:42 +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
688710932f
Add CRAY-1 quote from NCAR'78
2021-09-30 10:53:46 +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
56a0e2eedb
Show instruction and bytes when failing asm tests ##tests ( #19145 )
2021-09-28 11:18:47 +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
pancake
8117bc1db3
Improve GIT_TAP ( #19140 )
...
Co-authored-by: pancake <pancake@nopcode.org>
2021-09-27 00:45:10 +02:00
pancake
dfd8be6bef
Fix format string vuln in crash handler ( #19136 )
2021-09-25 14:02:06 +02:00
pancake
b6462ece83
preconfigure.bat now accepts target arch as argument ##windows
...
* Supports x86, x64, arm and arm64
2021-09-25 13:20:23 +02:00
pancake
d07ca80e68
Missing replacement
2021-09-25 12:44:25 +02:00
pancake
27beba4761
Fix #19100 - RCons.isatty() renamed to RCons.is_tty()
2021-09-25 12:43:59 +02:00
pancake
3cc1bc594e
Handle 'git' command (from system PATH) ##shell
2021-09-25 12:41:23 +02:00
pancake
939e3c1985
Fix 1 bb function analysis with a2f ##anal
2021-09-25 12:35:03 +02:00
pancake
8613e09edf
Error handling improvements for a2f
2021-09-25 12:06:02 +02:00
pancake
39f83cf213
Fix null deref when using anal.a2f ##anal
2021-09-25 11:43:52 +02:00
pancake
5e0eb548da
Better subcommand error messages for @@, @@@ and @@@@ ##shell
2021-09-25 06:59:26 +02:00
Sylvain Pelissier
76807f588e
Add AES Key Wrap Algorithm ##crypto
2021-09-25 06:53:57 +02:00
Fernando Domínguez
e6ce88177e
Scan with FLIRT regardless of the function being unknown
2021-09-24 19:25:59 +02:00
Dennis Goodlett
81dbf2a5fe
Use non-interactive RCore in rasign2 -S ( #19134 )
2021-09-24 09:18:24 +02:00
condret
ed311e825f
Some cleanup and code deduplication ##io
2021-09-23 16:54:33 +02:00
pancake
c56097a45e
Use sdb_itoa instead of snprintf for emulation ##esil
2021-09-23 15:30:42 +02:00
pancake
b8e2db2fc1
Fix a warning with proper note for my future self
2021-09-23 13:25:35 +02:00
condret
128071b3dc
Fix oob write in r_io_bank_{read/write}_at ##io
2021-09-23 13:15:54 +02:00
condret
20f7ed0ef4
Fix omb-command map ids ##io
2021-09-23 13:15:54 +02:00
pancake
d0044b9e95
Fix warning and add more tests for the foreach operators
2021-09-23 13:15:41 +02:00
pancake
5ee6961f0f
Add @@@R to iterate over relocs ##shell
2021-09-23 13:15:41 +02:00
pancake
56b5ad8977
Fix UAF crash in pd
2021-09-23 13:15:41 +02:00
pancake
d092285bff
Fix #19129 - RBin.getImports() list is unowned
2021-09-23 13:15:41 +02:00
pancake
199976b926
Initial io.banks management commands ##io
2021-09-22 16:44:54 +02:00
pancake
9f53609621
Update v35 disassembler again
2021-09-22 16:09:35 +02:00
meme
33a424636c
Rename MD5 symbols to prevent OpenSSL collision ##build
...
The other symbols (e.g. SHA1) are renamed with a r_ prefix, but the
MD5 symbols are not.
2021-09-22 15:42:23 +02:00
RHL120
7b11df1c20
Use rmrf in r_core_project_delete
2021-09-21 14:58:28 +02:00
Lazula
cc74784ce6
Minor refactors in disasm.c, primarily r_core_print_disasm() ##refactor ##asm
...
* Rename locals and struct members to be consistent with new function signature
* Remove some duplicate locals and replace with struct members
* Move loop counters to loop scope and remove unused counters
* Move variable declarations and assignments to more relevant locations
* Collapse several nested, confusing, or redundant logic branches
* Add ds_offset(), ds_bufat(), and ds_left() macros to consistently
track buffer information
* Add error handling to r_io_nread_at() call in cmd_print.c
* Change formatting
2021-09-21 14:57:49 +02:00
pancake
8d80dbdaac
Update vector35-arm64 to fix build on riscv
2021-09-20 22:12:59 +02:00