pancake
d3157e2ed3
Fix 32 critical COVs (UAF, UB and OOB) ( #18077 )
2020-12-21 01:10:22 +01:00
Aswin C
45c0024300
Rename asm.var.sub
to asm.sub.var
##cons ( #17717 )
...
* Rename `asm.var.sub` to `asm.sub.var`
* Rename tests for `asm.var.sub`
2020-09-28 17:51:38 +08:00
Aswin
5454239cae
Rename *sub* variables to asm.sub.* ( #17176 )
...
* Rename asm.sub.jmp, asm.sub.reg, asm.sub.rel, asm.sub.tail, asm.sub.varonly, asm.sub.section, asm.sub.varmin
2020-07-06 11:04:50 +02:00
radare
9ddfafcd65
Show flag realname when finding a function and realname is enabled ##disasm ( #15827 )
2020-01-16 21:15:42 +01:00
radare
4dbe1453f5
Initial cleanup in RParse, delete mreplace plugin ##disasm
...
* Also voidify and boolify anal, parse, cons, bin, ..
2019-06-17 02:23:58 +02:00
radare
b282620b7a
Fix #14303 - oob crash in RParse api usage, needs API redesign ( #14307 )
2019-06-15 13:24:00 +02:00
radare
d7d104ac4b
Fix asm.varsub in a hacky way to fix the disasm output ##disasm
2019-06-06 17:01:57 -04:00
pancake
0e87b15388
Add opcode mask field in ao and aoj ##anal
2019-05-21 17:05:58 +02:00
pancake
04af34ca8b
Initial work on refactoring RParse
2019-04-25 17:01:20 +02:00
pancake
c7b02c8293
Improve the graphviz output for traced bbs ##graph
2019-04-25 17:01:20 +02:00
radare
5ecd4c352b
Demangle relocs and add asm.flags.{inline|limit|maxname} ##disasm
...
* Fix code injection issue in ir* and is*
2019-04-24 02:16:54 +02:00
Florian Märkl
f5dfae611f
Remove RParse.hint to fix Segfaults ##parse ( #13806 )
2019-04-18 15:09:48 +02:00
radare
0a6ff520cb
Fix #13326 - Implement of asm.regsub to replace register names with their role alias ##disasm ( #13330 )
2019-03-09 10:21:04 +01:00
Lowly Worm
30264306a0
Make function to allow grabbing the flags by order of importance in flagspace ##core
...
* use relsub addr
* kill i2, grab top of list when not in preferred spaces
* Add r_core_flag_get_by_spaces
* Remove r_flag_get_i2 and use r_core_flag_get_by_spaces
* Fix fcn name from flag
* Better consistency: flag_get instead of get_flag
* Quickpath for just one flag
2019-03-05 23:43:49 +01:00
radare
d9197f6115
Fix #11585 - Missing main/entry substitutions ##disasm
2019-02-14 00:19:00 +01:00
Khairul Kasmiran
1e65206273
Remove some r_parse spaces
2019-02-08 00:01:02 +08:00
Riccardo Schirone
e5b4d9294c
Use RSpaces in RFlag ##refactor
2019-02-03 09:06:45 -06:00
radare
0ca4d00251
Implement support for nword in ahi ##anal ( #12494 )
...
- ahi0 == ahi
- any digit from 0 to 9 is valid
- test case:
$ r2 -qcq - << EOF
wx c7458843c6ff00
pd 1
ahi 10
pd 1
ahi-
ahi1 10
pd 1
EOF
mov dword [rbp - 0x78], 0xffc643
mov dword [rbp - 120], 0xffc643
mov dword [rbp - 0x78], 16762435
* Fix behaviour in ahi nword and assume nword is 0 by default
* Add VdI
2018-12-17 12:56:07 +01:00
Luca Di Bartolomeo
826d584405
Fix #11889 - Fix varsub when some ansi escape sequences are involved ##disasm
...
- findNextNumber to parse bold ascii escapes
2018-11-21 22:35:48 +01:00
Khairul Azhar Kasmiran
c7a9ab9d74
Fix arm relsub when both pointer addr and pointed-to addr have flags ( #11780 )
...
* Fix arm relsub when both pointer addr and pointed-to addr have flags
* Add comment stating extra implication
* Print flag if exists, otherwise address but not both
2018-10-11 01:17:48 +08:00
radare
47297f6d0a
Initial implementatil of asm.tailsub ( #11696 )
2018-09-30 11:41:19 -04:00
Neven Sajko
4a722e80d8
Add braces to if, else, for, while ... ( #11504 )
2018-09-13 10:17:26 +02:00
pancake
77482df0ba
Fix crash in asm.imm.trim
...
$ r2 -qc "af ; e asm.imm.trim=true ; pdf" /bin/ls
2018-08-13 18:05:32 +02:00
Khairul Kasmiran
b9ce57d68d
Fix gcc8 warning for #10338
2018-07-05 23:03:10 +08:00
cyanpencil
b747592598
Add asm.flags.real option disabled by default
2018-07-05 00:55:51 +08:00
cyanpencil
c90d548082
Fix linking error in flag.c
2018-07-05 00:55:51 +08:00
cyanpencil
80487cde44
Display flag realname instead of name
2018-07-05 00:55:51 +08:00
David CARLIER
0b56069c20
Fix asm parsing issue found in OpenBSD ( #10528 )
...
(memcpy vs memmove)
2018-06-29 13:03:52 +02:00
pancake
fa3851b76e
Fix #10494 - crash in rparse.filter
2018-06-26 15:32:05 +02:00
David CARLIER
3ca17abc40
asm parse fixes. ( #10470 )
...
on Darwin and with debug symbols, feat_grep test crashes.
on OpenBSD in non debug mode, feat_grep crashes so
we make the last chunk copy consistent.
2018-06-24 20:09:03 +02:00
pancake
80935a95c0
Aim to fix an oobread in rparse
2018-06-12 16:43:44 +02:00
pancake
7c2d84594c
Fix oobread in RParse
2018-05-29 12:55:11 +02:00
pancake
be89180e7b
Cleaning up asn1 apis, standarize IS_* apis and some more cleanup
2018-05-21 22:13:07 +02:00
Khairul Azhar Kasmiran
e32542aa85
arm asm.varsub supports asm.pseudo for fp ( #10071 )
2018-05-11 09:40:25 +02:00
pancake
c2c8257c06
Bring back an ugly buffer pack access issue to make it work
2018-03-14 19:59:25 +01:00
pancake
c03c04eb0a
Fix an undefined behaviour in RParse.filter
2018-03-14 19:45:33 +01:00
pancake
351436fb54
Bring back another memleak fix
2018-03-14 18:43:49 +01:00
pancake
5366f843ea
Revert "Fix some more memleaks in disasm and fix issue in str overlap"
...
This reverts commit a902df837b0d499e1723179ed5c957c078703b51.
2018-03-14 18:32:17 +01:00
pancake
a902df837b
Fix some more memleaks in disasm and fix issue in str overlap
2018-03-14 16:07:30 +01:00
pancake
027f445fc5
Add disasm filtered/varsub/relsub in aoj
2017-12-22 13:19:02 +01:00
pancake
4262a96d3a
Fix #8913 - asm.offless is now asm.immtrim, + fixes for pds
2017-11-30 00:14:08 +01:00
pancake
f709581526
Honor more asm. directives in pdr and pdR
2017-11-29 18:56:12 +01:00
pancake
fe6bfce9e8
Implement anal hints for htons immbase
2017-11-09 12:57:51 +01:00
Anton Kochkov
1ebaad02dc
Initial support for structure offsets
2017-11-02 00:54:41 +08:00
pancake
45c0981792
Aim to fix negative memcpy issue in rparse
2017-10-16 15:37:31 +02:00
Fangrui Song
6b40816002
Fix immbase, ahi 2 => ahi b => binary, ahi 1 => ahi s => string ( #8396 )
2017-09-01 12:49:01 +02:00
pancake
3e7c01e5e4
Implement asm.minvalsub variable
2017-06-28 01:29:04 +02:00
pancake
6758e3753d
Remove configure-plugins dependency for the make meson
2017-05-26 02:43:53 +02:00
Tobias Gross
a4b311ebac
Fix lea instruction not displayed right ( #7529 )
2017-05-19 13:32:03 +02:00
alvarofe
4e19275c1a
Fix minor warnings while compiling
2017-05-06 22:56:50 +02:00