Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into users/merlinbot/1es-p…
Browse files Browse the repository at this point in the history
…t-auto-baselining-pr
  • Loading branch information
snnn committed Oct 24, 2024
2 parents 16fb058 + b990361 commit fb74112
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/ci_build/github/linux/ort_minimal/readelf_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,13 @@ def get_section_sizes(binary_path, readelf_path, dump_to_file=None):
for match in re.finditer(r"\[[\s\d]+\] (\..*)$", output, re.MULTILINE):
items = match.group(1).split()
name = items[0]
if name == ".relro_padding":
# padding fluctuates and isn't due to the actual code. as it adds noise to the diff exclude it
continue

# convert size from hex to int
size = int(items[4], 16)

section_sizes[name] = size

if dump_to_file:
Expand Down

0 comments on commit fb74112

Please sign in to comment.