pancake
f13a61bcbb
Implement o-. command, add help for future o-$ ##shell
...
* Closes the current file
2022-12-07 23:06:43 +01:00
pancake
3d84a268dd
Use obm
when spotting a companion dwarf file on macOS ##bin
2022-12-07 23:06:43 +01:00
pancake
a544c0d15a
Implement RBinFile.merge() and obm
command to use it ##bin
2022-12-07 23:06:43 +01:00
pancake
3fe62b7679
Initial implementation of the ob-- command to close the last binobj ##bin
2022-12-07 19:49:32 +01:00
pancake
7d452fd973
Autoload the dwarf companion file on macOS systems if available ##bin
2022-12-07 19:49:32 +01:00
pancake
d81508d764
Add new RCore.cmdCallf() helper function ##api
2022-12-07 19:49:32 +01:00
pancake
6d68fc18a6
Implement asm.bytes.align to justify them to the right ##disasm
2022-12-07 15:02:00 +01:00
pancake
1a0b6a9abe
Kill RAsmOp, we can reuse RAnalOp in here ##arch
2022-12-07 14:30:22 +01:00
RHL120
ac513ddc34
Fix some bugs in projects ##projects
...
* Use r_file_is_directory
* Return true instead of false in r_project_rename
* Free core->prj->path before resetting it
* Check for null in r_project_rename
2022-12-06 19:08:23 +01:00
pancake
4b769417e2
Remove RAsmPlugin struct and add the 'aia' command to show archinfo ##arch
2022-12-06 12:16:45 +01:00
pancake
3a16336491
Use RAnalOp instead of RAsmOp in r_core_visual_bit_editor ##visual
2022-12-06 11:00:18 +01:00
pancake
ccb7351b5e
Merge RParse into RAsm ##api
2022-12-03 02:26:41 +01:00
pancake
a4707696d2
Fix CI build
2022-12-02 23:38:04 +01:00
pancake
903b5f6864
Expose RCore.cmdCall() and fix b64: command + add tests ##shell
...
* Run r2 commands without evaluating any special char
2022-12-02 23:32:24 +01:00
pancake
3cf4f66811
Add "lua" as an alias for "#!lua" ##lang
2022-12-02 14:56:10 +01:00
pancake
82c25407af
Refactor RLang api to use the new design ##api
2022-12-02 11:59:33 +01:00
condret
36bf340b4e
Kill io->buffer ##io
2022-12-02 03:48:29 +01:00
pancake
26c5221d5e
Document aanf
as an alias for afna@@
for ergonomic reasons
2022-12-01 17:49:53 +01:00
pancake
693d235b09
Fix #21080 - Add cfg.codevar to change the buffer
varname from pc
##print
2022-12-01 17:49:15 +01:00
pancake
b53a1583d0
Fix integer overflow in fuzzed dwarf rendering in graphs ##crash
...
* Reported by @solid-snail via huntrdev
* BountyID: c6f8d3ef-5420-4eba-9a5f-aba5e2b5fea2/
* Reproducer: `intof_mod`
2022-12-01 13:57:46 +01:00
pancake
57e8214add
Dont use |Usage, because Usage is the new trend
2022-11-30 19:04:20 +01:00
pancake
05947def03
Move the preincrement and void arg from tests to lint.sh ##syntax
...
* The regex was not correct, so it was missing a lot of cases
2022-11-30 17:13:32 +01:00
pancake
55d59eea17
Some more RConfig.geti -> getb code cleanup, wip new lint
2022-11-30 17:11:39 +01:00
pancake
19a377bbda
Fix and move failing tests, reorder lib build ##arch
2022-11-30 15:43:54 +01:00
pancake
0b145c5e40
Move the x86.nz plugin ##arch
2022-11-30 15:43:54 +01:00
condret
0d32c3748f
Add esil.dfg.mapinfo and esil.dfg.maps config vars ##anal
2022-11-30 09:53:29 +01:00
pancake
684a4599f6
Fix use-after-free after @@@e spotted by meme ##crash
2022-11-29 12:28:36 +01:00
pancake
fbe046ff61
Show number conversion error messages in ?v
command ##shell
2022-11-29 00:38:34 +01:00
pancake
d863d7159b
Move the RParse.cparse into RAnal.cparse ##refactor
2022-11-28 10:28:07 +01:00
Mohamed Lemine Ould El-Hadj
3ff2ab4927
Fix issue with cursor disappearing towards the bottom of the screen ##visual
2022-11-27 08:30:07 +01:00
pancake
7b53d95dd7
Fix drt? and drr? spotted by d?*
2022-11-27 02:52:08 +01:00
pancake
02b7d165b4
Bring back the 'dms' command ##debug
2022-11-27 02:51:42 +01:00
pancake
37b279b6f4
Fix asm.acur supporting arch, anal and asm plugins ##arch
...
* Fix asm.acur supporting arch, anal and asm plugins ##arch
* Fixes the arch/bits combo selection order issue for riscv tests
* Move the riscv arch plugin to the new plugin structure
* Deprecate r_asm_setup ()
2022-11-26 17:49:10 +01:00
condret
6e351d0512
Some more improvements to esil_dfg ##anal
2022-11-26 15:15:19 +01:00
MewtR
aebd92c76e
Don't draw two cursors when too many bytes are on disasm panels ##visual
2022-11-26 10:03:45 +01:00
pancake
b0dee825c7
Massage the anal to get the plug in shape and make the tests happy
2022-11-25 23:32:41 +01:00
pancake
5cbd085902
Implement oe
command to open a file using cfg.editor ##shell
2022-11-25 11:09:12 +01:00
pancake
db225c212d
Fix null deref on main router inside the r2 shell
2022-11-25 08:18:08 +01:00
pancake
a935629aae
Implement Ll, Llq and #!?q commands for better rlang listing ##shell
2022-11-25 00:19:14 +01:00
pancake
93c5a89b07
Fix UAF in aaft
when the BB is removed during the loop ##crash
...
* reproducer: $ r2 -c 'aaaa;o /bin/ls;aaaa;o /bin/sleep;aaaa' Twitter
2022-11-24 12:25:48 +01:00
pancake
f39eeb7f3f
Support $r:REGNAME syntax and document it ##shell
...
* $r:PC is the same as $r{PC}
* Also handle @r{PC} in sync with current syntax @r:PC
2022-11-22 13:01:12 +01:00
pancake
7a195eab2a
Fix null deref on wrong api usage for RCore.cmdStr ##api
2022-11-22 08:28:40 +01:00
pancake
7363499cf4
omfg runs omm if no map is set ##io
2022-11-22 03:03:54 +01:00
pancake
60e2d53b2c
Fix char
auto-comment in cmp
instructions ##disasm
2022-11-22 00:51:13 +01:00
pancake
f09557c7f8
Fix #14540 - klass->super must be an RList instead of char* ##bin
2022-11-21 19:26:29 +01:00
pancake
9a8f7413e4
Deprecate more unused fields from RAsmPlugin ##asm
2022-11-21 12:04:46 +01:00
pancake
1b7e6a59b9
Remove the unused RAsm.binb ##asm
2022-11-21 03:03:19 +01:00
Ernest Deák (Tino)
f81c7dee37
Fixed incorrect thread arena output ##debug
...
When issuing dmha, often times the output
would include thousands of lines saying the
thread arena is 0xffffffffffffff.
This commit introduces a simple check of
GHT_MAX that aborts printing if the thread
arena is equal to that number. I assume
those pointers are incorrect anyway.
2022-11-20 12:55:12 +01:00
Mohamed Lemine Ould El-Hadj
6c28822d73
Make j/k movement in panels' cursor mode more consistent with it's visual counterpart ##visual
...
* Fixes issue where 'k' goes up two rows instead of one
* Previously moving offscreen with 'j/k' would lead to weird behaviour (getting 'blocked', panel not refreshing), this fixes that as well
2022-11-20 11:40:06 +01:00
pancake
f68bd7a7a9
Fix assert in r2 -ci. --
2022-11-19 12:55:51 +01:00