bolha.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a Brazilian IT Community. We love IT/DevOps/Cloud, but we also love to talk about life, the universe, and more. | Nós somos uma comunidade de TI Brasileira, gostamos de Dev/DevOps/Cloud e mais!

Server stats:

251
active users

#r2ai

3 posts2 participants0 posts today

This weekend I wrote some improvements for Decai, the llm based decompiler plugin for radare2:

- use custom decompiler pipelines loaded from external json files
- deterministic results for ollama, openai and claude
- also added support for the mistral endpoint.
- implemented a vector database for embeddings from scratch in C with zero dependencies

r2ai just de-obfuscated strings inside Linux/Ladvix malware for me.

No, no, I should not say "for me", it makes me sound lazy and passive. In reality, we were a team :D Honestly, I had to pilot it ;P

After some conversation, we understand that a few strings are obfuscated. I ask the AI to de-obfuscate them. r2ai integrates an automatic mode that passes the questions to the AI and is able to process some r2 commands.

1/2

#r2ai#AI#radare2

I got decai (radare2's AI-assisted decompiler) to work with a local model, and tried it over a basic Caesar implementation in C and in Dart.

To be honest, I think the conclusion is that the model I selected is not good enough ;) but #r2ai and #decai are really great tools. Read my post to understand how to install, configure and use. Or RTFM :P

cryptax.medium.com/using-ai-as

many thanks to @Pancake for his patience! "it's not working on my laptop", "try this then" etc

Medium · Using AI-assisted decompilation of Radare2 - @cryptax - MediumBy @cryptax