pancake
67151ec31e
Use CYAN in the single line edges in the graph ( #18041 )
2020-12-14 17:19:48 +01:00
pancake
cb33fdb420
Improve code, add cfg.charset, use pse, add test ##print
2020-12-14 12:11:13 +01:00
gogo
f16168fa36
Initial implementation of custom charset encodings ##print
2020-12-14 12:11:13 +01:00
pancake
fb9ec8681a
Refactor aoj~{} opex for x86-64 to use the PJ api ( #18036 ) ##json
2020-12-14 11:54:26 +01:00
pancake
282332bee5
Cleanup some code ( #18035 )
2020-12-14 10:09:48 +01:00
condret
113eb52266
Add missing breaks ( #18033 )
2020-12-13 23:28:49 +01:00
Rene Laemmert
604cf9b798
Add ESIL for x86 CMC instruction ##esil ( #18032 )
2020-12-13 23:11:58 +01:00
pancake
693e777638
Handle RELATIVE (todo) and IRELATIVE relocs for relative relocs in ELF for ARM64 ##bin ( #17614 )
2020-12-13 19:20:29 +01:00
pancake
bf3188306e
Fix a crash in dts+ command with empty register arenas ##debug #172
...
* Inspired by https://github.com/rizinorg/rizin/pull/172/files
2020-12-13 10:25:30 +01:00
pancake
720f46b36d
Fix null deref in is
command ##bin
2020-12-13 10:25:30 +01:00
Lowly Worm
ce1d9b614d
initialize variable that could result in wild free ( #18024 )
...
tmp must be initialized to null
in the case a function isn't parsed properly, tmp doesn't get touched in parse_function, so then a wild pointer is free'd
2020-12-13 09:54:47 +01:00
Lazula
243bc871c3
Multiple refactors in io and util ##io ##util ##refactor
...
* Add r_io_map macros throughout code base
* Update string NULL-checking with renamed functions r_str_get() and r_str_getf()
* Change string NULL-checks throughout code base to use functions
* Add r_str_get_fail() to specify a custom string to return if NULL-check fails
* Mark JSON to be updated with PJ with "TODO PJ"
* Incidental style updates such as missing spaces
2020-12-13 05:09:13 +01:00
pancake
d179c5719a
Fix oob in load_table_asciiart ##asan ( #18026 )
2020-12-13 03:19:27 +01:00
pancake
d63c9ee62f
Fix double click issue in panels ##visual ( #18012 )
2020-12-13 02:45:24 +01:00
condret
78ead43678
Remove r_core_anal_esil_graph, as it's functionallity still exists as aeg-command
2020-12-13 02:43:13 +01:00
condret
8a742fce90
Add new commands for esil const lemon folder (aegc, aegcf)
2020-12-13 02:43:13 +01:00
condret
87dd695d2b
r_anal_esil_dfg_lemon_const_folder
2020-12-13 02:43:13 +01:00
condret
fbdc4f16dd
add r_rbtree_cont_first
2020-12-13 02:43:13 +01:00
condret
a7fc00814e
implement simple esil dfg const folding
2020-12-13 02:43:13 +01:00
pancake
66bd6ed870
Remove globals in radiff2 ##build ( #18022 )
2020-12-12 20:22:18 +01:00
pancake
4fcaf0e30b
Fix return code when using q! without arguments ##core ( #18019 )
2020-12-12 17:12:48 +01:00
Dennis Goodlett
ca61122b14
Prevent corruption of ##types __var_retype ( #18017 )
2020-12-12 16:57:06 +01:00
pancake
66ee24393a
Fix #15264 - Implement AND and BIC instructions in the ARM64 assembler ##asm ( #18021 )
...
Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Francesco Tamagni <mrmacete@protonmail.ch>
2020-12-12 16:55:48 +01:00
Aswin C
a44cedc6f9
Improve code quality in parse_att2intel.c
##refactor ( #17891 )
2020-12-11 23:03:08 +01:00
pancake
7df28e1fb2
Implement the comma command to manage user-defined tables ##util ( #17702 )
...
* Import export in CSV and R2 formats
* Export in JSON, ascii-art, columns, r2, ..
* For example: aaa;aflt>$a;,.$a,/size/sum
2020-12-09 03:39:49 +01:00
Emi1305
38b5bd69b8
Fix for internal less and hud mode available while in non-interactive ( #17678 ) ##shell
2020-12-09 03:33:21 +01:00
pancake
c2311d0a96
Remove globals from rafind2 ( #18008 )
2020-12-08 22:26:09 +01:00
pancake
4f5434bc89
Minor cleanup and fix uninitialized PJ usage warning in io_cache.c ( #18007 )
2020-12-08 16:55:11 +01:00
Lazula
c3bc31f3b4
Add om.j command (json output for io maps) ( #18005 ) ##io
2020-12-08 16:54:47 +01:00
Lazula
b795d90c08
Update cmd_open_map() output format for current map ( #17998 ) ##io
2020-12-08 06:08:53 +01:00
pancake
8a7229c28e
Honor coding style in panels.c and loss 370LOC ( #17975 )
2020-12-07 18:08:26 +01:00
pancake
aa816fdc79
Cleanup cmd_hash.c a little bit ( #18000 )
2020-12-07 15:20:51 +01:00
Aswin C
ad1850f28e
Add help for aij
and arj
##anal ( #17973 )
...
* Add internal help for `aij` and `arj`
Add internal help for `aij` and `arj` under `ai?` and `ar?` respectively. Also updated test/db/json.
* Add help for `pda?` and `pds?`
Added help for `pdaj` under `pda` and `psdf`, `pdsb` under `pds`. Also added `pi` and `pI` under `p?`
* Add help for `@v`
Add help for `@v` under `@v?`
2020-12-07 14:40:08 +08:00
GustavoLCR
951f46c91f
Fix ARM MTE addg/subg and big endian decoding ##anal ( #17995 )
...
* ARM: Fix addg/subg instruction decoding
* ARM: Fix MTE intruction decoding in big endian mode
2020-12-06 18:40:13 +01:00
pancake
e356715589
drr show all flags and pxrj is now structured ##print ( #17758 )
...
* dxrj changed the field `ref` to `refstr`
2020-12-06 18:31:43 +01:00
GustavoLCR
1abd72f8af
PDB: Fix NULL deref with unsupported leaf type ( #17996 ) ##bin
2020-12-06 18:12:29 +01:00
pancake
2ca1ec63e1
Fix UB in cannotated_code ( #17833 )
2020-12-06 18:09:29 +01:00
GustavoLCR
e2f4461d18
Add asm.hint.call.indirect to make indirect calls follow the target address ( #17968 ) ##visual
2020-12-06 17:53:44 +01:00
GustavoLCR
32cb22b9a6
Fixes for MSVC demangling ( #17994 )
...
* MSVC demangling: Add a space between cc and func ptr
* MSVC demangling: Fix extremely long types demangling
* MSVC demangling: Fix member function pointer demangling
* Add test
2020-12-04 15:20:46 +08:00
GustavoLCR
6c37b12d63
Fix #17979 - Fix ASAN timeout for PE ( #17993 )
...
r_buf_read() is extremely slow
2020-12-04 15:20:09 +08:00
pancake
b2f210a0cc
Fix asserts in r2 -a snes foo.sfc ##bin ( #17990 )
...
Co-authored-by: pancake <pancake@nopcode.org>
2020-12-04 12:16:09 +08:00
yossizap
0cf6ce0bdd
Add a warning when a breakpoint is placed in an invalid map ##debug
2020-12-03 00:15:12 -06:00
yossizap
fd0dcd5370
Fixed failure in bp placement when no architecture plugin is available ##debug
...
The r_bp_get_bytes check in r_bp_add made it impossible to set a
breakpoint for an architecture without a bp plugin even though the debug
backend might support setting a breakpoint.
2020-12-03 00:15:12 -06:00
pancake
c6f4af979a
Add ep, sp, gp lp register aliases for v850 ##disasm ( #17989 )
2020-12-02 10:09:51 +01:00
Jeroen Domburg
b782a02ae3
Fix buffer read callback on all gnu disassembler plugins ( #17992 ) ##disasm
2020-11-29 19:41:57 +01:00
pancake
35c6432e62
Add missing $seek and $fcn autocompletion handlers ##shell ( #17829 )
...
Co-authored-by: pancake <pancake@nopcode.org>
2020-11-29 13:56:10 +01:00
alimansfield2016
4955ef1bc6
Fix wdm instruction decoded as 16bit instead of 8bit ( #17922 ) ##disasm
...
WDM is a two byte instruction incorrectly being decoded as a single byte.
Modified the table to correct this and updated the format string appropriately.
2020-11-29 01:24:27 +01:00
Filipe Laíns
163312bff3
fortunes: remove nsfw and creepy fortunes
...
These fortunes make a lot of people unconfortable and can be trigering
for some. Even if they are not active by default, they should have no
place here if you are trying to be a welcoming project.
There are a lot of other ways to be quirky and fun, I see no logical
reason to have these fortunes knowing they will negatively impact
people.
Signed-off-by: Filipe Laíns <lains@riseup.net>
2020-11-29 01:14:28 +01:00
pancake
b8f37cb0c3
Add few tests for v850.gnu and fix instruction bounds ##disasm
2020-11-28 19:39:23 +01:00
pancake
c45c5180cf
Add v850.anal.archinfo and improve invalid instruction detection ##anal
2020-11-28 19:39:23 +01:00