Package it.unive.lisa.program
Class Application
- java.lang.Object
-
- it.unive.lisa.program.Application
-
public class Application extends java.lang.ObjectAn complete application, collecting severalPrograms that need to be analyzed together. While each program is built through a single programming language, an application is a complete and possibly multilanguage system.
-
-
Constructor Summary
Constructors Constructor Description Application(Program... programs)Builds the application.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<CFG>getAllCFGs()java.util.Collection<CodeMember>getAllCodeCodeMembers()Yields the lazily computed collection of allCodeMembers defined in allPrograms of this application.java.util.Collection<CFG>getEntryPoints()Program[]getPrograms()Yields the program that build this application.
-
-
-
Constructor Detail
-
Application
public Application(Program... programs)
Builds the application.- Parameters:
programs- the programs composing the application
-
-
Method Detail
-
getPrograms
public Program[] getPrograms()
Yields the program that build this application.- Returns:
- the programs
-
getAllCFGs
public java.util.Collection<CFG> getAllCFGs()
- Returns:
- the cfgs
-
getEntryPoints
public java.util.Collection<CFG> getEntryPoints()
Yields the lazily computed collection of allCFGs that are entrypoints of one of thePrograms of this application.- Returns:
- the entrypoints
-
getAllCodeCodeMembers
public java.util.Collection<CodeMember> getAllCodeCodeMembers()
Yields the lazily computed collection of allCodeMembers defined in allPrograms of this application.- Returns:
- the code members
-
-