- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Wanted .DSF file format or .... may be disasse...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2014 04:22 AM
12-30-2014 04:22 AM
Wanted .DSF file format or .... may be disassembler for Alpha?
Hi All!
I have s some re-eng task with old prog w/o source ... So, is there a way to create .DSF to help execution tracing under the DEBUG ?
TIA.
- Tags:
- debug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2014 08:01 AM
12-30-2014 08:01 AM
Re: Wanted .DSF file format or .... may be disassembler for Alpha?
Hi Ruslan,
DBG> SET STEP/INSTRUCTION and step through the program with STEP (=KP0)
And you can also examine the instruction stream with DBG> EXA/INS from_address:to_address
Volker.
- Tags:
- debug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2014 08:51 AM
12-30-2014 08:51 AM
Re: Wanted .DSF file format or .... may be disassembler for Alpha?
On Alpha the .DSF is just a VMS specific file with debug information. To my knowledge the format was never published. And as far as I know, the known object/image tools can't format the debug records (neither in a .exe nor in a .dsf).
But there is a disassembler, which is known as SRM_CHECK: "$ srm_check -verbose -dump image.exe" should disassemble the code sections of the image. SRM_CHECK was/should be on the freeware CD.
- Tags:
- debug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2014 01:39 PM
12-30-2014 01:39 PM
Re: Wanted .DSF file format or .... may be disassembler for Alpha?
Hello!
Thanks Volker! :-)
Thanks Backer too, found the srm_check in the sys$system ...
I found some reference in the OpenVMS source listing under [...LINKER] but there is not DSF's record structure .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2014 02:38 PM
12-30-2014 02:38 PM
Re: Wanted .DSF file format or .... may be disassembler for Alpha?
Ruslan,
Think about what would be in a .DSF file ...
- The name (or DID and FID) of the executable image
- The references that identify each line of the code
- I'm guessing the offsets and names for each symbol and each function within the code
Now maybe you can create some DSF files from known source code and figure out the DSF format from these but creating an synthesised DSF file for your program is going to be very difficult (eg. code line numbers)
Stepping through the code, displaying each instruction and figuring out what they mean might be your only way to reverse engineer it. (I say "what they mean" because several instructions might be produced by a single line of source code.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2014 03:51 AM
12-31-2014 03:51 AM
Re: Wanted .DSF file format or .... may be disassembler for Alpha?
Realize too that on the Alpha, code for a single line can be just about anywhere due to instruction scheduling. If the image was compiled with optimization etc., the likelyhood of generating any meaningful higher level code is slim. Also, without /DEBUG, equating register usage to actual variables vs constants will be difficult too.
Perhaps a different approach would be possible. What exactly is the problem you are trying to resolve (other than recreating old code)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2014 04:30 AM
12-31-2014 04:30 AM
Re: Wanted .DSF file format or .... may be disassembler for Alpha?
I'm need to recreating an alhorytm oh some non-lenear transformation on C or MACRO ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2014 06:15 AM
12-31-2014 06:15 AM
Re: Wanted .DSF file format or .... may be disassembler for Alpha?
>>> I'm need to recreating an alhorytm oh some non-lenear transformation on C or MACRO ...
Which I interpret (yeah, that's the real fun here in this forum :-) as a need for an entry point of a function/procedure and for disassembling from that entry point up to the end of the function/procedure, i.e its last return.
At the moment I don't see how a .DSF will help you, other than having some intermediate debug environment available, which contains the labels, symbols you assigned to code section/data already disassembled and identified.
Do you know where the entry point is? Is the code in a shareable image? A shareable image could have some global symbols to start with.
As already mentioned by others, constructing either a MACRO or even a C source will be difficult, if the original source was compiled with optimization, something I would assume for such an algorithm. There is nothing in the image telling you how the sources were compiled. And even if you know that the source was compiled with /noopt, it is difficult to find out where in the code stream one high-level language line/statement starts or ends. To me it looks like, the best you can get is a Macro64 source. And if the function/procedure uses static data, you have to find that too.
PS: I don't know AEST good enough whether it can produce some information on what it found in an Alpha image, but looking at its documentation and what kind of information it can provide may be useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2015 11:54 AM
01-02-2015 11:54 AM
Re: Wanted .DSF file format or .... may be disassembler for Alpha?
Details such as the DSF data and the embedded string symbol data can provide good clues into the general organization and the purpose of specific routines within the code, when performing reverse-engineering.
There's no means to create a matching DSF file from an existing image. That's the whole point of the DSF file; it's somewhere for the LINKER to put this data, if it's not stored in the executable itself.
Start reversing the code, using a disassembler and "strings" and related tools. Or figure out from the API documentation or from the input and output or whatever this particular tool is doing, and re-implement the code.
If you don't have the source listings, then ring up HP. Ask for the DSF format. But expect you're going to be spending a whole lot of time on the reverse-engineering.
There are some pretty good disassemblers available for more common operating systems — tools such as Hex-Rays and IDA Pro — but AFAIK there are no similar tools for OpenVMS. SRM_CHECK and such is what's available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2015 12:42 PM
01-02-2015 12:42 PM
Re: Wanted .DSF file format or .... may be disassembler for Alpha?
Hoff, thanks for the answer.
Do you meant VMS-source listing ? I have V8.2 but did not found something about the .DSF file record structure/format.