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

Could not find any instructions in ['int 0x80'] #2416

Open
escapemarius2 opened this issue May 31, 2024 · 2 comments
Open

Could not find any instructions in ['int 0x80'] #2416

escapemarius2 opened this issue May 31, 2024 · 2 comments
Labels

Comments

@escapemarius2
Copy link

escapemarius2 commented May 31, 2024

pwntools giving me this error only for the 32 bit elf file for 64bit everything works fine:
Could not find any instructions in ['int 0x80']

i wrote a small vuln server in c and use some inline assembly to generate for gadgets for my own example:

asm volatile(
    "int $0x80\n\t"
    "ret"
    :
);

ROPgadget output:

0x08049311 : int 0x80
0x08049311 : int 0x80 ; ret

so the gadget is still there but works only in 64bit

@Arusekk
Copy link
Member

Arusekk commented Jun 3, 2024

Please give exact steps to reproduce this so that we can better understand your use.

  1. What is the output of pwn version?
  2. What is your script that throws the error?
  3. What is the error exactly?

@RocketMaDev
Copy link

What about searching 'int'? Please upload some reproducible samples.

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

No branches or pull requests

3 participants