This is the mail archive of the cygwin-developers mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Apr 21 17:40, Chris January wrote:None of the definitions I've seen for struct _PEB includes an obvious pointer to locale.nls.Second, I don't know who maps locale.nls, but it happens *very* early in the life of the process, long before gdb can talk to it. UsingFrom what I can gather from http://www.alex-ionescu.com/part1.pdf and Reactos source code I believe it's mapped by MmCreatePeb, called from PspCreateProcess, called from NtCreateProcess{Ex}. It doesn't look like mapping it in advance would help (if that was even possible), but it may be possible (but risky) to map it somewhere else, update the pointers in the PEB, and then unmap the original.I scanned the above PDF, but I can't gather where the pointer to locale.nls is stored in the PEB from that description.
$0.02 Ryan
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |