Eric Pouech pouech-eric@wanadoo.fr writes:
- access to PROCESS_PARAMETERS from kernel32: currently this is done
by exporting a function pointer from ntdll, but this is not a good solution IMO. Should we better: 1/ create a real PEB and store it at its real offset. 2/ store the pointer to PROCESS_PARAMETER in the PDB (even if it doesn't exist in PDB but in PEB) at an unused offset (I don't think it's really doable to merge PDB and PEB, or we'll have to trash PDB.exit_code)
PDB and PEB are really the same thing, so they definitely have to be merged.