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
37ded738
Commit
37ded738
authored
Mar 11, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Implement RtlWalkFrameChain on i386.
parent
f127448d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
signal_i386.c
dlls/ntdll/signal_i386.c
+23
-0
No files found.
dlls/ntdll/signal_i386.c
View file @
37ded738
...
...
@@ -452,6 +452,29 @@ __ASM_STDCALL_FUNC( RtlRaiseException, 4,
/*************************************************************************
* RtlWalkFrameChain (NTDLL.@)
*/
ULONG
WINAPI
RtlWalkFrameChain
(
void
**
buffer
,
ULONG
count
,
ULONG
flags
)
{
CONTEXT
context
;
ULONG
*
frame
;
ULONG
i
,
skip
=
flags
>>
8
,
pos
=
0
;
RtlCaptureContext
(
&
context
);
for
(
i
=
0
;
i
<
count
;
i
++
)
{
if
(
!
is_valid_frame
(
context
.
Ebp
))
break
;
if
(
i
>=
skip
)
buffer
[
pos
++
]
=
(
void
*
)
context
.
Eip
;
frame
=
(
ULONG
*
)
context
.
Ebp
;
context
.
Ebp
=
frame
[
0
];
context
.
Eip
=
frame
[
1
];
}
return
pos
;
}
/*************************************************************************
* RtlCaptureStackBackTrace (NTDLL.@)
*/
USHORT
WINAPI
RtlCaptureStackBackTrace
(
ULONG
skip
,
ULONG
count
,
PVOID
*
buffer
,
ULONG
*
hash
)
...
...
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