21604 Commits

Author SHA1 Message Date
gogo2464
8f17b3241a
Add 'ascii' charset #print 2020-12-28 21:30:36 +01:00
pancake
ab0337c224 Fix ASAN 2020-12-28 21:24:56 +01:00
pancake
fdddd234bc
Implement rax2 -I to convert from/to LONG and IP Address ##print 2020-12-28 21:04:48 +01:00
Liumeo
9478b3a957
Add test and update arm.winedbg (#18117) ##asm 2020-12-28 20:56:52 +01:00
pancake
4b60f0f2bb Honor R2_CFG_NEWSHELL=0 to disable it ##shell 2020-12-28 20:03:25 +01:00
pancake
49349cb320 Implement $i and $I numvars ##shell
* Warning: The temporal seek only works on oldshell
* Seek to the last address in current basic block
  `> s $I1@$Fe`
* Decomposes into:
  * $Fe = end address of function basic block
  * $I1 = one instruction backward
  * s = seek command is inmune to the @ tmpseek effects
2020-12-28 20:03:25 +01:00
pancake
adcfe0181f Code cleanup 2020-12-28 20:03:25 +01:00
pancake
54c6bca80e Seek command ignores the tmpseek ##shell 2020-12-28 20:03:25 +01:00
pancake
48c1258206 Add missing vars from ?$? in ?$ and sort them alphabetically ##shell 2020-12-28 20:03:25 +01:00
ratijas
44755fe08d
Fix help rendering: avoid printing trailing whitespaces (#18115) ##cons 2020-12-27 12:16:20 +01:00
Liumeo
fd2dfd63d7
Fix pseudo and esil of the TST instruction on ARM32 #18108 (#18110) 2020-12-26 23:55:10 +01:00
Liumeo
057854a0cd
Implement i4004 assembler ##asm (#18111) 2020-12-26 23:54:11 +01:00
Liumeo
999fc7ebff
Honor cfg.json.num in afbj ##json 2020-12-26 23:53:48 +01:00
Liumeo
7a222e68dc
Fix some arm32 warnings (#18104) 2020-12-26 16:18:49 +01:00
RHL120
8b23409c3c
Use snake case in projects.c ##refactor 2020-12-26 11:36:08 +01:00
ivan tkachenko
38f5804ecf Move breaks inside switch-case scopes
Update DEVELOPERS.md code style section and
refactor switch-cases across all code base.
2020-12-26 11:15:03 +01:00
ivan tkachenko
d5f651a59e Trailing whitespaces are getting in the way 2020-12-26 11:15:03 +01:00
Sylvain Pelissier
8ba20160e2
Update RISC-V ESIL with sign extention operator (#18109) ##esil 2020-12-26 11:14:23 +01:00
pancake
b4b48cbf86 Fix UAB when freeing a non allocated item in the xnu.kernelcache RBin plugin 2020-12-24 10:44:28 +01:00
gogo
156f83fdd9 merge pse to ps 2020-12-24 09:50:27 +01:00
pancake
f08e34d298 Fix assert in cfg.charset 2020-12-23 23:14:07 +01:00
pancake
35c9ae73cd Fix asserts in map.rename() 2020-12-23 23:14:07 +01:00
pancake
64676437e9 Fix double-free in charset sdb 2020-12-23 23:14:07 +01:00
pancake
b77d97a6a9 Improve str.wrap, add cons.line and fix cons.printat glitch ##cons 2020-12-23 23:14:07 +01:00
pancake
24a2f8dbd6 Fix the 'c' cursor behaviour in disasm ##panels 2020-12-23 23:14:07 +01:00
pancake
ff4c45e71d Handle ^C and fix ASAN crash in aeA command ##anal 2020-12-23 23:14:07 +01:00
pancake
ac8ead22ef Cache cfg.r2wars value outside the eval loop ##r2wars 2020-12-23 23:14:07 +01:00
pancake
a5399eeddf Box borders in graph and panels are now in yellow ##visual 2020-12-23 23:14:07 +01:00
ratijas
28149b2a95
Fix wording, whitespaces and other minor stuff ##doc (#18081) 2020-12-23 22:22:30 +01:00
Liumeo
6b31372dd7
Fix ppc opex & use pj in RAnal plugins ##json (#18097) 2020-12-23 10:58:22 +01:00
Sylvain Pelissier
cad68b1793
Add sign extension assignment operator (#18092) ##esil 2020-12-23 10:57:58 +01:00
Paul I
2c796ae5fd
Fix type check in w32_desc_list() (#18095) 2020-12-23 00:42:25 +01:00
Liumeo
6f4af643cb
Use pj in agcj ##refactor (#18087) 2020-12-22 12:19:31 +01:00
Liumeo
55ce4ce303
Use pj in pdb_downloader ##refactor (#18084) 2020-12-21 23:46:12 +01:00
Lazula
f2976d3c7e
Use r_str_get_fail() throughout codebase ##refactor (#18079) 2020-12-21 08:51:44 +01:00
Liumeo
a0b6fed4ca
Fix iAj and use pj in bin.c ##refactor (#18076) 2020-12-21 01:14:37 +01:00
ratijas
6d811285c2
Fix wording and whitespacing ##doc (#18065)
* Fix wording, whitespacing and other minor stuff
* cmd.c: ellaborated yy syntax, improved descriptions
  - replace "srcoff" with "origin"
* cmd.c(cmd_autocomplete):
  - refactor help into function: render autocomplete types with generic
    help subsystem;
  - "Types" heading now follow the "Usage" style by not being prefixed
    by a pipe character;
* cmd_anal.c: fix whitespaces & help text
* cmd_info.c: fix help text capitalization.
* cmd_print.c:
  - fix `pf` cmd help;
  - TODO: what pz? is doing here?
* cons.c:
  - refactor & better document r_cons_cmd_help();
  - fix whitespaces;
* visual & panels modes:
  - as of commit 46187fe4e14dc465dc6ac03fcc56a362f0b8e335, '!' no longer
    launches the r2048 game. The game itself it broken anyway, even when
    running from the Help menu in panels mode;
  - transitioning from panels to visual is not 'entering' but actually
    swapping/replacing visual panels with just panels, thus...
  - reword 'enter into the' to 'swap into' or even just 'enter', e.g.:
    "enter into the visual panels mode" -> "enter visual panels mode".
  - remove the "(dwm style)" words from a fortune tip, because I have no
    idea what it is, and it does not appear to be a valid command in any
    of the r2 modes.
  - update global help text.
* [WIP 2] Fix wording, whitespacing and other minor stuff
* visual.c:
  - r_core_visual_append_help(): first steps merging with
    r_cons_cmd_help from cons.c; use consistent colors for headers.
* [WIP 3] Fix wording, whitespacing and other minor stuff
* panels.c(__update_help):
  - shorten code and titles;
  - add comment to clarify that it is not a copy-paste error;
* [WIP 4] Fix wording, whitespacing and other minor stuff
panels.c, visual.c: tweak help text;
* [WIP 5] Fix wording, whitespacing and other minor stuff
* cmd_help.c: update global help text about visual mode -- it was
  outdated and overloaded.
* vmenus.c:
  - rename stuff, shuffle around static consts to reflect an actual
    ordering when viewing as a help text;
  - slightly improve help text rendering;
  - fix whitespaces;
* [WIP 6] Fix wording, whitespacing and other minor stuff
* lots of help text changed.  still working on proper commit message.
2020-12-21 01:12:08 +01:00
pancake
d3157e2ed3
Fix 32 critical COVs (UAF, UB and OOB) (#18077) 2020-12-21 01:10:22 +01:00
Paul I
38391b38cb
Remove afc= (Use anal.cc instead) ##anal (#18075) 2020-12-21 00:11:30 +01:00
pancake
89f6c6e1f1
Fix many ASAN issues, from uaf to memory leaks and some boolification (#18048) 2020-12-20 23:37:45 +01:00
pancake
625138aa97
Add amd64syscall calling convention definition ##anal (#18074)
* Call convention support for x86-64 kernel interface (syscall) %rdi, %rsi, %rdx, %r10, %r8, %r9

Co-authored-by: Dreg <dreg@fr33project.org>
Co-authored-by: pancake <pancake@nopcode.org>
2020-12-20 22:46:19 +01:00
Liumeo
8c742b28f0
Fix arm32 db/cmd/cmd_pc (#18053) 2020-12-20 19:56:27 +01:00
Sylvain Pelissier
6057ae3e2d
Fix ESIL for RISC-V 64-bit load instruction (#18072) 2020-12-20 19:54:25 +01:00
pancake
1367044559
Initial implementation of scr.cursor for keyboard accessibility in visual and panels ##visual (#18051) 2020-12-20 15:15:47 +01:00
pancake
c90aee3c85
Do not glitch the prompt when using scr.color=0 ##cons (#18057) 2020-12-20 14:12:56 +01:00
pancake
d813cf19ca
Add r_str_wrap() and r_cons_printat() new APIs needed by r2book ##cons 2020-12-20 14:10:21 +01:00
Sylvain Pelissier
710630605d
Fix RISC-V 64-bit for shift instructions and update register analysis (#18070) ##esil 2020-12-20 13:23:10 +01:00
Liumeo
5048074f01
use pj in vtable (#18069) 2020-12-20 02:30:51 +01:00
Liumeo
5e6f17e33f
Use pj in rtti_msvc (#18068) 2020-12-20 00:54:31 +01:00
Liumeo
c71fb0b085
fix arm32 db/cmd/regexp (#18055) 2020-12-20 00:52:24 +01:00