Jakub Konka c84e5ee878 coff: improve default COFF/PE object parser
We now do not allocate memory for headers and other metadata unless
requested by the caller. Instead, we read-in the entire contents
of the image into memory and operate on pointers and casts wherever
possible. I have a left a TODO to hook up Windows' memory-mapped API
here in-place of standard `readToEndAlloc` which should be more memory
proof on memory constrained hosts.

This commit also supplements our `std.coff` with a lot missing basic
extern structs required to make our COFF linker.
2022-08-23 08:55:04 +02:00
..
2022-08-21 16:42:11 +02:00
2022-08-09 16:19:55 +03:00
2022-08-22 14:07:22 +03:00
2022-08-19 16:45:16 -07:00
2022-05-13 16:43:59 -04:00
2022-04-20 17:18:06 -07:00
2022-01-07 00:06:06 -05:00
2022-06-03 20:21:20 +03:00
2022-04-14 10:12:45 -07:00
2022-07-09 15:19:03 +03:00
2022-05-26 21:58:19 -07:00
2022-04-15 17:01:01 -05:00
2022-01-07 00:06:06 -05:00
2022-08-18 18:58:28 -07:00