]> cvs.zerfleddert.de Git - rsbs2/blobdiff - firmware.c
search for compressed sections in firmware image
[rsbs2] / firmware.c
index 55556fc15a2a1c8ba3c1ef2197e8b5f120c8ad40..706a8336ff09eb07273a29283dc6be4f77380246 100644 (file)
@@ -8,6 +8,7 @@
 #include <string.h>
 #include <strings.h>
 #include "rsb-crc.h"
 #include <string.h>
 #include <strings.h>
 #include "rsb-crc.h"
+#include "rsb-lz.h"
 
 #define FINDSTR(addr, str) (!strncmp((char*)addr, str, strlen(str)))
 
 
 #define FINDSTR(addr, str) (!strncmp((char*)addr, str, strlen(str)))
 
@@ -452,6 +453,7 @@ int main(int argc, char **argv)
        if (showall) {
                show_properties(fw, statbuf.st_size - 4);
                handle_boarddescription(fw, statbuf.st_size -4, 0);
        if (showall) {
                show_properties(fw, statbuf.st_size - 4);
                handle_boarddescription(fw, statbuf.st_size -4, 0);
+               search_lz_sections(fw, statbuf.st_size - 4);
        }
 
        if (update_crc || patch_fw || patch_bd) {
        }
 
        if (update_crc || patch_fw || patch_bd) {
Impressum, Datenschutz