Segmentation fault when running Chrome with hextype
- Dominant language
- C++
- Stars
- 103
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Hi:
I have successfully built the Chrome with HexType's instrumentations, but I met two problems when running the instrumented Chrome:
1.
Program received signal SIGSEGV, Segmentation fault.
0x00005555560ea8b6 in __update_direct_oinfo ()
This happens in hextype.cc, function __update_direct_oinfo (), when checking if (ObjTypeMap[MapIndex].ObjAddr == nullptr), loading from the ObjTypeMap[MapIndex].ObjAddr causes the crash.
2.
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff7120c20 in base::internal::OnNoMemoryInternal(unsigned long)
This happens in hextype.cc, in function __update_phantom_info () when allocate the ObjTypeMap:
ObjTypeMap = new ObjTypeMapEntry[NUMMAP];
Do you have any suggestions for solving those issues? I upgrade the hextype into llvm-14.0.5.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.