3 ms·
What are your common use cases for using a hex editor?
by andsoitis 3y ago
What are your common use cases for using a hex editor?
- _xerces_ 3y agoExamining binaries for firmware images I built when writing embedded software and for reverse engineering binaries by others to see how they work, make modifications. Fixing corrupted image files or figuring out how they work, examining Windows PE files or DLLs to get an overview of how they work. HxD for example can also do some limited calculations on the bytes as well as show you what CPU instruction they might represent. Sometimes a hex editor is useful for looking at data files stored as binary. I also used a hex editor extensively when dumping the output of streaming H264 NAL units to figure out why the video was corrupted.
- signaru 3y agoWhen working with non text file formats (e.g. coding a parser or file generator) hex editors are convenient for checking that data are where they're expected to be, finding out where they are otherwise, or checking what values they have. Even compressed file formats have header information that can be inspected if you have the format's specification.