* What is the tool called 'atom' for?
@ 1998-04-27 4:00 P.M.Wong
1998-04-27 4:00 ` Dirk Grunwald
1998-04-28 4:00 ` John P Williams
0 siblings, 2 replies; 4+ messages in thread
From: P.M.Wong @ 1998-04-27 4:00 UTC (permalink / raw)
Could someone describe the "atom" analysis tool, e.g. what's it
for , when should it be used ?
--
__
/ \_/ ) __ Pui Ming WONG (E-mail: pm@hkbu.edu.hk)
/ ( ------------- } System Support Programmer,
( =l=ll===============__} Computing & Telecomm. Services Centre
\ _ ( Hong Kong Baptist University
\_/ \__) 224 Waterloo Road, Hong Kong
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: What is the tool called 'atom' for? 1998-04-27 4:00 What is the tool called 'atom' for? P.M.Wong @ 1998-04-27 4:00 ` Dirk Grunwald 1998-04-28 4:00 ` John P Williams 1 sibling, 0 replies; 4+ messages in thread From: Dirk Grunwald @ 1998-04-27 4:00 UTC (permalink / raw) s11976@net1.hkbu.edu.hk (P.M.Wong ) writes: > > Could someone describe the "atom" analysis tool, e.g. what's it > for , when should it be used ? -- ATOM "decompiles" a binary, and allows you to insert "probes" or instrumentation at different parts. You get to specify where the instrumentation goes and what it does. For example, you could bulid a simple branch coverage analysis package by: + counting all the conditional branches in the program + inserting a 'probe' at each conditional branch that records the frequency of taken/not-taken branches + recording information about the file/line-number of those different branches. Then, you could 'instrument' any executable, run it as you normally would, and get your branch coverage information when it's done. Using this same infrastructure, you can build tools like Purify (in fact, ATOM comes with such a tool, called 'third degree'). Here's an example of the "instrumentation" code that walks over all procedures in a program and all basic blocks in the procedure to locate conditional branches. Instrument(int argc, char **argv, Obj *obj) { Proc *p; Block *b; Inst *i; for (p = GetFirstObjProc(obj); p != NULL; p = GetNextProc(p)) { for (b = GetFirstBlock(p); b != NULL; b = GetNextBlock(b)) { i = GetLastInst(b); if (IsInstType(i,InstTypeCondBr)) { AddCallInst(i,InstBefore,"CondBranch",branch++, REG_PC,BrCondValue); } } } } -- Dirk Grunwald Assoc. Prof, Univ. of Colorado at Boulder ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What is the tool called 'atom' for? 1998-04-27 4:00 What is the tool called 'atom' for? P.M.Wong 1998-04-27 4:00 ` Dirk Grunwald @ 1998-04-28 4:00 ` John P Williams 1998-05-05 4:00 ` Question about printers Antony Si Tou 1 sibling, 1 reply; 4+ messages in thread From: John P Williams @ 1998-04-28 4:00 UTC (permalink / raw) To: P.M.Wong The acronym ATOM stands for Analysis Tools using Object Modification. That is, ATOM is a programmable instrumentation toolset that works by modifying executables and shared libraries to call a tool's routines that analyze the application's run-time behavior (eg. profiling it). ATOM is a system for building customized analysis tools. Software developers can use this system to create their own program analysis tools. The ATOM system includes all of the runtime libraries necessary for executing ATOM based analysis utilities and tools. The ATOM system for building cus- tomized analysis tools is licensed with Digital UNIX. DIGITAL has created several analysis tools that are built using the ATOM system. These tools are: Third Degree, Pixie, and Hiprof. All tools support shared libraries and threaded programs, and they are licensed with the Developers' Toolkit. The Third Degree tool checks for memory access errors and memory leaks. Pixie is a basic block profiler which supports profile-directed optimization and allows instruction-level execution counts to be obtained. Hiprof provides procedure call profiles of a program, similar to but more powerful than gprof's sampled profiling information. ATOM and the above analysis tools are available with Digital UNIX V4.0 and later versions. Please send me email if you would like further information on these tools. John P Williams, Digital UNIX Development Environment Engineering. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Question about printers ... 1998-04-28 4:00 ` John P Williams @ 1998-05-05 4:00 ` Antony Si Tou 0 siblings, 0 replies; 4+ messages in thread From: Antony Si Tou @ 1998-05-05 4:00 UTC (permalink / raw) Hi all, In digital unix, is there any ways to allow which users can use which printer ? I know in UNIX we can make a file "users.allow" to allow users to use..... Thanks Antony E-mail : bast@wkg1.umac.mo ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-05-05 4:00 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1998-04-27 4:00 What is the tool called 'atom' for? P.M.Wong 1998-04-27 4:00 ` Dirk Grunwald 1998-04-28 4:00 ` John P Williams 1998-05-05 4:00 ` Question about printers Antony Si Tou
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox