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
e5555b0f
Commit
e5555b0f
authored
Apr 19, 2010
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Don't assert on some lvalue's write conditions.
parent
22da105b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
memory.c
programs/winedbg/memory.c
+7
-3
No files found.
programs/winedbg/memory.c
View file @
e5555b0f
...
@@ -121,9 +121,13 @@ BOOL memory_write_value(const struct dbg_lvalue* lvalue, DWORD size, void* value
...
@@ -121,9 +121,13 @@ BOOL memory_write_value(const struct dbg_lvalue* lvalue, DWORD size, void* value
BOOL
ret
=
TRUE
;
BOOL
ret
=
TRUE
;
DWORD64
os
;
DWORD64
os
;
os
=
~
(
DWORD64
)
size
;
if
(
!
types_get_info
(
&
lvalue
->
type
,
TI_GET_LENGTH
,
&
os
))
return
FALSE
;
types_get_info
(
&
lvalue
->
type
,
TI_GET_LENGTH
,
&
os
);
if
(
size
!=
os
)
assert
(
size
==
os
);
{
dbg_printf
(
"Size mismatch in memory_write_value, got %u from type while expecting %u
\n
"
,
(
DWORD
)
os
,
size
);
return
FALSE
;
}
/* FIXME: only works on little endian systems */
/* FIXME: only works on little endian systems */
if
(
lvalue
->
cookie
==
DLV_TARGET
)
if
(
lvalue
->
cookie
==
DLV_TARGET
)
...
...
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