T8 - #350
Merged
Merged
Conversation
Wine maps PE headers without execute permission before mapping their code sections. Parse that initial mapping explicitly so QCefViewTest records the section RVAs and associates later executable mappings with libcef. Signed-off-by: Wenqiang Wei <weiwenqiang@mail.ustc.edu.cn>
Wine loads PE sections with pread into writable memory before mprotect makes the pages executable. Keep segment tracking enabled for Wine pread calls so libcef enters the AOT segment tree. Keep non-Wine behavior restricted to executable pages. Only recover AOT TBs after the destination page is executable. Signed-off-by: Wenqiang Wei <weiwenqiang@mail.ustc.edu.cn>
Allow a selected Wine PE image to request its preferred base only after validating the PE image range and relocation directory. Preserve ASLR when validation fails or the guest range is already occupied. Translate guest MAP_FIXED_NOREPLACE atomically so Wine can relocate instead of overwriting a pre-reserved host range. Signed-off-by: Wenqiang Wei <weiwenqiang@mail.ustc.edu.cn>
Separate libcef AOT cache names for browser, GPU, renderer, and utility CEF processes. Each role executes a distinct working set and now loads only its matching translated TBs. Keep the behavior opt-in through LATX_AOT_PE_PROFILE so existing address-based PE caches remain compatible. Signed-off-by: Wenqiang Wei <weiwenqiang@mail.ustc.edu.cn>
Accept LATX_WINE_PE_FIXED_ADDRESS as basename@address so a Wine PE can be loaded at a caller-selected guest address. When Wine reads the PE header, match the DLL basename, validate the requested address, update OptionalHeader.ImageBase, and clear DYNAMIC_BASE. This keeps LATX_WINE_PE_FIXED_BASE for callers that want to use the original image base. Usage: LATX_WINE_PE_FIXED_ADDRESS=libcef.dll@0x6ab5f000 Signed-off-by: Wenqiang Wei <weiwenqiang@mail.ustc.edu.cn>
Signed-off-by: Wenqiang Wei <weiwenqiang@mail.ustc.edu.cn>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.