RISC-V lifting issues
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- reverse-engineering
Línea de trabajo
Start in arch/riscv/src/lib.rs at lines 1348 and 1500, then inspect the RISC-V lifting cases around them. Reproduce the listed instructions from kat-riscv32.elf at 0x1021a and 0x10d90 and compare their LLIL with the expected semantic sketches. Done means register shifts use the XLEN count and multiply-high instructions preserve the required product half.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Binary files and instruction addresses (ZIP available for upload separately):
kat-riscv32.elf: 0x1021a, 0x10d90; SHA-256cc6c565a1bb70b6aef563d821b4757b147f18197a701685e3848f1981f8d920a
1: RISC-V register shifts
Binary instruction: kat-riscv32.elf / md5 at 0x1021a; bytes b3137e00.
Disassembly: sll t2, t3, t2.
Current lifted LLIL (relevant lines):
t2 = t3 << t2
Expected LLIL (semantic sketch):
t2 = t3 << (t2 & 0x1f)
RISC-V defines the effective count by XLEN. An oversized count in the IL changes variable rotates and shifts.
Code: arch/riscv/src/lib.rs:1348
2: RISC-V multiply-high instructions
Binary instruction: kat-riscv32.elf / adler32 at 0x10d90; bytes 3338e602.
Disassembly: mulhu a6, a2, a4.
Current lifted LLIL (relevant lines):
a6 = (zx.q(a2) * zx.q(a4)) u>> 0x20 // IL shift result size = 4 bytes
Expected LLIL (semantic sketch):
a6 = low.d((zx.q(a2) * zx.q(a4)) u>> 0x20) // eight-byte shift
Shifting a value by its full width loses the product half needed by mulh, mulhu, and mulhsu.
- Lenguaje dominante
- C++
- Estrellas
- 1.3k
- Forks
- 304
- Merge medio
- 2 d 20 h
- PR fusionados (30 d)
- 10
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 Vector35/binaryninja-api
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
Vector35/binaryninja-api#8715 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Vector35/binaryninja-api#8714 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Vector35/binaryninja-api#8713 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
Vector35/binaryninja-api#8689 ·
Los mantenedores suelen responder en 2 días
-
Component: Python API
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Vector35/binaryninja-api#8649 ·
Los mantenedores suelen responder en 2 días
Todos los issues de Vector35/binaryninja-api
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
ESPresense/ESPresense#2680 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Menos de una hora Aptitud para principiantes 75/100
stew675/llama-cpp-rdna-boosts#348 ·
Los mantenedores suelen responder en 1 día
-
Documentation: Add comprehensive newcomer onboarding guide, project structure, and local usage to READMEPosiblemente ocupada @Ash-Blanc la tomó hoy. Abiertoarea/other status/bot-triaged status/need-triage
Dificultad 2/5 Medio día Aptitud para principiantes 85/100
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día