*/
#include <algorithm>
-#include <common/compat/endian.h>
-#include <common/error.h>
-#include <common/lttng-elf.h>
-#include <common/macros.h>
-#include <common/readwrite.h>
+#include <common/compat/endian.hpp>
+#include <common/error.hpp>
+#include <common/lttng-elf.hpp>
+#include <common/macros.hpp>
+#include <common/readwrite.hpp>
#include <fcntl.h>
#include <stdbool.h>
#include <stdint.h>
if (symtab_hdr.sh_entsize == 0) {
DBG("Invalid ELF string table entry size.");
ret = LTTNG_ERR_ELF_PARSING;
- goto free_symbol_table_data;
+ goto free_string_table_data;
}
sym_count = symtab_hdr.sh_size / symtab_hdr.sh_entsize;