`picotool seal` corrupts ELF files built with IAR toolchain
評価
調査の方向性
Start by locating the picotool seal implementation and how it reads and writes ELF program headers; compare that behavior with the before and after readelf -l output in the issue. Reproduce with an ELF built using the IAR toolchain and inspect the headers before and after sealing. Done when sealing preserves valid program headers for that input.
索引モデルが issue の本文から書いたものです。
説明
Illustrated by running readelf -l on the input and output ELF files:
Before
Elf file type is EXEC (Executable file)
Entry point 0x20000181
There is 1 program header, starting at offset 1742692
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000034 0x20000000 0x20000000 0x09040 0x0a584 RWE 0x8
Section to Segment mapping:
Segment Sections...
00 P1 P1_2
After
Elf file type is EXEC (Executable file)
Entry point 0x20000181
There are 2 program headers, starting at offset 1742692
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
<unknown>: 100 0x1f6a0004 0x8ffc0001 0x00002000 0x100000 0x1f800004 E 0x2000
<unknown>: 100 0x1ff50004 0x8ffc0001 0x00002000 0x100000 0x4ccf0004 0x42000
Section to Segment mapping:
Segment Sections...
00
01
- 主要言語
- C++
- スター
- 1k
- フォーク
- 195
- 平均マージ
- 11日 5時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
raspberrypi/picotool のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
raspberrypi/picotool#371 · コメント 1 件 ·
-
seal: ECDSA signature r/s shorter than 32 bytes is written wrong (der_to_raw copies 32-len bytes), ~1 in 256 seals do not verify対応中かも @will-v-pi が 59 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
raspberrypi/picotool#365 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
raspberrypi/picotool#347 ·
-
Add 'partition' options to 'save' and 'verify' commands対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
raspberrypi/picotool#348 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
raspberrypi/picotool#330 · コメント 1 件 ·
raspberrypi/picotool の issue をすべて見る
似ている issue
-
go perft exits when EvalFile is unavailable対応中かも @Muawiya-contact が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
official-stockfish/Stockfish#7292 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
arvidn/libtorrent#9149 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Niko1221/Strata#5560 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
hyprwm/xdg-desktop-portal-hyprland#453 · コメント 1 件 ·