@justine

By the way:

You're looking for some blatant error from objdump. The point of those flags is to make it attempt to read all of the elements of the ELF file structure, using their recorded lengths, not to actually analyse them in detail.

The boot loader is reading just a block of bytes, so you're looking for a failure where objdump gets an error likewise trying to read an entire ELF section from file, not in the details of what it dumps out interpreting the contents of those sections.

There are ways in which you doing objdump from within a booted operating system is going to cut out some possible root causes for the error. You won't be relying upon the firmware's I/O services, for starters. But it's mystifying how one could get errno 255 via that route, and it seems unlikely that's your problem because you say that it's only changing the kernel that makes the difference on the machine.

#OpenBSD #boot #ELF #objdump

Want to learn more about ELF files? 🧝‍♂️

My new blog post "Wherein We Look At An ELF".

In this post we will explore:

🖥️ The anatomy of ELF files—what makes them tick
🔍 Relocatable but not yet Executable—more compilation shenanigans
🧩 To Strip or not to Strip—is that the question?
🔐 Some ELF tools—readelf, objdump, gdb, ...

https://dreaming-of-dragons.blogspot.com/2024/12/wherein-we-look-at-elf-executable-and.html

#ReverseEngineering #BinaryAnalysis #MalwareAnalysis #Cybersecurity #Programming #Debugging #InfoSec #CProgramming #GDB #objdump #Assembly

Wherein We Look At An ELF: Executable and Linkable Format

embedded programming dreaming of dragons

When you start going through #objdump #diffs it may be time to question your life choices. #headscratcher
Going through "The art of exploitation 2nd edition". This time I'm going through all the examples and writing all the code out. Using #gef and #gdb #objdump and thats it. For some reason it's much easier to understand and focus. Its a huge book but I am dertermine to finish it and learn and much as I can. Also working on pwn.college too. #keeptrying