breakpad dumping: include pdb name if missing exe name, include pdb guid if no exe hash

This commit is contained in:
Ryan Fleury
2025-09-26 11:37:07 -07:00
parent 9ad7361cb9
commit cd7e2d3f89
6 changed files with 75 additions and 9 deletions
+8 -4
View File
@@ -1492,11 +1492,15 @@ RDI_PROC RDI_U8 *rdi_explanation_string_from_eval_conversion_kind(RDI_EvalConver
RDI_PROC RDI_U64
rdi_hash(RDI_U8 *ptr, RDI_U64 size)
{
RDI_U64 result = 5381;
RDI_U8 *opl = ptr + size;
for(;ptr < opl; ptr += 1)
RDI_U64 result = 0;
if(size != 0)
{
result = ((result << 5) + result) + *ptr;
result = 5381;
RDI_U8 *opl = ptr + size;
for(;ptr < opl; ptr += 1)
{
result = ((result << 5) + result) + *ptr;
}
}
return result;
}