FSC generates the assembly code for each functions present in the source code. It uses gcc to compile source code to object files and radare2 to extract the assembly codes for each function.
- Radare2
- Ctags
- r2pipe in python
- Install
radare2by following instructions given at https://github.com/radareorg/radare2 - Install Ctags by executing command:
sudo apt-get install -y exuberant-ctags - Install r2pip for python with command:
pip install r2pipe python3 main.py input_source_file source_folder- Here, input_source_file is the input file whose functions are to be decompiled.
- Here, source folder is the folder in which we can find all the headers used in the input source file.