Ciao,
compared to other system where the program file is a "opaque blob" that you can feed into a calculation using the stream abstraction, *PGM is a more articulate thing in the i operating system, even for security and robustness reasons.
For example, usage information, save information etc. will change on a day by day basis.
It depends on you want to achieve. Maybe hash a subset of attributes?
If it is for security or audit purposes or alterations, maybe it is better to use auditing to have a track or security to prevent alterations.
You can hash a SAVF pretty easily in the system via PASE sha256sum, if the task is binary distribution etc.
------------------------------
--ft
------------------------------
Original Message:
Sent: Tue July 09, 2024 09:14 AM
From: Paolo Salvatore
Subject: Calculate sha256sum of a program object
Hi,
I'll try to explain my need.
When I made a compilation I want to calculate the sha256sum of the source and the object generated by that source.
For the source is not a problem, but for the program object I can't.
Do you know some api who made the same thing as dmpobj?
So I can take the output of the dump and pass it to the sha256sum.
Thank you
------------------------------
Paolo Salvatore
------------------------------