Download Latest Version libwdi-1.3.0.tar.gz (994.3 kB)
Email in envelope

Get an email when there's a new version of libwdi

Home / utilities
Name Modified Size InfoDownloads / Week
Parent folder
README.creole 2011-11-10 1.3 kB
cathash.7z 2011-11-10 15.8 kB
bin2coff.7z 2011-11-10 11.6 kB
Totals: 3 Items   28.7 kB 0

Description:

  • cathash:
    multiplatform MS CAT/Authenticode SHA-1 generation. Inspired by the tool of the same name by Michel I. Gallant.
    Can be used to compute the custom SHA-1 used by Microsoft and others for Authenticode and CAT file validation.
    Unlike its counterpart, this program will compile and run on any platform, including big endian UNIX.
  • bin2coff:
    Convert binary data to linkable MS COFF object. Inspired by the tool of the same name by Vortex but including source code, MinGW-w64 compatiblity and the provision of a size variable besides the binary.
Usage: bin2coff bin obj [label] [64bit]

  bin  : source binary data
  obj  : target object file, in MS COFF format.
  label: identifier for the extern data. If not provided, the name of the
         binary file without extension is used.
  64bit: produce a 64 bit compatible object - symbols are generated without
         leading underscores and machine type is set to x86_x64.

With your linker set properly, typical access from a C source is:

    extern uint8_t  label[]     /* binary data         */
    extern uint32_t label_size  /* size of binary data */
Source: README.creole, updated 2011-11-10