<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic VMS C decompiler in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927329#M32804</link>
    <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;A manager ask me if I can help :&lt;BR /&gt;- we have a C based binary that works nice&lt;BR /&gt;- we don't have the source code for that version, but an older one that is no satisfactory.&lt;BR /&gt;&lt;BR /&gt;Is there a chance to get even ugly or non working C looking source code from the binary ?&lt;BR /&gt;&lt;BR /&gt;Thanks all for your help,&lt;BR /&gt;&lt;BR /&gt;Nicolas&lt;BR /&gt;</description>
    <pubDate>Tue, 20 Sep 2005 04:17:49 GMT</pubDate>
    <dc:creator>Nicolas Dumeige</dc:creator>
    <dc:date>2005-09-20T04:17:49Z</dc:date>
    <item>
      <title>VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927329#M32804</link>
      <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;A manager ask me if I can help :&lt;BR /&gt;- we have a C based binary that works nice&lt;BR /&gt;- we don't have the source code for that version, but an older one that is no satisfactory.&lt;BR /&gt;&lt;BR /&gt;Is there a chance to get even ugly or non working C looking source code from the binary ?&lt;BR /&gt;&lt;BR /&gt;Thanks all for your help,&lt;BR /&gt;&lt;BR /&gt;Nicolas&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 04:17:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927329#M32804</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2005-09-20T04:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927330#M32805</link>
      <description>Nicolas,&lt;BR /&gt;&lt;BR /&gt;what is the problem you're trying to solve ?&lt;BR /&gt;&lt;BR /&gt;In general, you can't decode machine instructions back into C code.&lt;BR /&gt;&lt;BR /&gt;Depending on the operating system and architecture (are you talking about OpenVMS VAX, OpenVMS Alpha or OpenVMS IA64 ?), you could decode the binary instruction stream using SDA (or PATCH) and get back machine code. On VAX, you can get some idea, what the machine code is doing (especially if you have the machine code listing from an older version of the same module), but on Alpha or Itanium, it's much harder or near impossible.&lt;BR /&gt;&lt;BR /&gt;If you just want to run your existing 'nicely working' C binary on another OpenVMS architecture, there are binary translators available for OpenVMS VAX to Alpha and Alpha to Itanium, which will take your existing binary and produce a new binary to be run on the target platform.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 20 Sep 2005 04:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927330#M32805</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-09-20T04:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927331#M32806</link>
      <description>There are ways to disassemble images to produce assembly language on VAX, Alpha and Itanium VMS systems. However I don't think you can get back to the original C code as much of the data need  is not present. &lt;BR /&gt;&lt;BR /&gt;Why do you wish to have the source code for this application?</description>
      <pubDate>Tue, 20 Sep 2005 04:44:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927331#M32806</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-09-20T04:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927332#M32807</link>
      <description>REM : the application code is our, no hacking there.&lt;BR /&gt;&lt;BR /&gt;The migration is from VMS on alpha to Solaris on Sparc : is there a way to get a working binary on Sun from the one on VMS ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 05:19:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927332#M32807</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2005-09-20T05:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927333#M32808</link>
      <description>Nicolas,&lt;BR /&gt;&lt;BR /&gt;no way from OpenVMS to Solaris ;-(&lt;BR /&gt;&lt;BR /&gt;Everything is different, operating system interfaces and machine architecture. You could expect binary translators to only work on the same operating system, if that is available on machines with different architectures, as is OpenVMS from VAX to Alpha to Itanium.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 20 Sep 2005 05:24:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927333#M32808</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-09-20T05:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927334#M32809</link>
      <description>If you wish to downgrade your platform from VMS to solaris then you will have to reimplement the application on Solaris. &lt;BR /&gt;&lt;BR /&gt;This will be one of many costs associated with this migration.</description>
      <pubDate>Tue, 20 Sep 2005 05:44:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927334#M32809</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-09-20T05:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927335#M32810</link>
      <description>You haven't specified whether this is VAX or Alpha. VAX would be hard enough. Alpha, gets more complex as the Alpha compiler can "optimize" for different interations of Alpha Chips. THere is no guarantee that the images tht you have, are optimized for the platform that you have, particularly given that you have "lost" the source code. &lt;BR /&gt;&lt;BR /&gt;Depending on how different the previous version you had, was from the version you are working with, you might be able to compile a version of the older and compare that with an SDA wander through the newer version, but you would be a braver person than most here to take on something like that. &lt;BR /&gt;&lt;BR /&gt;Also, the move to solaris - there are plenty of "war stories" around that, that can come from here... I for one find that the Solaris C compiler has a propensity for memory leaks. &lt;BR /&gt;&lt;BR /&gt;q</description>
      <pubDate>Tue, 20 Sep 2005 06:01:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927335#M32810</guid>
      <dc:creator>Peter Quodling</dc:creator>
      <dc:date>2005-09-20T06:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927336#M32811</link>
      <description>Peter,&lt;BR /&gt;&lt;BR /&gt;are you competing for&lt;BR /&gt;"Understatement of the year"?&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Tue, 20 Sep 2005 11:05:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927336#M32811</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-09-20T11:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927337#M32812</link>
      <description>Nicolas: &lt;BR /&gt;1. You can't translate binary to C. You can only translate binary to machine language or assembler if you have a translator. A VAX assembly language program would not work on a different type of hardware even an Alpha without a translator or emulation on the Alpha. The assembly language program would not be maintainable since no one would understand it. Even documented assembly language programs are easy to break and difficult to maintain.&lt;BR /&gt;2. You can't normally translate a binary from one vendor to another. Sometimes a vendor will provide translators from one hardware type to another another hardware type (like VAX to Alpha, VAX to Itanium, Alpha to Itanium.&lt;BR /&gt;3. If you don't have the C source, you either have to run as is or rewrite the application. It shows why Software Configuration Management and Software Quality Assurance are needed functions.&lt;BR /&gt;Lawrence&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 13:53:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927337#M32812</guid>
      <dc:creator>Lawrence Czlapinski</dc:creator>
      <dc:date>2005-09-20T13:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927338#M32813</link>
      <description>Nicolas: You can either start with the non-working C looking source code and document how much needs to be fixed. Then generate manhour and cost estimates for fixing and rewriting from scratch. Do you at least have functional and design specicifications?&lt;BR /&gt;Lawrence</description>
      <pubDate>Tue, 20 Sep 2005 14:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927338#M32813</guid>
      <dc:creator>Lawrence Czlapinski</dc:creator>
      <dc:date>2005-09-20T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927339#M32814</link>
      <description>If the source was compiled "/debug" and you still have the objects, you might be able to recover the soure from there.&lt;BR /&gt;&lt;BR /&gt;Or you just tell your management that they can't migrate to Sun, since the source for a critical part of the system can't be found...&lt;BR /&gt;&lt;BR /&gt;Ken</description>
      <pubDate>Tue, 20 Sep 2005 14:46:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927339#M32814</guid>
      <dc:creator>Ken Robinson</dc:creator>
      <dc:date>2005-09-20T14:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927340#M32815</link>
      <description>Hey Jan, "Understatement?" Hey anything is possible if you want to throw enough money and time at it. &lt;BR /&gt;&lt;BR /&gt;q&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 15:33:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927340#M32815</guid>
      <dc:creator>Peter Quodling</dc:creator>
      <dc:date>2005-09-20T15:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927341#M32816</link>
      <description>I disagree that can't translate binary to C. It would be relatively simple (but extremely tedious!) to create a mapping from VAX, Alpha or even Itanium instructions into an equivalent C program. Of course it wouldn't make any sense, would be impossible to modify and probably wouldn't generate the original code when compiled. The biggest issue would be working out the routine linkages. Tricky, but again, not impossible. &lt;BR /&gt;&lt;BR /&gt;In reality it would be MUCH easier to rewrite the application from scratch, based on the specs than attempt to take this path. (and in future, take better care of your source code?)&lt;BR /&gt;&lt;BR /&gt;As for migrating from OpenVMS to Solaris... well, about the best I can offer is to wish you good luck. You'll need it.</description>
      <pubDate>Tue, 20 Sep 2005 20:35:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927341#M32816</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-09-20T20:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927342#M32817</link>
      <description>re Ken: &lt;BR /&gt;&lt;BR /&gt;&amp;gt;If the source was compiled "/debug" &lt;BR /&gt;&amp;gt;and you still have the objects, you &lt;BR /&gt;&amp;gt;might be able to recover the soure &lt;BR /&gt;&amp;gt;from there.&lt;BR /&gt;&lt;BR /&gt;  Sorry, that won't help. /DEBUG doesn't embed the source code into object module or executable image, it just inserts pointers back to the source files.</description>
      <pubDate>Tue, 20 Sep 2005 20:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927342#M32817</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-09-20T20:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927343#M32818</link>
      <description>If this code is coming from a VAX, you could always run CHARON-VAX on a Windows system.  That would at least get you off DEC hardware.&lt;BR /&gt;&lt;BR /&gt;  &lt;A href="http://www.stanq.com/charon-vax.html" target="_blank"&gt;http://www.stanq.com/charon-vax.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SRI test-compiled CHARON-VAX a few years ago on Solaris.  But there wasn't any market for it.&lt;BR /&gt;&lt;BR /&gt;[And yes, this is a Shameless Plug (tm) from a CHARON-VAX reseller.]&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Sep 2005 09:11:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927343#M32818</guid>
      <dc:creator>Stanley F Quayle</dc:creator>
      <dc:date>2005-09-21T09:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927344#M32819</link>
      <description>John Gillings: &lt;BR /&gt;1. Ok, if you write a translater, you can translate assembler instructions to C instructions. It's outside my skill set. There is no incentive for HP to write such a translator which would help move customers off their hardware. It would cost some amount of manhours to write such a translator, document it and test it. &lt;BR /&gt;2. The hardware specific parts of C would probably not run correctly on on other hardware if it ran at all. It is hard to know whether the original programmers separated hardware dependencies into separte routines or where in the generated C those depenencies would be. &lt;BR /&gt;3. The output from a translator to C would be just a bunch of C instructions. Without a frame of reference as to what function the instructions are performing or what interconnections there are, it would be extremely difficult for most C programmers to attempt to maintain the resulting C.  Without documentation, I would tell management that it would be a waste of manhours to try and maintain it. It would be easy to break something. The C names would not give meaningful information about the context of what is being done or the intent.&lt;BR /&gt;Lawrence</description>
      <pubDate>Wed, 21 Sep 2005 12:11:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927344#M32819</guid>
      <dc:creator>Lawrence Czlapinski</dc:creator>
      <dc:date>2005-09-21T12:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927345#M32820</link>
      <description>Back in my early SW Development days, we used to refer to software projects as being SMOP's or SMOM's (Simple Matter of Programming) or (Simple Matter of Money). Smops can be coerced out of developers with Beer and Pizza or sutble comments that you don't think that they could do something like this (be careful of that one - it's a one shot only approach). &lt;BR /&gt;&lt;BR /&gt;SMOMs on the other hand. How deep are your bosses pockets (and how big/complex is the application.)&lt;BR /&gt;&lt;BR /&gt;q&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Sep 2005 18:09:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927345#M32820</guid>
      <dc:creator>Peter Quodling</dc:creator>
      <dc:date>2005-09-21T18:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927346#M32821</link>
      <description>Lawrence,&lt;BR /&gt;&lt;BR /&gt;  Yes, we're in "violent agreement" here. It would be fairly pointless to actually do it, but nevertheless, it is possible. A deterministic programm running on a Vonneumann type machine, expressed in any form of programming language can (in theory) be translated into any other programming language. &lt;BR /&gt;&lt;BR /&gt;  Whether the resulting program would be readable, efficient or at all useful is a different question.&lt;BR /&gt;&lt;BR /&gt;  Apart from the computer science theory, there is also the business case. Obviously it's not in HP's interests to create such a processor, if the objective is to move applications from HP hardware to Sun hardware. &lt;BR /&gt;&lt;BR /&gt;  Maybe Nicolas should be asking these questions in a Sun forum?</description>
      <pubDate>Wed, 21 Sep 2005 23:55:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927346#M32821</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-09-21T23:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927347#M32822</link>
      <description>Sector 7, &lt;A href="http://www.sector7.com" target="_blank"&gt;www.sector7.com&lt;/A&gt; do VMS to Solaris (et al) Migration services, however nothing on their web site indicates that they are capable of doing binary disassembling. &lt;BR /&gt;&lt;BR /&gt;Also, if one digs back through the Decus/Encommpass archives, for an app called dism32, as I recall, it was a VAX disassembler - one could learn from it (Although alphas are less amenable to reverse engineering code, due to the Optimization that exists within some of the Alpha compilers (definitely in things like Bliss, don't know about C)&lt;BR /&gt;&lt;BR /&gt;q&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Sep 2005 00:09:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927347#M32822</guid>
      <dc:creator>Peter Quodling</dc:creator>
      <dc:date>2005-09-22T00:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: VMS C decompiler</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927348#M32823</link>
      <description>Thanks every one for those valuable informations.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Nicolas</description>
      <pubDate>Fri, 23 Sep 2005 07:43:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-c-decompiler/m-p/4927348#M32823</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2005-09-23T07:43:43Z</dc:date>
    </item>
  </channel>
</rss>

