On Sun, 31 Dec 2023 00:02:32 +0000 Rahul Rameshbabu <sergeantsagara@xxxxxxxxxxxxxx> wrote: > > Unfortunately, it is very difficult to get the parameters for fwcutter from an > > x86 binary. Some of the other architectures are easier. > > Just tried this with the x86 binary just because and ran into extraction > issues as expected. I could not find other architecture options from > Broadcom's download page, but I may not have been looking well enough... > > ❯ b43-fwcutter ./wlc_hybrid.o_shipped > Sorry, the input file is either wrong or not supported by b43-fwcutter. > This file has an unknown MD5sum 6889dbd24abf8006de5cc6eddd138518. b43-fwcutter works only on known files. It has a table of hashes of these files. But there is a script that can be used to create a hash table entry for a .o file: https://bues.ch/cgit/b43-tools.git/plain/fwcutter/mklist.py This probably doesn't work on x86 binaries, though. But maybe by reading the script you can get an idea how this works. -- Michael Büsch https://bues.ch/
Attachment:
pgpqJgw04z3Lf.pgp
Description: OpenPGP digital signature