From 1441574e54ec4ce70ae1eb312bc9990170388873 Mon Sep 17 00:00:00 2001 From: Tie Liu Date: Fri, 1 Sep 2023 15:52:40 +0800 Subject: [PATCH] remove build id check --- src/elf_read_elf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/elf_read_elf.c b/src/elf_read_elf.c index 3a1796b..a215218 100644 --- a/src/elf_read_elf.c +++ b/src/elf_read_elf.c @@ -742,9 +742,9 @@ static int read_relocation_file(char *file_name, elf_file_t *ef) // Compare the value with the build ID in the ELF file, the length of the build ID is 40 characters. // In the future, you need to modify related packages to ensure that the build ID of the relocation file is the same as that of the elf file. - if (memcmp(ef->build_id, old_build_id, BUILD_ID_LEN) != 0) { - SI_LOG_INFO("build id mismatch for %s\n", rel_file_name); - } +// if (memcmp(ef->build_id, old_build_id, BUILD_ID_LEN) != 0) { +// SI_LOG_INFO("build id mismatch for %s\n", rel_file_name); +// } return 0; } -- Gitee