m4b / goblin

An impish, cross-platform binary parsing crate, written in Rust
MIT License
1.2k stars 161 forks source link

Does Goblin intend to support binary generation? #266

Closed kotauskas closed 3 years ago

kotauskas commented 3 years ago

A format parser and a builder for the same format more often than not share a majority of code. Since Goblin aims to be the one-stop shop for decompilation and analysis, I'm wondering if extending it to support generating executables aligns with the goals for the crate. If not, what would be a good crate to assist in generating executable files?

philipc commented 3 years ago

faerie uses goblin, but only supports generating object files. I'm not aware of anything that generates executables (that's normally the linker's job, and there's not much need to write new linkers). This probably belongs in a new crate. You could certainly use goblin to assist with this though.

m4b commented 3 years ago

I think this question was answered, let me know if you have any other questions, thank you!