Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2958416d
Commit
2958416d
authored
Oct 22, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 22, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Take virtual sizes in account for the total vma size.
parent
b8d54e91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pe_image.c
loader/pe_image.c
+2
-1
No files found.
loader/pe_image.c
View file @
2958416d
...
...
@@ -369,7 +369,8 @@ static int calc_vma_size( HMODULE32 hModule )
pe_seg
->
NumberOfRelocations
,
pe_seg
->
NumberOfLinenumbers
,
pe_seg
->
Characteristics
);
vma_size
=
MAX
(
vma_size
,
pe_seg
->
VirtualAddress
+
pe_seg
->
SizeOfRawData
);
vma_size
=
MAX
(
vma_size
,
pe_seg
->
VirtualAddress
+
pe_seg
->
SizeOfRawData
);
vma_size
=
MAX
(
vma_size
,
pe_seg
->
VirtualAddress
+
pe_seg
->
Misc
.
VirtualSize
);
pe_seg
++
;
}
return
vma_size
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment