mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 03:23:34 +08:00
[DBGHELP] Fix rsym runtime crash on ARM64 host
CORE-17518
This commit is contained in:
parent
21bd607758
commit
6c38b251cf
@ -109,7 +109,7 @@ DWORD symt_ptr2index(struct module* module, const struct symt* sym)
|
||||
|
||||
struct symt* symt_index2ptr(struct module* module, DWORD id)
|
||||
{
|
||||
#ifdef __x86_64__
|
||||
#if defined(__x86_64__) || defined(__arm64__)
|
||||
if (!id-- || id >= vector_length(&module->vsymt)) return NULL;
|
||||
return *(struct symt**)vector_at(&module->vsymt, id);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user