https://bugs.winehq.org/show_bug.cgi?id=37338
--- Comment #11 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Sebastian Lackner from comment #10)
@Dmitry: Are you still working on this?
No. Feel free to do with my patches whatever fits your needs.
Looks already very good. In order to provide valid information for StackReserved/StackCommit I would suggest to move all memory information attributes to a separate struct, and then use VARARGS data to transmit it (otherwise you'll hit size limitations in tools/make_requests). This also simplifies copying the data around all the time, as you can use the same structure everywhere, and just use C assignments.
In order to avoid hitting the request size limit (PE stack info already doesn't fit) I was going to add 'flags' parameter to the request and split the PE loader information into a separate "sub-call".