topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 3:25 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Mini-Review - Objconv  (Read 10060 times)

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Mini-Review - Objconv
« on: May 29, 2009, 12:43 PM »
Basic Info

App NameObjconv
App URLhttp://www.agner.org/optimize/
App Version Reviewed2.08 (May 27th 2009)
Supported OSesWindows, Linux
Support MethodsForum, e-mail
Pricing SchemeOpen Source
Relationship btwn. Reviewer and Product REVIEWER: Regular user


Intro:

First of all let me warn you that this is a tool for programmers, and probably only a small subset of those will ever need a tool like this.

Objconv is a command line tool that can convert object and library files between a number of formats, and also perform certain changes in the process.

Objconv at the moment supports COFF, ELF, OMF and MACHO formats, with both 32-bit and 64-bit support where possible.

It can be used as a simple library manager because it supports adding and extracting members.

Objconv also includes a disassembler supporting the SSE4, AVX, FMA and XOP instruction sets.

The author, Agner Fog, is well known for his work on documenting low level optimization techniques, and the pdf files available from his homepage are a great resource.

objconv.png

Who is this app designed for:

Objconv is a tool for programmers who need to convert object files or libraries between different formats.

One example would be if you would like to use an object/library in your project which is only available in a format that is not supported by your development tools. Another would be if you are the developer of a library and would like to provide it in various formats to support your users.


The Good

Objconv is one of the few object conversion tools that I have tried that actually works in most cases. Of course it only changes the object format and not the actual code, so it will not perform magic conversions of MFC libraries to work on Linux or similar, but if you know what you are doing it can save you quite a bit of work.

It is fast and easy to use, and the options to dump objects, modify symbols and perform library management tasks means it can replace a couple of other tools.


The needs improvement section

While I like command line tools, there might be developers who would prefer a gui.

It would be nice if there was simple wildcard support in the switches for changing symbol names, like -nl:foo_* to make all symbols starting with foo_ invisible.


How does it compare to similar apps

Many development tools have some quirks about what object files they will accept, and I have run into problems in the past with for instance the Borland Pascal/Delphi compilers, where some conversion tools would produce object files that did not work.


Conclusions

Objconv is a tool with a very limited audience, but if you happen to be a developer who needs an object conversion tool it is an excellent choice.

Even if you do not, you might be interested in checking out some of Agner's optimization manuals if you are a C/C++ coder or otherwise interested in low level optimization.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mini-Review - Objconv
« Reply #1 on: May 29, 2009, 01:23 PM »
actually i have use for this and never heard about it, so big thanks from me for the info  :up: