A bare bones ELF32/ELF64 bit Goblin binary executable parser written in Rust.
To setup BinaryMagic invoke the following command:
git clone https://github.com/PlatinumVoyager/BinaryMagic.git ; cd BinaryMagic ; cargo build && sudo cp target/debug/binarymagic /usr/bin && rm -r target && cd $HOME ; binarymagic
Basic use example: binarymagic <TARGET> <ARGUMENTS>
By default if no arguments are supplied to BinaryMagic it will display a blob of text containing usage information.
Execute: binarymagic /usr/bin/ls --sections
CORRECTION: Abbreviations for bytes within the context of the displayed image above is incorrect. Integral values should have been multiplied by 8 then divided by 1024 to obtain the correct values. As the current display is set to the basis of straight up bytes. It should be listed as Kb (kilo bits), Mb (Mega bits), etc. Not as KB (Kilo Bytes) = "bytes" (Ex: 2 Kb (2952 bytes) => 2 Kb (2952 bits) || 2 Kb ([2952 * 8 / 1024] Kb))