Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b990eaa8
Commit
b990eaa8
authored
Sep 30, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Sep 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Expose local static variables' address.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
99eb63bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
dbghelp_private.h
dlls/dbghelp/dbghelp_private.h
+1
-1
type.c
dlls/dbghelp/type.c
+1
-0
No files found.
dlls/dbghelp/dbghelp_private.h
View file @
b990eaa8
...
...
@@ -192,7 +192,7 @@ struct symt_data
struct
symt
*
type
;
union
/* depends on kind */
{
/* DataIs{Global, FileStatic}:
/* DataIs{Global, FileStatic
, StaticLocal
}:
* with loc.kind
* loc_absolute loc.offset is address
* loc_tlsrel loc.offset is TLS index address
...
...
dlls/dbghelp/type.c
View file @
b990eaa8
...
...
@@ -143,6 +143,7 @@ BOOL symt_get_address(const struct symt* type, ULONG64* addr)
{
case
DataIsGlobal
:
case
DataIsFileStatic
:
case
DataIsStaticLocal
:
*
addr
=
((
const
struct
symt_data
*
)
type
)
->
u
.
var
.
offset
;
break
;
default:
return
FALSE
;
...
...
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