NIRMAL MANOJ C
247b287319
fixed a spellig mistake in anal.delay ( #16204 )
2020-03-13 16:48:23 +08:00
Rikard Falkeborn
158668c876
Fix wrong return value in error path ( #16201 )
...
Returning -1 in a function with bool as return type is the same as returning
true. This is not the intended behaviour when e.g. allocation fails.
2020-03-13 12:13:57 +08:00
Khairul Azhar Kasmiran
2c8d5982cd
Convert preinc/predec in 3rd part of for statement to postinc/postdec ( #16187 )
2020-03-12 18:40:46 +01:00
pancake
c91e19f9ff
More esil boolification refactorings
2020-03-12 18:22:00 +01:00
radare
56e21e4ac1
Fix one memleak ( #16199 )
2020-03-12 15:09:31 +01:00
Riccardo Schirone
fbc75d00c0
Fix #16196 - Compilation with tree-sitter support ( #16197 )
2020-03-12 14:50:17 +01:00
pancake
b894d95bf7
Implement aesB command to step until the given basic block ##anal
2020-03-12 14:10:06 +01:00
pancake
67bcc0db5d
Implement tpv command and some random code cleannup ##types
2020-03-12 14:10:06 +01:00
pancake
20cf00fe7f
Implement @v: value modifier, like @x: but with endian and size ##core
2020-03-12 14:10:06 +01:00
pancake
4f457230b6
Fix #16173 - rax2's force mode regression and add test
2020-03-12 12:25:56 +01:00
pancake
a56d67cd52
Fix #16192 - segfault in qwert^a^x
2020-03-12 12:08:28 +01:00
Khairulmizam Samsudin
4db77f155e
Fix RRegisterType sign for drm command
2020-03-12 11:59:20 +01:00
Riccardo Schirone
41cb001973
Introduce escaping in grep specifiers ( #16185 )
...
* Introduce escaping in grep specifiers
Grep specifiers (the part after `~`) can accept a lot of characters.
However, some of those have a special meaning in some contexts and they
should be parsed for better consistency.
For example, `(` and `)` can have particular meanings inside a macro
definition and it's important to allow escaping to differentiate:
(foo; pd~hello)) -> parsing error, there are 2 closing parenthesis
(foo; pd~hello\)) -> user wants to grep for string 'hello)'
* Add some tests for escaped characters in grep specifier
2020-03-12 18:28:45 +08:00
Khairulmizam Samsudin
89cda00652
Add test for x64 to verify fpu and xmm register size and offset ( #16186 )
2020-03-12 11:48:41 +08:00
Riccardo Schirone
c1c54be39e
Change macro syntax to use ;
instead of ,
...
This change is to ease the switch to the new parser and make the syntax
more consistent and easy. As things were before this patch, ',' could be
part of an argument of a command, but at the same time it was used as a
separator when defining a new macro. This difference in how `,` is
interpreter, makes parsing commands harder, as grep specifiers,
arguments, etc. should be parsed differently based on whether they are
inside a macro body or not.
By switching to using `;` as separator in the macro body, arguments,
grep specifiers, etc. can be parsed as they would be outside of a macro
body, making the new parser more consistent and easier.
2020-03-11 00:11:01 +01:00
Óscar Carrasco
bde3fa171b
Fix afs not showing signatures correctly with preloaded sdb types ##types ( #16180 )
...
* Check if function name starts with "sym.imp"
* Add test for afs'ing "sym.imp" functions
2020-03-10 18:40:05 +01:00
Sergey Alirzaev
4e1d93bb25
Strip minuses from the hash names for sha256 PE signatures ( #16156 ) ##bin
...
So sha256 and probably other authentihashes work
Only tested with a sha256-hashed PE
2020-03-10 15:52:42 +01:00
pancake
2a4aa792bf
Add pj_ko and pj_ka APIs ##util
2020-03-10 14:36:35 +01:00
radare
61a06e000d
Implement afsj command to get the JSON definition of the function signature ##anal
2020-03-10 14:28:31 +01:00
Rishi Bhatt
f2aaa72fa2
Support asm.cpu for Tricore architecture ( #16161 ) ##asm
2020-03-10 14:10:57 +01:00
HoundThe
5bb50f6a26
Add acvf command and devirtualizing vtable method calls ( #16157 ) ##anal
...
* Add cmd: acvf [offset] ([class name])
* Added option to search all vtables
* Added simple test
2020-03-10 14:08:14 +01:00
radare
9e11962425
Fix #16169 - Avoid (null) printf in afi* ( #16177 )
2020-03-10 14:05:53 +01:00
Khairul Azhar Kasmiran
f18c4f71bc
Upgrade to node-r2r 0.4.1 ( #16176 )
2020-03-10 12:49:49 +01:00
pancake
8f799eb9bd
Update support for V in libr/lang ##lang
2020-03-10 12:26:05 +01:00
Khairulmizam Samsudin
d6fa5a9442
Enhance r_reg_get_pack() and r_reg_set_pack() ( #16172 )
...
* Add warning if packbits larger than 64bit
* Fix out of bound checking to consider max packed_size
2020-03-10 10:35:09 +01:00
radare
10117bcf78
Implement aeb command to emulate a basic block ( #16174 ) ##anal
2020-03-10 10:33:45 +01:00
pancake
b1352ecd08
Add VdN (afs!) to edit function signature with cfg.editor ##visual
2020-03-10 10:30:32 +01:00
Khairulmizam Samsudin
35346d5a4f
Add r_reg_get() and r_reg_get_pack() for xmm registers ( #16171 )
2020-03-10 12:16:59 +08:00
pancake
a5856bf3bf
After release version bump
2020-03-09 09:45:08 +01:00
Florian Märkl
1271d653c7
Remove some unused members ( #16164 )
2020-03-09 14:12:48 +08:00
Maijin
2e9607dc54
Add .github/workflows auto-labeler infrastructure ( #16154 )
...
Add .github/workflows auto-labeler infrastructure
2020-03-09 12:00:22 +08:00
Florian Märkl
1d8bf0e843
Fix r_anal_switch_op_new() args ( #16165 )
2020-03-09 11:57:46 +08:00
Florian Märkl
a3fa2dde37
Fix double free in oc
( Fix #16163 ) ( #16166 )
...
* Fix double free in `oc` (Fix #16163 )
* Add test for `oc`
2020-03-09 11:56:20 +08:00
Florian Märkl
a30da17a6f
Fix some Projects Tests ( #16167 )
2020-03-08 19:56:34 -05:00
Florian Märkl
ac7f5a8266
Remove RAnal.cmdtail
2020-03-08 19:50:54 +01:00
Florian Märkl
a02e2c841b
Remove remaining cmdtail usages
2020-03-08 19:50:54 +01:00
Florian Märkl
d7ae065c8f
Add more info to jmptbl test
2020-03-08 19:50:54 +01:00
Óscar Carrasco
23bb5bb3cc
Fix afs not showing types and args ##types ( #16074 )
...
* Fix by implementing r_anal_fcn_to_str
* Refactor function syntax
* Fix testsuite
* Fix leaking pointers and code review
* Move __add_vars_sdb from aaft to af
* Fix more tests
* Rename r_function_get_name to r_function_get_signature
* Fix regression and remove extra semicolon
* Fix last regressions
2020-03-07 05:34:43 -06:00
Sergey Alirzaev
e55661bd4c
PE: print the unsupported hash type ( #16153 )
2020-03-06 08:33:12 +01:00
pancake
e7f940d27b
Release 4.3.1
2020-03-05 19:45:09 +01:00
pancake
b2e2209180
Fix #16142 - missleading wopD error message
2020-03-05 19:34:28 +01:00
radare
c3dbfae4b4
Memory fix on error path on win mangled named handling ##bin ( #16152 )
2020-03-05 19:07:17 +01:00
radare
72093ac706
Fix #16138 - Do not preincrement when it's not necessary ( #16151 )
2020-03-05 19:06:59 +01:00
radare
a044c3e0e2
Remove cmdtail usage from walkthrough_arm_jmptbl_style() ( #16140 )
2020-03-05 19:06:47 +01:00
radare
e37a2e1b9c
Fix UAF in om= ( #16149 )
2020-03-05 18:07:03 +01:00
radare
d96120799d
Added size info to anal classes ( #16129 ) ##bin
2020-03-05 18:06:27 +01:00
radare
dde3f0c25a
Convert one-line CMDS=<<EOF to single-line CMDS= ( #16150 )
2020-03-05 17:01:28 +01:00
pancake
d5fe33b92e
Fix wopD
2020-03-05 15:48:23 +01:00
radare
1be8f02906
Add test for r_reg_get_value() and r_reg_set_value() ( #16136 ) ##test
2020-03-05 14:42:47 +01:00
radare
0cacc6e829
Fix file reopen in debug mode ood/doo ( #16131 ) ##debug
2020-03-05 14:42:32 +01:00