You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> I don't understand why ExecTable is exported, nor Prog.
ExecTable should probably not be exported.
> I also don't understand how, given a File, to determine the architecture.
What do you think of this:
- make ?_MAGIC variables public
- add "Prog *Prog" in File structure
This way, the full program header would be public, and one could
compare f.Prog.Magic to ?_MAGIC to determine the architecture.
Alternatively, we could add "Magic string" in FileHeader.
Does it sound good?
Thanks.
The text was updated successfully, but these errors were encountered: