Lazula
b14c523bae
Improve alias string detection
2021-10-04 18:04:00 +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
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
thymol0
6513ffa59f
Move the console flushing decision to the console context ##cons
2021-09-29 10:46:37 +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
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
5e0eb548da
Better subcommand error messages for @@, @@@ and @@@@ ##shell
2021-09-25 06:59:26 +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
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
2e75afb4d1
Fix issue in Pd without arguments ##projects
2021-09-20 06:23:11 +02:00
pancake
1db46d8c09
* Use r_w32 apis in RThreadCond for Windows ##windows
2021-09-20 05:41:18 +02:00
Lazula
006d759bc7
Fix #18887 - Invalid instructions near the end of data in loop ##disasm
...
* Add debug logs for disasm()
* Remove unused RDisasmState idx member and correct to index
* Set idx to ds->index and add more debug output
* Remove ds->entry
* Fix behaviour in pr_bb()
* Prevent overread in pdb command
* Track disassembler count by byets when using cbytes
* Change function signatures
* Fix pir behaviour by using print_disasm_instructions
2021-09-19 22:37:13 +02:00
pancake
8e439ec4ce
Fix invalid disasm on large pd
where bb chops invalid instruction ##disasm
2021-09-19 22:37:13 +02:00
pancake
0f943971a4
Fix saving/loading projects for PE binaries ##projects
2021-09-19 21:49:02 +02:00
pancake
8de94fac5d
Fix stripsysdir function for rvc
2021-09-19 18:47:04 +02:00
pancake
d98818b8bf
Some code cleanup and simplifications for rvc.c ( #19108 )
2021-09-19 11:25:17 +02:00
pancake
86472a6b4f
Fail with r2 -p unexistent-project ##projects
...
Co-authored-by: pancake <pancake@nopcode.org>
2021-09-19 00:16:46 +02:00
RHL120
288c8a75d5
Add an ravc2 reset command ##vc
2021-09-19 00:13:01 +02:00
pancake
b4c4c0fe98
Implement 'woi' command to inverse contents of current block ##io
2021-09-18 22:16:45 +02:00
pancake
34d5c13776
Fix last covs
2021-09-17 01:59:44 +02:00
pancake
e8abb069f8
Remove unused variable
2021-09-17 01:12:53 +02:00
pancake
3c172b551a
Fix glitch in minigraph for cmd.exe
2021-09-16 23:41:12 +02:00
pancake
8978c80d21
Fix segfault in the jemalloc code using RBin instead of RCore ##debug
2021-09-16 17:11:26 +02:00
pancake
4032b3bcc9
Fix #19063 - rename signature when renaming functions ##anal
2021-09-16 12:03:06 +02:00
pancake
b07b84213c
Honor ? and ?? in e asm.assembler
##shell
2021-09-16 12:00:56 +02:00
pancake
32f9826dd3
Split @@@ foreach logic into collect and iterate ##shell
2021-09-15 20:16:10 +02:00
pancake
01b2f5718f
scr.loopnl is bool
2021-09-15 17:30:06 +02:00
pancake
015efc1971
Improved segmented memory addressing support ##core
...
* Add anal.cs eval variable to define the base segment value
* Moves the logic into RPrint and RNum to avoid dupes
2021-09-15 11:42:46 +02:00
pancake
e80bc53cd6
Fix UB bug found randomly in the CI related to the mw command
...
* That was not spotted by valgrind or asan 🤦
2021-09-15 10:09:08 +02:00
pancake
f5158c0834
Add support for REXX scripting ##lang
2021-09-15 00:22:06 +02:00
pancake
d1cb70bc0b
Introduce the great but for now unused RAnalArchInfo.INV_OP_SIZE ##anal
2021-09-13 23:17:19 +02:00
pancake
20f53f56a4
Allow any http.webui, all of them are fine ##http
2021-09-13 12:38:33 +02:00
pancake
c526e95076
Boolify r_sys_chdir
2021-09-13 02:30:22 -07:00
pancake
929af38b61
Honor argument in aoeq
2021-09-10 12:50:00 +02:00
pancake
819a13f816
Fix assert warning in r_fs_umount
2021-09-09 20:54:57 +02:00
pancake
7fa05e67ea
Fix missing string in movabs ##disasm ( #19060 )
2021-09-09 12:13:48 +02:00