thixotropist / ghidra_import_tests

Experimental framework for testing Ghidra binary import support
1 stars 0 forks source link

Add relocation test for R_RISCV_TLS_TPREL64 relocation type #9

Closed thixotropist closed 7 months ago

thixotropist commented 7 months ago

This task-pointer based relocation appears in libc.so.6. The test will fail until the relocation handler is updated within Ghidra

thixotropist commented 7 months ago

The x86_64 version of libc.so.6 also shows a task-pointer relocation failure, suggesting a more general design need for Ghidra support of task-local variables. For now, keep this issue alive while looking for realistic cases where Ghidra analysis of per-task storage areas makes sense. That may be either within kernel code or user space libraries, likely not any time soon.

Punt this into the future, closing this issue for now. Possibly document it as technical debt?