From 7ab589b5a880977b7fda4372b224cc210c741259 Mon Sep 17 00:00:00 2001 From: Bill Yang Date: Thu, 25 Jul 2024 12:28:04 -0700 Subject: [PATCH] clean code again --- .../inject_hash/macho_parser/macho_parser.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/util/fipstools/inject_hash/macho_parser/macho_parser.c b/util/fipstools/inject_hash/macho_parser/macho_parser.c index eed151a0c3d..94272eedc6d 100644 --- a/util/fipstools/inject_hash/macho_parser/macho_parser.c +++ b/util/fipstools/inject_hash/macho_parser/macho_parser.c @@ -193,14 +193,14 @@ int find_macho_symbol_index(uint8_t *symbol_table_data, size_t symbol_table_size struct nlist_64 *symbol = (struct nlist_64 *)(symbol_table_data + i * sizeof(struct nlist_64)); // Skip debugging symbols - // - // #define N_STAB 0xe0 /* if any of these bits set, a symbolic debugging entry */ - // - // "Only symbolic debugging entries have some of the N_STAB bits set and if any of these bits are set then it is - // a symbolic debugging entry (a stab). In which case then the values of the n_type field (the entire field) - // are given in " - // - // https://github.com/apple-oss-distributions/xnu/blob/main/EXTERNAL_HEADERS/mach-o/nlist.h + // + // #define N_STAB 0xe0 /* if any of these bits set, a symbolic debugging entry */ + // + // "Only symbolic debugging entries have some of the N_STAB bits set and if any of these bits are set then it is + // a symbolic debugging entry (a stab). In which case then the values of the n_type field (the entire field) + // are given in " + // + // https://github.com/apple-oss-distributions/xnu/blob/main/EXTERNAL_HEADERS/mach-o/nlist.h if (symbol->n_type & N_STAB) { continue; }