DEV Community

amananandrai
amananandrai

Posted on

10 2

Facebook launches a new decompilation tool

Facebook launched a new decompilation tool which converts program in assembly language to C++. The name of the decompilation tool is N-Bref. To know more about this tool read the Facebook AI blog.

The link to paper explaining about the tool is here. The Github repository of N-Bref explains about the implementation of the tool along with datasets.

What are decompilers?

According to the Facebook AI blog

Decompilers convert low-level executable code, like assembly instructions, back to a high-level programming language, like C++, that is easier for people to read. They’re useful for detecting vulnerabilities and anomalies in computer security as well as for forensics. Decompilers can also be leveraged to find potential viruses, debug programs, translate obsolete code, recover lost source code, and more. A decompiler program is traditionally manually designed with heuristics from human experts.

Machine learning has made the process of decompilation a bit easier and N-Bref achieves state-of-the-art results for this tedious task. Transformers are used as the basic building block of this decompilation tool and it is repurposed for this specific purpose. Normally transformers are used for Neural Machine Translation but in this case they are used for converting code in one language to other.

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay