Hans Leidekker (@hans) commented about dlls/rometadata/assembly.c:
- UINT32 size;
- const BYTE *start;
+};
+struct assembly +{
- HANDLE file;
- HANDLE map;
- const BYTE *data;
- UINT64 size;
- struct metadata_stream stream_tables;
- struct metadata_stream stream_strings;
- struct metadata_stream stream_blobs;
- struct metadata_stream stream_guids;
- struct metadata_stream stream_user_strings;
If you make this an array of struct metadata_stream and add the name to struct metadata_stream you don't need the streams array in assembly_parse_headers().