Skip to content

proc: do not check sizes in not loadable sections#590

Merged
badochov merged 1 commit intomasterfrom
badochov/elf-validate
Oct 2, 2024
Merged

proc: do not check sizes in not loadable sections#590
badochov merged 1 commit intomasterfrom
badochov/elf-validate

Conversation

@badochov
Copy link
Contributor

@badochov badochov commented Sep 10, 2024

JIRA: RTOS-912

Description

memsz doesn't matter in that case, caused bug if there was a section with arch data

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (refactoring, style fixes, git/CI config, submodule management, no code logic changes)

How Has This Been Tested?

  • Already covered by automatic testing.
  • New test added: (add PR link here).
  • Tested by hand on: riscv-generic-qemu

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing linter checks and tests passed.
  • My changes generate no new compilation warnings for any of the targets.

Special treatment

  • This PR needs additional PRs to work (list the PRs, preferably in merge-order).
  • I will merge this PR by myself when appropriate.

@badochov badochov requested a review from Darchiv September 10, 2024 20:00
@github-actions
Copy link

github-actions bot commented Sep 10, 2024

Unit Test Results

7 700 tests  ±0   6 985 ✅ ±0   37m 10s ⏱️ -7s
  436 suites ±0     715 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit f78a283. ± Comparison against base commit 1f9ea40.

♻️ This comment has been updated with latest results.

@badochov badochov force-pushed the badochov/elf-validate branch from 9cc509b to f78a283 Compare September 25, 2024 20:53
@Darchiv Darchiv requested a review from agkaminski October 2, 2024 09:04
@badochov badochov merged commit cb7fddd into master Oct 2, 2024
@badochov badochov deleted the badochov/elf-validate branch October 2, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants