`picotool seal` corrupts ELF files built with IAR toolchain
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C++
- Estrellas
- 1k
- Forks
- 195
- Merge medio
- 11 d 5 h
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de raspberrypi/picotool
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
raspberrypi/picotool#371 · 1 comentario ·
-
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 verifyPosiblemente ocupada @will-v-pi la tomó hace 59 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
raspberrypi/picotool#365 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
raspberrypi/picotool#347 ·
-
Add 'partition' options to 'save' and 'verify' commandsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
raspberrypi/picotool#348 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
raspberrypi/picotool#330 · 1 comentario ·
Todos los issues de raspberrypi/picotool
Issues similares
-
go perft exits when EvalFile is unavailablePosiblemente ocupada @Muawiya-contact la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
official-stockfish/Stockfish#7292 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
arvidn/libtorrent#9149 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Niko1221/Strata#5560 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
hyprwm/xdg-desktop-portal-hyprland#453 · 1 comentario ·