<?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 Re: need to find the source files of a binary in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190745#M91320</link>
    <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;Thanks for the information. We have compiled &amp;amp; created the binary in HP-UX 11i version and using the same executable in HP-UX 11V2 version. The current operating system version is 11V2 only. Could you please let me know which command we can make use to see the source files used in a binary(11i executable) in a 11V2 server?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Sat, 03 May 2008 04:58:45 GMT</pubDate>
    <dc:creator>sathis kumar</dc:creator>
    <dc:date>2008-05-03T04:58:45Z</dc:date>
    <item>
      <title>need to find the source files of a binary</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190736#M91311</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I want to find the list of files/size in a binary file. &lt;BR /&gt;&lt;BR /&gt;Is there any command to find the list of files(with file size) used to create a particular binary file?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sathish</description>
      <pubDate>Fri, 02 May 2008 06:19:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190736#M91311</guid>
      <dc:creator>sathis kumar</dc:creator>
      <dc:date>2008-05-02T06:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: need to find the source files of a binary</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190737#M91312</link>
      <description>hi Sathish,&lt;BR /&gt;&lt;BR /&gt;Which binary file are you referring to?&lt;BR /&gt;&lt;BR /&gt;If it is an open source software, you find it by doing a google search otherwise it is practically impossible to find the source of a proprietary software.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;revert!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 02 May 2008 06:34:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190737#M91312</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-05-02T06:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: need to find the source files of a binary</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190738#M91313</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In UNIX, I have used source programs 1.c, 2.c and 3.c and created a binary file(sample) using those programs.&lt;BR /&gt;&lt;BR /&gt;With this binary file, if I want to know what all the source programs used to build this binary then what command can be used?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sathish</description>
      <pubDate>Fri, 02 May 2008 06:50:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190738#M91313</guid>
      <dc:creator>sathis kumar</dc:creator>
      <dc:date>2008-05-02T06:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: need to find the source files of a binary</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190739#M91314</link>
      <description>Unless you have compiled with -g or are on IPF,  this info isn't there.  And the filesize isn't kept in any case.&lt;BR /&gt;&lt;BR /&gt;If you were using clearcase and you were in the view, you could do "ct catcr".</description>
      <pubDate>Fri, 02 May 2008 07:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190739#M91314</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-02T07:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: need to find the source files of a binary</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190740#M91315</link>
      <description>unless you're using some kind of source code control system, you may not be able to.&lt;BR /&gt;&lt;BR /&gt;most such systems have the ability to embed the source file name and version number as comments in the code.  using those, you could get the file size of each given revision of the file.&lt;BR /&gt;&lt;BR /&gt;such source control systems vary in complexity, ease of use and features, and each seem to have their own very vocal supporters.&lt;BR /&gt;&lt;BR /&gt;rcs or sccs is usually available on most systems and should suffice for the stated need</description>
      <pubDate>Fri, 02 May 2008 12:58:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190740#M91315</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-05-02T12:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: need to find the source files of a binary</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190741#M91316</link>
      <description>There is nothing in the compiler that will put source code filenames into the executable. As mentioned before, there are a number of systems to track source code but there is nothing that will prevent someone from renaming the executable or the source code, or both. In your source code, you could provide some useful text in the what-string (source code name, revision, size, etc) but this all handwork prior to compiling the code.&lt;BR /&gt; &lt;BR /&gt;I'm not sure why the size of the source code has any meaning. The simplest program (such as the typical "Hello world" example) may be 4 lines long or 50 lines long full of comments.</description>
      <pubDate>Sat, 03 May 2008 02:36:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190741#M91316</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-05-03T02:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: need to find the source files of a binary</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190742#M91317</link>
      <description>&amp;gt;Bill: There is nothing in the compiler that will put source code filenames into the executable. &lt;BR /&gt;&lt;BR /&gt;Sure there is.  :-)&lt;BR /&gt;This is the default on IPF and for PA, you need -g.&lt;BR /&gt;Though the comp unit record on PA may also have it.</description>
      <pubDate>Sat, 03 May 2008 03:58:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190742#M91317</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-03T03:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: need to find the source files of a binary</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190743#M91318</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;Could you please let me know the command that needs to be used ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sathish</description>
      <pubDate>Sat, 03 May 2008 04:19:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190743#M91318</guid>
      <dc:creator>sathis kumar</dc:creator>
      <dc:date>2008-05-03T04:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: need to find the source files of a binary</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190744#M91319</link>
      <description>&amp;gt;Could you please let me know the command that needs to be used?&lt;BR /&gt;&lt;BR /&gt;For PA, you can use:&lt;BR /&gt;32: odump -comp binary&lt;BR /&gt;64: elfdump -dc binary&lt;BR /&gt;&lt;BR /&gt;You are going to have to parse the output and put the file path components together.</description>
      <pubDate>Sat, 03 May 2008 04:29:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190744#M91319</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-03T04:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: need to find the source files of a binary</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190745#M91320</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;Thanks for the information. We have compiled &amp;amp; created the binary in HP-UX 11i version and using the same executable in HP-UX 11V2 version. The current operating system version is 11V2 only. Could you please let me know which command we can make use to see the source files used in a binary(11i executable) in a 11V2 server?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Sat, 03 May 2008 04:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190745#M91320</guid>
      <dc:creator>sathis kumar</dc:creator>
      <dc:date>2008-05-03T04:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: need to find the source files of a binary</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190746#M91321</link>
      <description>&amp;gt;We have compiled &amp;amp; created the binary in HP-UX 11i version and using the same executable in HP-UX 11V2 version.  Could you please let me know which command ...&lt;BR /&gt;&lt;BR /&gt;I told you how to do it for a PA system.</description>
      <pubDate>Sat, 03 May 2008 05:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-to-find-the-source-files-of-a-binary/m-p/4190746#M91321</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-03T05:01:39Z</dc:date>
    </item>
  </channel>
</rss>

