Bumped by Community user
    Bumped by Community user
8 fixed title.
source | link

So is there either a method to get fix the value for e_shnum without knowing the correct value, or a workaround so I can debug this file in GDB?

So is there either a method to get fix the value for e_shnum without knowing the correct value, or a workaround so I can debug this file in GDB?

So is there either a method to fix the value for e_shnum without knowing the correct value, or a workaround so I can debug this file in GDB?

7 fixed title.
source | link

Fixing Corruptedcorrupt ELF Headerheader field "e_shnum" for use in GDB

So is there either a method to get backfix the value before withoutfor e_shnum without knowing itthe correct value, or a workaround so I can debug this file in GDB?

Fixing Corrupted ELF Header

So is there a method to get back the value before without knowing it?

Fixing corrupt ELF header field "e_shnum" for use in GDB

So is there either a method to get fix the value for e_shnum without knowing the correct value, or a workaround so I can debug this file in GDB?

6 updated formatting.
source | link

GDB will output:,

not in executable format: File format not recognized

But if I run it outside of GDB,

"/home/meaw/$ ./hello": not in executablehello formatoutput: File format not recognized

./hello output:

Hello World!

GDB output:

"/home/meaw/./hello": not in executable format: File format not recognized

./hello output:

Hello World!

GDB will output,

not in executable format: File format not recognized

But if I run it outside of GDB,

$ ./hello output:
Hello World!
    Tweeted twitter.com/StackReverseEng/status/913593283473035264
    Post Reopened by 0xec, 0xC0000022L, ebux, Igor Skochinsky
5 Formatting adjustments and tried to clarify the intent
source | link
4 more detailed
source | link
3 added 326 characters in body
source | link
2 improved question's details
source | link
    Post Closed as "Needs more focus" by Jason Geffner, 0xec, peter ferrie, perror, jvoisin
1
source | link