Class QueryExeCount
java.lang.Object
ghidra.features.bsim.query.protocol.BSimQuery<ResponseExe>
ghidra.features.bsim.query.protocol.QueryExeCount
Query for counting the number of executable records in the database.
This contains all the information required to get a list of all executables in the
BSim database that meet a set of filter criteria. The results are stored in the
exeresponse
object.
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
-
Constructor Summary
ConstructorsConstructorDescriptionQuery for count of all executables not including librariesQueryExeCount
(String filterMd5, String filterExeName, String filterArch, String filterCompilerName, boolean includeFakes) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
restoreXml
(XmlPullParser parser, LSHVectorFactory vectorFactory) void
Methods inherited from class ghidra.features.bsim.query.protocol.BSimQuery
clearResponse, execute, getDescriptionManager, getLocalStagingCopy, getName, getResponse, restoreQuery
-
Field Details
-
exeresponse
-
filterMd5
-
filterExeName
-
filterArch
-
filterCompilerName
-
includeFakes
public boolean includeFakes
-
-
Constructor Details
-
QueryExeCount
public QueryExeCount()Query for count of all executables not including libraries -
QueryExeCount
public QueryExeCount(String filterMd5, String filterExeName, String filterArch, String filterCompilerName, boolean includeFakes) Constructor- Parameters:
filterMd5
- md5 filterfilterExeName
- executable name filterfilterArch
- architecture filterfilterCompilerName
- compiler name filterincludeFakes
- if true, include MD5s that start withbbbbbbbbaaaaaaa
-
-
Method Details
-
buildResponseTemplate
public void buildResponseTemplate()- Overrides:
buildResponseTemplate
in classBSimQuery<ResponseExe>
-
saveXml
- Specified by:
saveXml
in classBSimQuery<ResponseExe>
- Throws:
IOException
-
restoreXml
- Specified by:
restoreXml
in classBSimQuery<ResponseExe>
- Throws:
LSHException
-