develooper Front page | perl.perl6.internals | Postings from October 2002

[perl #18131] [PATCH] make disassemble.pl print header information

Thread Next
From:
Matthew Zimmerman
Date:
October 28, 2002 12:45
Subject:
[perl #18131] [PATCH] make disassemble.pl print header information
Message ID:
rt-18131-40661.14.7633413502895@bugs6.perl.org
# New Ticket Created by  Matthew Zimmerman 
# Please include the string:  [perl #18131]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18131 >


..../disassemble.pl prints out information about the *size* of
each piece of header information in a bytecode file, but
doesn't actually print out the *values* of each parameter.
This patch corrects that.

Also: are the sizes of the initial header fields (wordsize,
byteorder, major, minor, etc...) always going to be 8-bit
bytes, or is that system-dependent? In other words, can I
get the wordsize for a PBC file on all platforms by reading
the first 8 bits or do I have to do something more complicated?
(./pdd/parrotbyte.pod doesn't make it clear to me.)

Thanks!

-- 
      Matt

      Matthew Zimmerman
      Interdisciplinary Biophysics, University of Virginia
      http://www.people.virginia.edu/~mdz4c/


-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/40661/32784/f00634/disassemble_pl.patch


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About