Open hikir1 opened 5 months ago
Thu 11 Apr 2024 10:18:56 AM EDT radare2 5.8.8 1 @ linux-x86-64 birth: git.5.8.8 2023-06-08__14:00:41 commit: ea7f0356519884715cf1d5fba16042bac72b2df5 options: gpl -O1 cs:5 cl:0 make Linux x86_64
Running r2 with -e bin.cache=true on a 32 bit ARM kernel module replaces instructions referencing relocated addresses with stmdaeq
-e bin.cache=true
stmdaeq
run r2 -e bin.cache=true on the following kernel module, after unzipping:
r2 -e bin.cache=true
media_clock.ko.zip
looks like R_ARM_CALL relocs that point outside the GOT table are not working well. working on that in this pr https://github.com/radareorg/radare2/pull/22877
Environment
Thu 11 Apr 2024 10:18:56 AM EDT radare2 5.8.8 1 @ linux-x86-64 birth: git.5.8.8 2023-06-08__14:00:41 commit: ea7f0356519884715cf1d5fba16042bac72b2df5 options: gpl -O1 cs:5 cl:0 make Linux x86_64
Description
Running r2 with
-e bin.cache=true
on a 32 bit ARM kernel module replaces instructions referencing relocated addresses withstmdaeq
Test
run
r2 -e bin.cache=true
on the following kernel module, after unzipping:media_clock.ko.zip