User Details
- User Since
- May 24 2015, 9:10 PM (409 w, 4 d)
Mar 2 2021
Oct 22 2017
Oct 16 2017
Update diff as per suggestion.
Oct 10 2017
Updated diff as per suggestion
ping
Oct 9 2017
SANITIZER_COMMON_CFLAGS is defined somewhere else in compiler-rt. It already should be including the CMAKE_C_FLAGS into its definition, so I'm confused why we even need this change.
Update diff as per suggestion
Oct 6 2017
Hi Simon,
Fix unit test build issues.
Sep 28 2017
Sep 27 2017
Sep 18 2017
Sep 13 2017
Thanks Simon.
Aug 14 2017
Update diff as per suggestion. Thanks Greg for your suggestion.
Aug 11 2017
The $debug_rangesN symbols are added by linker. These symbols are not used anywhere We can skip these type of symbols (where symbol type is STT_NOTYPE and its section is Debug)
Aug 9 2017
Fix Format.
Update diff as per suggestion
Aug 8 2017
Aug 4 2017
Please could you find some time to look into this ?
Jul 31 2017
The android version am using for testing is "O".
Hi Tamas,
Jul 27 2017
Jul 26 2017
Jul 25 2017
Jul 24 2017
Jun 14 2017
May 4 2017
May 2 2017
Update diff as per suggestion.
Apr 27 2017
Hi Ki,
Update Diff as per suggestion
Apr 26 2017
Update diff as per suggestion
Apr 25 2017
Apr 24 2017
Update diff as per suggestion.
Apr 21 2017
Apr 18 2017
Update diff as per suggestion.
Apr 17 2017
Apr 5 2017
Mar 31 2017
Mar 27 2017
Update diff as per suggestion.
Mar 23 2017
The core architecture doesn't have any revision, os and ABI information. Hence we need to relied on target architecture.
updated diff as per suggestion
They are around ~28KB
Added test case for MIPS in https://reviews.llvm.org/D31280
In case of MIPS, The ELFLinuxPrPsInfo.pr_uid and ELFLinuxPrPsInfo.pr_gid is always 32 bit irrespective of platforms
Mar 15 2017
Update Diff as per suggestion
In case of debugging normal process, the memory_info.GetName() is not empty and hence module is read from memory (m_process->ReadModuleFromMemory) and the corresponding sections are updated. In case of core file , the memory_info.GetName() is empty which causes FindFirstModule to matches with the first module in ModuleSpecList and result in loading wrong module at incorrect sections addresses. This patch regain "vdso" module name if memory_info.GetName() is empty.
Mar 7 2017
Mar 2 2017
The .note.ABI-tag is missing in the ELF file, generated by test/testcases/functionalities/postmortem/elf-core/make-core.sh. Need to look into it.
Update diff as per suggestion.
Attach log file
The issue was observed while parsing "vdso module" for the core file. When the DynamicLoader::LoadModuleAtAddress is called to load "vdso" module. Since "vdso" doesn't match with any of the module in the target.GetImages(), the check_alternative_file_name becomes true. This cause MatchesModuleSpec to return true and application binary to reload again at vdso base address(AT_SYSINFO_EHDR) thus all load addresses of application elf's sections becomes incorrect. Please find attach log file.
DynamicLoader::LoadModuleAtAddress(...)
{
... ... ... if (check_alternative_file_name) { ... ... ... **FileSpec(memory_info.GetName().AsCString(), false),** ** // memory_info.GetName().AsCString() is empty here** target.GetArchitecture());