Reference Guide (ASP)


This document provides some more detailed information about the objects and links that are stored in the Analysis Service. Other technical information may also be available.

Object Types
Objects detected by the analyzer are summarized in the following table:
Analysis
Application
Collection
Collection Item, Instance, Property, Variable
Method, Sub
Object
Property
Com Objects Folder
Constant
Folder, URL Folder, URL Group Folder
External URL Application Folder
File
Class
Event
Function
Property Get, Property Let, Property Put, Property Set
Method Group, Other Group
Global Variables Folder
Object
Site
Virtual Directory

In addition, client side objects such as:

  • Image files (.gif, .jpg etc.)
  • ASP files (.asp, .asa etc.)
  • HTML files (.htm, .html, .htc etc.)
  • Script files (.js, .vbs etc.)

Will be displayed using the standard icon used in Windows.

Link Types

The following table describes references that are detected by the ASP Analyzer and the context in which corresponding links are traced and stored in the Analysis Service:

Link Type When is this type of link created?
USE TypLib <!--METADATA TYPE = "TypeLib" FILE = "TypLibFileName" -->
Applet <APPLET CODE = "AppletCode" CODEBASE = "AppletCodeBase" >
ActiveX through a variable x = new ActiveXObject("A.B")
function f()
{
   x.Method()

Use link between f and A.B
Dynamic data source <OBJECT id = id_obj classid = "clsid:Sample"></OBJECT>
<A DATASRC=#id_obj datafld = "url" id=id_a>

Use link between id_a and id_obj
Database object <SCRIPT>
   ExecuteSQL("select * from authors")
</SCRIPT>
MAP <img src="images/cover.jpg" border=0 usemap="#covermap" ismap id=id_img>
<map name="covermap">
<area shape=rect href="whatis.htm" coords="0,0,315,198">
<area shape=rect href="signup.asp" coords="0,198,230,296">
<area shape=rect href="holdings.asp" coords="229,195,449,296">
<area shape=rect href="question.htm" coords="314,0,449,196">
</map>
MENTION Indicates the area in which the ActiveX is mentioned function f()
{
   return CreateObject("A.B")
}

Mention link between f and A.B
Indicates the area in which the class name is mentioned function f()
{
   return new g()
}

Mention link between f and g
INCLUDE Indicates the inclusion of a file <SCRIPT LANGUAGE = "JavaScript" SRC = "inc.js">
</SCRIPT>
CALL Indicates a call to a file <A HREF = "called_file.htm" ></A>
<SCRIPT LANGUAGE = JavaScript>
   window.open("called_file.htm")
</SCRIPT>
Indicates a function call <SCRIPT>
function f()
{
   return 1;
}
function g()
{
   return f()
}
</SCRIPT>

Call link between g and f

ACCESS Indicates a access type link enters a property of an HTC component together with the associated PUT or GET function. <PUBLIC:PROPERTY NAME="xmlData"
ID="xmlDataID" GET="getxmlData" PUT="putxmlData"/>

ACCESS link betwee xmlData and the getxmlData and putxmlData functions.

ACCESS and READ Read only access to a file <!--#FLASTMODE FILE = "accessed_file.htm">
Read only access to a variable <SCRIPT>
function f()
{
   y=x }
</SCRIPT>

Read only access between f and x

ACCESS and WRITE Read and write access to a variable <SCRIPT>
function f()
{
   y=x }
</SCRIPT>

Read and write access between f and y

ACCESS and PAGE_FORWARD Indicates a redirection. Only available for analyzed IIS applications. -
REFER Indicates that a variable refers to another variable <SCRIPT>
   x = new ActiveXObject("A.B")
   Application("y")=x </SCRIPT>

Refer link between Application("y") and x

RELY ON and INSTANCE OF Indicates that a variable is an instance of a class <SCRIPT>
   x=new ActiveXObject("A.B")
</SCRIPT>

INSTANCE_OF link between x and A.B

GO THROUGH Indicates the error file(s) used. Only available for analyzed IIS applications. -

CAST Website