Graded 125/100
The aim of the project is to recode nm without options. The bonuses are to recode -a -g -u -r -p.
- To create x86_32 binary use -m32 flag with gcc
-
Open file in vim in binary mode:
vim -b [filename]
-
Use xxd to convert file to hexa in vim (bin to hex):
:%!xdd
-
Edit your file! (be careful of the endianness of your CPU)
-
Then revert (hex to bin):
:%!xdd -r