Skip to main content
2 votes

How do I go about overriding a function internally defined in a binary on Linux?

First off, I would like to thank @wisk for his answer. We've been trying to patch some software running in an experiment on the ISS and building from his answer we were finally able to figure this ...
Compholio's user avatar
  • 121
1 vote

how to print non printable address using python

You're describing encoding a Python int into bytes. In this case, the int is a 32-bit unsigned integer. Use struct.pack for this: >>> struct.pack("<I", 0x401199) b'\x99\x11@\x00' ...
maarten's user avatar
  • 111
1 vote

What to do when the .img is corrupted?

This img file is identified by file as a Linux kernel boot image. This type of file is (sort of) a self extracting archive, not a filesystem .img that is mountable. There is a standard Linux tool to ...
Yotamz's user avatar
  • 1,272
1 vote
Accepted

Unix system with windows-style registry

This may be related to automotive. I had seen something like this in this repository, strings including /dev/registry/LOCAL_MACHINE/SOFTWARE/BLAUPUNKT are mentioned directly here. Using word "...
w s's user avatar
  • 8,508
1 vote
Accepted

Updating legacy library in an already compiled binary

This is what I have done in similar cases but adapted to your scenario: Build the new open source library as a standard SO or DLL that is loadable by your target. If you're unlucky, you might need to ...
joxeankoret's user avatar
  • 4,488
1 vote

Adding debug symbols with GDB

You could try ghidra2dwarf: Ghidra2Dwarf is a ghidra plugin that allows to exports informations (such as functions, decompiled code, types) from ghidra to dwarf sections inside ELF binaries. People ...
julian's user avatar
  • 7,176

Only top scored, non community-wiki answers of a minimum length are eligible