Commit Graph

11613 Commits

Author SHA1 Message Date
pancake
e622272d29 Honor Flag.maxLength in more RName.filter calls 2021-07-29 19:53:50 +02:00
pancake
a242ecf943
Add one more RReg wrapper in RAnal for bindings (#18946) 2021-07-28 12:09:23 +02:00
pancake
469146d49a Identify the analysis bottleneck into a toggleable #if 2021-07-26 01:03:34 +02:00
pancake
4adce1546a Implement aaff command and improve aaf? help message ##anal 2021-07-26 01:03:34 +02:00
pancake
7b9dca90c9 Fix asm.hint.imm keystrokes ignored ##visual 2021-07-25 23:55:48 +02:00
pancake
3158c9ff83
Fix #18292 - Clarify the use of Vdn/Vdr and rename VdR to VdX ##visual 2021-07-25 23:15:33 +02:00
pancake
5a52e815ec
Use RAnalBind in RAsm to reuse RAnalPlugins to disassemble ##asm 2021-07-25 22:44:47 +02:00
Royos90
67e82db7cf ##anal
Chaned found r_anal_fcn api calls to r_anal_function to reflect new changes.
2021-07-25 21:56:44 +02:00
RHL120
237dbc305a
Fix *NULL dereference in rvc2.c (#18929) 2021-07-23 18:11:28 +02:00
pancake
59aa6bf6c8 Archs without calling conventions defined do warn again 2021-07-23 09:47:50 +02:00
pancake
352630295e
Polish some asserts here and there (#18927) 2021-07-23 09:36:10 +02:00
lasek0
14ab212c75
Extend afj command to handle all jump table parameter options ##anal
- fix invalid argv read for table(etc)
- fix memory leak by missing free for strdup
- fix invalid elem size and elem cound for jmtbl which previously was set to same value,
  now it can be set properly, extend afj command add 2 new parameters elem_sz and
  seg for precise jmp tbl reading (#18919)
2021-07-22 19:47:27 +02:00
pancake
3c416c54cc
Fix meson build and proper use of cgen ##build (#18920) 2021-07-21 17:22:39 +02:00
RHL120
a71486234f
Use r_sys_whoami as the author name for r_vc_commit ##projects (#18915)
* Force the caller to asign the author name in r_vc_commit
* Wrap formats in cmdf in double quotes and escape them
* Fix some memory leaks in r_vc_git_.*
2021-07-21 12:04:26 +02:00
pancake
7b961cc020
Fix assert and add help in afco (#18921) 2021-07-21 12:03:27 +02:00
pancake
857b1bfce1
Add scr.hist.filter to toggle the filtered history up/down search ##shell (#18913)
* Introduced in f6f7728cf4
2021-07-18 19:15:54 +02:00
pancake
3e1d31993d
dbg.verbose is now set to false by default (#18911)
* Hide GETREG error shown on WSL1
2021-07-18 18:25:11 +02:00
gogo
130c220792 Add 'sigstr' to the 'di' output for verboser stop reasons ##debug 2021-07-17 13:00:21 +02:00
Ilya Trukhanov
346d457b33
Use a temporary buffer for disassembly in r_core_visual_disasm_down (#18909)
* Populate a temporary buffer with R_ANAL_ARCHINFO_MAX_OP_SIZE bytes (or 32,
  whichever is bigger) and disassemble it, instead of directly passing
  core->block and fixed 32 bytes length to r_asm_disassemble.
* Fixes incorrect disassembly in visual mode when the current
  instruction is longer than 32 bytes. The corresponding analysis
  plugin needs to correctly report R_ANAL_ARCHINFO_MAX_OP_SIZE.
* This shouldn't break any plugins, since they still receive at minimum
  the same 32 bytes as before. However, if there are plugins that, for some
  reason, ignored the passed length and continued reading the buffer
  beyond that, this change will break them. Those plugins should probably be
  fixed.
2021-07-17 08:15:41 +02:00
pancake
594afb2390
Implement 'afs*' command to export function signature info in r2 commands ##anal (#18906) 2021-07-16 21:30:53 +02:00
pancake
10ee7d20a5
Fix afsj, taking signature args instead of fcnargs in json ##anal (#18901) 2021-07-16 02:12:56 +02:00
pancake
cc44d30309
Fix some issues spotted by msvc (#18899) 2021-07-15 17:24:05 +02:00
pancake
02eb7e4a87 Fix memory leak and infinite loop in r_vc_find_rp ##rvc 2021-07-13 00:47:00 +02:00
RHL120
39d6ee533d
rvc add r_vc_find_rp ##projects (#18895) 2021-07-12 14:16:38 +02:00
pancake
38e7265401 Remove redundant error message and fix a null-printf at the same time 2021-07-12 00:39:23 +02:00
RHL120
045abae796
Rework r_vc_checkout and fix some mem leaks ##projects (#18894)
* Added error checking to branch_exists
* Swapped the check value of branch_exists in r_vc_branch
* Make r_vc_checkout actually functional
2021-07-10 19:15:38 +02:00
pancake
2a195eda0f
Simplify r_file_glob name and string allocation logic (#18893) 2021-07-09 10:35:54 +02:00
RHL120
fe7b60354d
Rework the rvc_commit functions ##projects (#18889)
* Fixed memory leaks
* Swap the return vals of foreach_newline
2021-07-07 12:49:58 +02:00
pancake
fe6f914291 Fix #18884 - Fix changing frame commands in panels 2021-07-06 11:54:45 +02:00
pancake
9d6afad8b2 Add mwf command to write local files into remote targets ##fs 2021-07-05 22:18:40 +02:00
pancake
6fd0056568 Add &w command to wait and run for queued commands ##core 2021-07-05 21:57:34 +02:00
pancake
d6208e8b12
Implement &: for queue commands ##core (#18885) 2021-07-05 20:55:15 +02:00
pancake
52e1b2b126 Implement @@== foreach word iterator operator ##core 2021-07-03 02:00:39 +02:00
RHL120
39b997b736
Take advantage of prj.vc.type and merge rvc & git ##projects (#18880) 2021-07-02 20:04:05 +02:00
RHL120
783079580b
Fix r_vc_commit and other functions ##projects 2021-07-02 11:49:44 +02:00
pancake
f7252d11be
Put archinfo.{minopsz,maxopsz,align} in the output of i ##bin
* Does not requires rbin to work, its tied to RAnal which is global
2021-07-01 10:58:58 +02:00
pancake
c0383784d4
Fix #18872 - New command 'wan' to write and nop affected instructions ##assembler (#18873) 2021-07-01 00:16:18 +02:00
pancake
b2b88ca6e5 Improve invalid address and string parameter issues in emu.str and pd comments ##disasm 2021-06-30 19:55:43 +02:00
pancake
c5b00d5457 Faster ^D (leave r2 without freeing the core) ##shell 2021-06-30 12:29:14 +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
188bce9f25 Use DRX APIs to handle breakpoint recoils only on x86-64 ##debug 2021-06-29 11:56:55 +02:00
pancake
8297ff8ac9
Handle 'o' key for options in panels ##visual
* Fix crash in panels for non functional feature that will be fixed later
2021-06-29 10:45:30 +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
5f4c27f7f8
Initial implementation of ~.... for hudline prompt ##visual (#18861)
* Add new RCons.hud.line(_string) APIs
2021-06-28 00:13:15 +02:00
pancake
0dd8acb1c0 Fix last memleak cov in /b 2021-06-25 13:47:47 +02:00
pancake
7897480ec9 Fix #18858 - Fix heap mess when filtering words in panels 2021-06-23 12:56:09 +02:00
pancake
4dcd0e91a0 Add /ab to find backward jumps (mostly loops) and handle ^C ##search 2021-06-23 11:48:10 +02:00
Davide Pizzolotto
2d11342d42 Fix #18852 wrong tables in graphviz dot 2021-06-22 10:57:04 +02:00