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

Pwntools ships full C compiler causing errors #367846

Open
sbancuz opened this issue Dec 24, 2024 · 0 comments
Open

Pwntools ships full C compiler causing errors #367846

sbancuz opened this issue Dec 24, 2024 · 0 comments
Labels
0.kind: bug Something is broken

Comments

@sbancuz
Copy link
Contributor

sbancuz commented Dec 24, 2024

Describe the bug

When using a simple program like asm(shellcraft.sh()) to make a shellcode, the execution errors out due to a warning that gets treated like an error. This warning is because the pwntools just needs a stripped down C preprocessor, not a full cpp compiler. More details can be found in this PR.

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.5-200.fc41.x86_64, Fedora Linux, 41.20241223.0 (Kinoite), nobuild
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.9
  • nixpkgs: /nix/store/73cnf2k7mji95fcflvay15pdw4skhhk5-source

Notify maintainers

cc @bennofs @kristoff3r @Pamplemousse


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@sbancuz sbancuz added the 0.kind: bug Something is broken label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant