You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I modified the ~/.lima/default/lima.yaml, as suggested such that I can edit and run the programs.
My Scenario:
I wanted to decompile a file from Pico CTF challenge, where a Linux executable file was given
File type mentioned below:
root@lima-default:/Users//Downloads# file debugger0_b
debugger0_b: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=95b0203be2982e75dbc01d1cc25b1309f7aec5f7, for GNU/Linux 3.2.0, not stripped
When I run the "run" command inside the gdb, I get this error:
/bin/bash: line 1: /Users//Downloads/debugger0_b: Permission denied
/bin/bash: line 1: exec: /Users//Downloads/debugger0_b: cannot execute: Permission denied
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my Mac M1, I installed Lima and started the server by following these steps:
https://stackoverflow.com/questions/75672471/installing-gdb-on-my-apple-macbook-m1-2020?noredirect=1&lq=1
I modified the ~/.lima/default/lima.yaml, as suggested such that I can edit and run the programs.
My Scenario:
I wanted to decompile a file from Pico CTF challenge, where a Linux executable file was given
File type mentioned below:
root@lima-default:/Users//Downloads# file debugger0_b
debugger0_b: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=95b0203be2982e75dbc01d1cc25b1309f7aec5f7, for GNU/Linux 3.2.0, not stripped
When I run the "run" command inside the gdb, I get this error:
/bin/bash: line 1: /Users//Downloads/debugger0_b: Permission denied
/bin/bash: line 1: exec: /Users//Downloads/debugger0_b: cannot execute: Permission denied
Help on this issue.
Beta Was this translation helpful? Give feedback.
All reactions