xrop icon indicating copy to clipboard operation
xrop copied to clipboard

riscv does not work for me

Open reimuser opened this issue 5 years ago • 5 comments

I have a problem with riscv binaries. In the main.c I added riscv to the architecture selection. In riscv-gen.c the line 42 acc is always = 0. Therefore, in line 57 the if clause is always wrong. So there is no output. Have I forgotten anything else? Unfortunately it does not work for me.

reimuser avatar Aug 13 '19 12:08 reimuser

It seems like you are probably testing against riscv 64 bit. Currently the code only works with 32-bit riscv, I will make sure to fix that.

acama avatar Aug 13 '19 16:08 acama

Okay. Thank you very much :)

reimuser avatar Aug 13 '19 17:08 reimuser

Hi, the 'make' was not successful on my ARM, however, I want to add support for Xtensa, could you give a little guidance, especially with the file to modify?

dbayoxy avatar Jan 29 '20 07:01 dbayoxy

Hi! Is xrop ok for compressed instructions? (rv32imac & rv64imac) I tried it on rv32ima and it works, but on rv32imac it doesn't find any gadget on the binary. Have a good day!

Lucas-Grgrt avatar Jul 06 '21 10:07 Lucas-Grgrt

Hi sorry I am not sure if it works with the compressed instructions. Unfortunately I have been very busy lately and haven't been able to maintain the code much.

On Tue, Jul 6, 2021 at 10:11 AM Lucas-Grgrt @.***> wrote:

Hi! Is xrop ok for compressed instructions? (rv32imac & rv64imac) I tried it on rv32ima and it works, but on rv32imac it doesn't find any gadget on the binary. Have a good day!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/acama/xrop/issues/16#issuecomment-874635826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM67DTOUA34TD2YMTOUXITTWLJG7ANCNFSM4ILKH4MA .

acama avatar Jul 07 '21 13:07 acama