Virtual mappings
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- java
- Área
- reverse-engineering
Línea de trabajo
Este es un issue de brainstorming que abarca componentes de UI, decompiladores, assembler/disassembler, grafos, mapping y búsquedas en el workspace, en lugar de nombrar un archivo o una prueba específicos. Comienza rastreando getBytecode(), Workspace#findClass(String), las búsquedas de ClassInfo y el uso de ClassMap; el trabajo solo estaría completo cuando todas las operaciones afectadas resuelvan y operen de forma coherente sobre mappings virtuales.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Mostly for brainstorming, the feature is complex and not likely to actually be implemented unless a REALLY good solution is put forward
UI components:
- Workspace tree
- Class tab tiles
- Class views & all associated components
Logical components:
- Decompilers
- Need to target the virtual mappings, NOT the real existing code
- Pre-processors can handle that
- Need to target the virtual mappings, NOT the real existing code
- Assembler / Disassembler
- Need to target the virtual mappings, NOT the real existing code
- This one is a bit of a doozy...
- Need to target the virtual mappings, NOT the real existing code
- Inheritance graph
- Need to target the virtual mappings, NOT the real existing code
- Need to make
getSuperClass()yield the virtual mapped name, or handle it explicitly here. - More API changes for solution work mentioned below.
- Need to make
- Need to target the virtual mappings, NOT the real existing code
- Call graph
- Need to target the virtual mappings, NOT the real existing code
- Should be operating off virtually mapped bytecode, shouldn't be too hard to manage.
- Lookups by name need to resolve as virtual mapped names.
- Need to target the virtual mappings, NOT the real existing code
- Mapping
- Need to target the virtual mappings, NOT the real existing code
Example: IfXYZis virtuallyDogwhat should be done in the given circumstances?- Map
XYZtoABC: Nothing sinceXYZvirtually does not exist. - Map
DogtoABC: Apply the mapping.
- Map
- Need to target the virtual mappings, NOT the real existing code
Potential solutions:
- Currently we have
getBytecode()for JVM classes.- Instead offer
getOriginalBytecode()andgetVirtualMappedBytecode()(Names not final, but to drive the point across) - The
VirtualMappedBytecodeis mutable data, which is dynamically updated across the workspace whenever virtual mapping are modified. They are thus always kept up-to-date.- Would be useful to optimize the update process so unaffected classes per a change are easily determined, so the mapping process only applies to relevent classes.
- The usage of
getOriginalBytecode()is very limited, and instead most calls are togetVirtualMappedBytecode(). - The remaining issue is maintaining access by virtual name.
- Can potentially change the
Workspace#findClass(String)to assume the input is the virtual mapped name?- Would need to ensure all
ClassInfolookups use thefindoperations, and not directly from theClassMap.
- Would need to ensure all
- Can potentially change the
- Instead offer
- Lenguaje dominante
- Java
- Estrellas
- 7.5k
- Forks
- 549
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la 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 Col-E/Recaf
-
Copy/paste broken on Linux: ClassCastException (HeapByteBuffer → byte[]) in ClipboardActions.pasteAbierto3rd party problem bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
-
Keybind to jump to lineAbiertoenhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Todos los issues de Col-E/Recaf
Issues similares
-
Bug feat:Syntax
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
ignatov/intellij-erlang#1342 ·
Los mantenedores suelen responder en 1 día
-
Flaky EnrollmentCoordinatorTest.theNewSettingsShouldNotInheritTheFormerOnesBackoff on WindowsPosiblemente ocupada @NassimBtk la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MetricsHub/metricshub-community#1636 ·
Los mantenedores suelen responder en 1 día
-
[Bug] no hint/error message for max picture sizePosiblemente ocupada @flahamue la tomó hoy. AbiertoType: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
it-at-m/raumreservierung#439 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
citrusframework/citrus#2044 ·
Los mantenedores suelen responder en 1 día