From: rfromm@barstow.CS.Berkeley.EDU (Richard Fromm)
Subject: question about ATOM, the alpha architecture analysis tool
Date: 1995/11/29 [thread overview]
Message-ID: <49igof$nct@agate.berkeley.edu> (raw)
i'm not sure whether or not this is the right newsgroup for this, but i couldn't
find anything else that i thought was more relevant. if there is, please let
me know.
i have a few questions about using ATOM, the alpha architecture analysis tool.
1) if i just want to look at the static instruction code, and not the
dynamic execution stream, do i have any other choices than getting the whole
object with GetFirstObj and then grabbing the instruction array with
GetObjInstArray? it seems like the approach of grabbing procedures, and then
blocks within procedures, and then instructions within blocks is great for getting
the dynamic flow, but i'm not sure how to go about using those functions if i
just want to look at the instructions in the order that they're stored.
2) the problem with the above approach (using GetObjInstArray) is that it returns
an array of that is of type (int *), while all of the routines that operate on
individual instructions are expecting type (Inst *). is there any way around
this? what really is within the type (Inst *)? (i tried going thru the header
file cmplrs/atom.inst.h but couldn't figure it out) is there any way to caste
the data i get from GetObjInstArray to be used by the instruction parsing
routines (like GetInstInfo) which are all expecting (Inst *)?
- rich fromm
rfromm@cs.berkeley.edu
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rich Fromm 510-595-1074 home
494 Soda Hall 510-643-6228 work
Computer Science Division/EECS Dept. rfromm@cs.berkeley.edu
next reply other threads:[~1995-11-29 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-29 5:00 Richard Fromm [this message]
1995-11-30 5:00 ` question about ATOM, the alpha architecture analysis tool John Henning
1995-12-02 5:00 ` Dirk Grunwald
1995-12-03 5:00 ` John Henning
1995-12-01 5:00 ` Greg Lueck Development Environment
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox