goblin icon indicating copy to clipboard operation
goblin copied to clipboard

An impish, cross-platform binary parsing crate, written in Rust

Results 93 goblin issues
Sort by recently updated
recently updated
newest added

Hi there @m4b, as we discussed it in #381. Here's are commits, more in the mind of: - Preparations for 1.0 and breaking changes: this PR should be good to...

I am unsure if this is a side effect of something else or done on purpose but let's imagine the following code: ``` let mut fs = fs::File::open(path)?; let section_header_bytes...

Writing new structures from an existing PE is non-trivial because PE structures may require a complete rewrite of all the structures and recompute of the offsets for space reasons. We...

Hey there @m4b @philipc ! First off, congrats on the awesome crate, it's super impressive. This issue is not a bug or a feature request, I'd like to request a...

Here is an example of modifying elf: ```rust use goblin::elf::{section_header, sym::Sym, Elf}; use scroll::{ctx::SizeWith, Pwrite}; use anyhow::Result; use std::fs; fn main() -> Result { let path = "my.elf"; let mut...

Made it possible to parse MachO objects in less strict manner. However, default behavior is not changed. Therefore, there now is a new function `parse_2` which accepts additional argument for...

https://github.com/m4b/goblin/issues/274

I am wondering if adding additional `\0` in the `strtab` is valid (we want to override the `rpath` of a shared library by replacing the string with a shorter, `\0`...

There seems to be no way to get the reserved fields of a section without manually processing load commands. Reserved fields have meanings for some section types like `S_SYMBOL_STUBS` (https://github.com/qyang-nj/llios/blob/main/macho_parser/docs/LC_DYSYMTAB.md#indirect-symbol-table)....