Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.os.vms    |    DEC's VAX* line of computers & VMS.    |    264,096 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 263,166 of 264,096    |
|    hb0815 to All    |
|    Re: cc/lis/machine on OpenVMS x86_64 Ope    |
|    02 Sep 25 12:07:36    |
      From: mw40171@mucweb.de              On 9/2/25 00:52, Arne Vajhøj wrote:       > On 9/1/2025 3:59 PM, Waldek Hebisch wrote:       >> On Alpha:       >>       >> ANALYZ A01-07       >>       >> *** This file is not an ELF object file       >>       >> I guess that by VSI policy Alpha is not recent enough. OTOH       >> cc/list/machine_code works on Alpha...       >       > Itanium and x86-64 use ELF format.       >       > VAX and Alpha use the VMS custom "double var" format. But       > slightly different some definitions are xxx$ on VAX and       > Exxx$ on Alpha.              This indicates, that for (VAX and) Alpha nobody saw the need for a       disassembler (integrated into ANALYZE).              I don't know if there are (freeware) tools that can disassemble such       object files. (A quick search didn't find any. I'm sure ChatGPT can       write one if you ask it!) It shouldn't be so hard (for VSI) to write       such a tool. The debugger and SDA can disassemble: it's just a matter of       knowing the API and calling the corresponding code (which as far as I       can see is not exposed in a shareable image). But I doubt that anyone at       VSI wants to spend the time to create such a tool for Alpha.              If you really need to see the machine code that is in an object file,       for which you don't have the source code ...              In an own program, you can read the code psect(s) of the object       module(s) into memory and start the debugger (remember the ZAP tool?) to       disassemble it              There is also SRM_CHECK. It can disassemble code sections in Alpha       images. But that was not the main purpose of this tool. So I don't know       how good the disassembly output really is. However it's available as       freeware and the ZIP archive contains the source code.              And yes, ANALYZE/DISASSEMBLE (/OBJECT is default) is only for ELF       (Executable and Linkable Format) objects. There was obviously a need for       this and adding a disassembler to a tool that already knew the format of       the object module was the preferred solution.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca