Generator and future's memory layout

When I create and use a generator, can I get the specific memory layout of the generator?
I want to get the current state of a generator in sometime . So the state information maybe stored in the specific memory.
I also want to know how to get the layout information of a Future function, the memory stores what information.Becoause Future is created from generator.

The memory layout of a future is not defined, may change at any time, and there is no way to inspect it.