← Back to context

Comment by danlugo92

5 years ago

Do you have a link to how one would archiece this data pointer magic? I wouldnt know what to search for.

In the simplest case, in C you can read file data into memory, cast it as a struct, then just use that struct without ever doing any parsing.

As things get more complex you're probably going to need to manually set some pointers after loading blobs of data and casting them.

It's just the standard way of dealing with binary files in C. I'm not sure what you'd need for search terms.