3

I'm trying to create a .sig file for sqlite3. I downloaded the source code from the website, compiled it into a .lib (smoothly), and this is what I get when I try to turn it into a .pat file:

plb.exe -v sqlite.lib
sqlite.lib: invalid module at offset 143146. Skipping.
sqlite.lib: invalid module at offset 2587742. Skipping.
sqlite.lib: skipped 2, total 2

The resulting .pat file is empty and I cannot proceed to create the final file with sigmake.

Google doesn't seem to indicate that anyone has ever had an "invalid module at offset" problem in the entire world, so I'm guessing this is pretty unique. I'm stuck. Help?

4
  • It's an omf library instead a coff library? I would expect you would want to use pcf.exe instead, omf 32 bit is pretty rare.
    – broadway
    Aug 17, 2014 at 17:31
  • Durr. That's the right answer. I just blindly went with the IDA tutorial without reading the readme.
    – Sleeptime
    Aug 17, 2014 at 17:40
  • 1
    If you want, put it down as an answer instead of a comment and I'll give it to you.. :p
    – Sleeptime
    Aug 18, 2014 at 7:33
  • Okay, I didn't do so initially since I wasn't certain how useful it would be to future visitors, but it can't be less useful than a question with no answer I suppose.
    – broadway
    Aug 18, 2014 at 14:01

1 Answer 1

7

plb.exe is designed for OMF libraries (primarily used for 16 bit Borland compilers). What you probably want is pcf.exe, which parses COFF libraries commonly used in 32 bit windows.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.