Update to Parsebin and sections.txt

February 1, 2009 12:30 pm

With the three new sections decoded and a change I’ve made to the sections.txt file, I figure its time to share the code with whomever wants it. The updates in this version are:

  • Parses CMbP Sections
  • Parses CMbH Sections
  • Parses CMbT Sections
  • Adds support for identifying section by unique ID in secitons.txt
  • Drops support for counting section occurrences in sections.txt
  • Lots of ugly unformatted output

To specify the identifier for a section, add the integer representation for the identifier after the section name in sections.txt. If you look at the sections.txt file included below, you’ll see a ID specified for the FBIN secton. This is to help the script identify sections for now, untill all the sections are IDed and parseable. The string “FBIN “occurs in several places in the file though there is only one occurace of FBIN that represents a section identifier. Hence, the support for including a section identifier (which is the 4 bytes following the section name)

You can download the new script here.

One Response to “Update to Parsebin and sections.txt”

Arvo wrote a comment on June 12, 2009

Are there some CMbM sections in firmware too? They can be parsed easily :)

Care to comment?