goretk / redress

Redress - A tool for analyzing stripped Go binaries
GNU Affero General Public License v3.0
907 stars 58 forks source link

Macros definition is broken #15

Closed alex-bender closed 2 years ago

alex-bender commented 2 years ago

Hello, thanks for such a great tool! I've got across blog post and found out that probably syntax has changed so it's not working anymore with r2 -v radare2 5.4.3.

[0x00528b00]> (type+ flag,#!pipe redress -method -type `f~$0~[0]`)
Invalid macro body

If you would be able to take a loot at that it would be really great, thanks!

TcM1911 commented 2 years ago

Yes r2 changed the syntax. I have something like this in my radare2rc file:

"(type+ flag;#!pipe redress -method -type `f~$0~[0]`;)"
alex-bender commented 2 years ago

Thanks a lot!