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
905609b7
Commit
905609b7
authored
Oct 16, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Assume leaf function when we can't find exception information for an ELF module.
parent
9dd78e13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+8
-6
No files found.
dlls/ntdll/signal_x86_64.c
View file @
905609b7
...
...
@@ -1849,9 +1849,10 @@ static NTSTATUS call_stack_handlers( EXCEPTION_RECORD *rec, CONTEXT *orig_contex
const
struct
dwarf_fde
*
fde
=
_Unwind_Find_FDE
(
(
void
*
)(
context
.
Rip
-
1
),
&
bases
);
if
(
!
fde
)
{
ERR
(
"no exception data found in %s for function %lx
\n
"
,
module
?
debugstr_w
(
module
->
BaseDllName
.
Buffer
)
:
"system library"
,
context
.
Rip
);
break
;
/* assume leaf function */
context
.
Rip
=
*
(
ULONG64
*
)
context
.
Rsp
;
context
.
Rsp
+=
sizeof
(
ULONG64
);
continue
;
}
status
=
dwarf_virtual_unwind
(
context
.
Rip
,
&
dispatch
.
EstablisherFrame
,
&
new_context
,
fde
,
&
bases
,
&
dispatch
.
LanguageHandler
,
&
dispatch
.
HandlerData
);
...
...
@@ -2712,9 +2713,10 @@ void WINAPI RtlUnwindEx( ULONG64 end_frame, ULONG64 target_ip, EXCEPTION_RECORD
const
struct
dwarf_fde
*
fde
=
_Unwind_Find_FDE
(
(
void
*
)(
context
.
Rip
-
1
),
&
bases
);
if
(
!
fde
)
{
ERR
(
"no exception data found in %s for function %lx
\n
"
,
module
?
debugstr_w
(
module
->
BaseDllName
.
Buffer
)
:
"system library"
,
context
.
Rip
);
raise_status
(
STATUS_BAD_FUNCTION_TABLE
,
rec
);
/* assume leaf function */
context
.
Rip
=
*
(
ULONG64
*
)
context
.
Rsp
;
context
.
Rsp
+=
sizeof
(
ULONG64
);
continue
;
}
dispatch
.
FunctionEntry
=
NULL
;
status
=
dwarf_virtual_unwind
(
context
.
Rip
,
&
dispatch
.
EstablisherFrame
,
&
new_context
,
fde
,
...
...
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