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

edb: yasm path hardcoded as /usr/bin #375695

Open
3 tasks done
GovanifY opened this issue Jan 22, 2025 · 0 comments
Open
3 tasks done

edb: yasm path hardcoded as /usr/bin #375695

GovanifY opened this issue Jan 22, 2025 · 0 comments
Labels
0.kind: bug Something is broken

Comments

@GovanifY
Copy link
Member

GovanifY commented Jan 22, 2025

Nixpkgs version

  • Unstable (25.05)

Describe the bug

edb fails to patch any instruction as it hardcodes the path to yasm as /usr/bin/yasm.
There might be other hardcoded program paths in edb, I haven't checked myself.

Steps to reproduce

  1. Open any binary, run to any point.
  2. Press space on an instruction
  3. Press enter

Expected behaviour

yasm is called, being able to patch instructions

Screenshots

No response

Relevant log output

`RUNNING ASM TOOL:  "/usr/bin/yasm" ("-f", "bin", "/tmp/edb_asm_temp_39300_TkRTrk.asm", "-o", "/tmp/edb_asm_temp_39300_rHIExZ.bin")
`

Additional context

No response

System metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.30-rt30, NixOS, 25.05, 25.05beta735357.bffc22eb1217`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.11`
 - channels(root): `"agenix, apple-silicon-support, home-manager, musnix, nixos, nixos-mailserver"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Notify maintainers

@lihop @maxxk


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@GovanifY GovanifY added the 0.kind: bug Something is broken label Jan 22, 2025
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