1#ifndef ROSE_BinaryAnalysis_CilStringFinder_H
2#define ROSE_BinaryAnalysis_CilStringFinder_H 1
4#include <featureTests.h>
6#ifdef ROSE_ENABLE_BINARY_ANALYSIS
16namespace BinaryAnalysis {
30 all = literals | metadata,
46 std::vector<std::string>
This class represents a source project, with a list of SgFile objects and global information about th...
A StringFinder class for CIL binaries.
std::vector< std::string > find(const SgProject &proj, CilStringKinds kinds=CilStringKinds::all) const
depending on the settings of kind finds strings in proj and calls collector for each one.
void collect(const SgProject &proj, StringCollectorFn collector, CilStringKinds kinds=CilStringKinds::all) const
depending on the settings of kind finds strings in proj and calls collector for each one.
std::function< void(std::string s)> StringCollectorFn
callback for storing strings
CilStringKinds
Settings for specifying which kind of CIL strings shall be found.