Types for objc_retain_xN / objc_release_xN in the libobjc type library should include their custom calling conventions

Abierto
#8,032 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
50/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
objective-c

Línea de trabajo

Start at bv.import_library_object and locate the libobjc type-library definitions for _objc_retain_xN and _objc_release_xN, then review the shared cache and Mach-O view workarounds described in the issue. Done means both views can import these symbols with the id signature and matching apple-arm64-objc-fast-arc-N calling convention without manual fixups.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Component: Type Libraries Language: Objective-C

Version and Platform (required):

  • Binary Ninja Version: 5.3.9301-dev Ultimate, 855e811
  • OS: macos
  • OS Version: 26.3.1
  • CPU Architecture: arm64

Bug Description:

>>> bv.import_library_object('_objc_release_x20')
<type: immutable:FunctionTypeClass 'void()'>
>>> bv.import_library_object('_objc_release_x20').calling_convention

Expected Behavior:
These functions should:

  1. Have the correct signature: id _objc_release_x20(id).
  2. Specify the custom calling convention (apple-arm64-objc-fast-arc-20) to make explicit that the argument is not passed via x0.

Additional Information:
Both the shared cache and Mach-O views have to work around this at present by recognizing imports of these functions and manually fixing up the signature and calling convention.

Lenguaje dominante
C++
Estrellas
1.3k
Forks
298
Merge medio
5 d 5 h
PR fusionados (30 d)
19

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Vector35/binaryninja-api

Todos los issues de Vector35/binaryninja-api

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.