F
F
Fedor Dudnikov2019-12-03 15:49:49
binary code
Fedor Dudnikov, 2019-12-03 15:49:49

How to analyze binary files?

I need to make a program to analyze binary files and collect information from them. Prompt materials or links with information, examples on this topic. Or tell us about some approaches when working with binary files. I did not find any information on the internet.
The program must work with CAD model assembly files (.iam, .dxf). At the moment the file format is unknown to me. If the file format is not known in advance, can such an analysis be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2019-12-04
@saboteur_kiev

I need to make a program to analyze binary files and collect information from them. Prompt materials or links with information, examples on this topic.
The program must work with CAD model assembly files (.iam, .dxf). At the moment the file format is unknown to me. If the file format is not known in advance, can such an analysis be done?

There are companies that do not consult with anyone when developing a data format and write their own proprietary format. Naturally, the documentation for it is not spread. Therefore, the analysis of such files can be extremely difficult.
Of course, you can make an analysis, but judging by the formulation of the question, it is unlikely that you will succeed because of a lack of understanding of basic things, such as what a binary code is.
In addition, the file format may contain various things that prevent third-party analysis - encryption, archiving with a proprietary algorithm, deliberate bookmarks, incomprehensible checksums, and so on.
You can look for some utilities, such as hexinator (you can google a couple of videos, they will give you an idea of ​​​​how it works approximately), which allow you to edit and analyze binaries, but again, doing reverse engineering for a piece of a binary file is usually useless.
Usually binaries pick either when there is a complete idea of ​​what should be in it, or when you need to pick a piece (for example, read something in savegame). Performing a FULL analysis of an undocumented binary format is not a task for beginners.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question