-1

Good day, i only have the file which is : sample_: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.2.5, not stripped

When i run it, it gives an segmentation fault. I tried the debugging with the gdb, but the result was : Reading symbols from sample_...(no debugging symbols found)...done.

Then i tried with the file command :

(gdb) file sample_ 
Reading symbols from sample_...(no debugging symbols found)...done.

I dont have the .c file itself.

How i can debug it?

1 Answers1

0

Seems like the program has not been build with debug flags. If you don't have the source to recompile it with debug flags there is as far as I know no way to properly debug it. You can try to decompile the executable but good luck with that

sshmaxime
  • 499
  • 5
  • 15