Method that returns buffer with fixed PE (fixed sections when image=False and same buffer if image=True as we assume that procmem internal buffer is already a correct PE file in that case)
It is needed when we need to pass dump to another library that accepts PE file contents as an input.
Method that returns buffer with fixed PE (fixed sections when
image=False
and same buffer ifimage=True
as we assume that procmem internal buffer is already a correct PE file in that case)It is needed when we need to pass dump to another library that accepts PE file contents as an input.