title: What type of data structure is used usually for holding a lot of file info extracting from a firmware/compacked image?
body: <p>It's my first post and may be a naive question but I couldn't find on the internet what I wanted to know.  </p>
  
  <p>I want to extract files from a firmware file as well as want to keep various types of  information associated to those files such as file <strong>name/header/file body/some sections/offset</strong> etc which are mix type of data of binary and text and also all the files are interlinked property with other files properties like some <strong>sections/offset/section offset</strong> etc. Some file property info depends on other files property info so I don't know any design to complete this process by reading and processing each file sequentially or simultaneously :(</p>
  
  <p>I have tried creating some class to hold those info's but I want to know what is the standard to to do this kind of file processing.This would be very great if someone please have some suggestions/links/docs or example code in <strong>c++</strong>.</p>