Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] can retrowrite support arm32 architecture? #46

Open
wsxk opened this issue Mar 15, 2023 · 5 comments
Open

[Enhancement] can retrowrite support arm32 architecture? #46

wsxk opened this issue Mar 15, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@wsxk
Copy link

wsxk commented Mar 15, 2023

Platform details
Please detail the following:

  • Architecture: arm32
  • Kernel or userspace: STM32 embeded decives
  • Compiler: arm-none-eabi-gcc
  • Language (if not obvious from compiler): c
  • OS: firmware

I tried to port the retrowrite to the arm32 architecture,but it seems be a lot of questions. the firmware usually has no PIE, is it possible to achieve the arm32 retrowrite?

@wsxk wsxk added the enhancement New feature or request label Mar 15, 2023
@itewqq
Copy link

itewqq commented Mar 16, 2023

@wsxk It's still an open problem to distinguish scalars and references for non-PIE binaries... Reassembly is hard, you can refer to this paper

Anyway I'm working on the exactly same target as you. The tool will be released soon (in ~1 month). Contact me if you're interested to this :)

@wsxk
Copy link
Author

wsxk commented Mar 16, 2023

@wsxk It's still an open problem to distinguish scalars and references for non-PIE binaries... Reassembly is hard, you can refer to this paper

Anyway I'm working on the exactly same target as you. The tool will be released soon (in ~1 month). Contact me if you're interested to this :)

but if I want to make retrowrite appliable in arm32 firmware,I need to distinguish all the scalars and references so that the compiler can reassemble the asm to firmware that runs properly.

@Hornos3
Copy link

Hornos3 commented Nov 22, 2023

@itewqq Could I please ask you about the progress of the compatibility of ARM32? Is there any problem you've met? How did you distinguish scalars and references? Thanks.

@itewqq
Copy link

itewqq commented Nov 22, 2023

@itewqq Could I please ask you about the progress of the compatibility of ARM32? Is there any problem you've met? How did you distinguish scalars and references? Thanks.

I've finished the job like 6 month ago, but my paper was rejected for weird reason so it's still not public lol. Anyway you can DM me and talk about it.

@Hornos3
Copy link

Hornos3 commented Nov 28, 2023

@itewqq If convenient, could you please send me brief summaries of your solutions about this issue? My Email: [email protected], There's a lot of trouble for me to sign up in telegram lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants