[PATCH 01/19] dbghelp: don't expose SymTagExe or SymTagCompiland's address nor length in SymGetTypeInfo()
Eric Pouech
eric.pouech at gmail.com
Wed Oct 6 03:00:41 CDT 2021
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
dlls/dbghelp/type.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index 70719cf6b7c..0baa9d72c32 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -158,11 +158,11 @@ BOOL symt_get_address(const struct symt* type, ULONG64* addr)
case SymTagThunk:
*addr = ((const struct symt_thunk*)type)->address;
break;
- case SymTagCompiland:
- *addr = ((const struct symt_compiland*)type)->address;
- break;
default:
FIXME("Unsupported sym-tag %s for get-address\n", symt_get_tag_str(type->tag));
+ /* fall through */
+ case SymTagExe:
+ case SymTagCompiland:
return FALSE;
}
return TRUE;
@@ -689,6 +689,8 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
FIXME("Unsupported sym-tag %s for get-length\n",
symt_get_tag_str(type->tag));
/* fall through */
+ case SymTagExe:
+ case SymTagCompiland:
case SymTagFunctionType:
return FALSE;
}
More information about the wine-devel
mailing list