retdec
|
#include <file_information.h>
Public Member Functions | |
Getters of own members | |
retdec::cpdetect::ReturnCode | getStatus () const |
std::string | getPathToFile () const |
std::string | getCrc32 () const |
std::string | getMd5 () const |
std::string | getSha256 () const |
std::string | getSectionTableCrc32 () const |
std::string | getSectionTableMd5 () const |
std::string | getSectionTableSha256 () const |
retdec::fileformat::Format | getFileFormatEnum () const |
std::string | getFileFormat () const |
std::string | getFileClass () const |
std::string | getFileType () const |
std::string | getTargetArchitecture () const |
std::string | getEndianness () const |
std::string | getManifest () const |
std::string | getCompactManifest () const |
std::size_t | getNumberOfStoredDataDirectories () const |
std::size_t | getNumberOfStoredSegments () const |
std::size_t | getNumberOfStoredSections () const |
std::size_t | getNumberOfStoredSymbolTables () const |
std::size_t | getNumberOfStoredRelocationTables () const |
std::size_t | getNumberOfStoredDynamicSections () const |
std::size_t | getNumberOfLoadedSegments () const |
std::size_t | getNumberOfCryptoPatterns () const |
std::size_t | getNumberOfMalwarePatterns () const |
std::size_t | getNumberOfOtherPatterns () const |
Getters of @a header | |
std::string | getTimeStamp () const |
std::string | getFileStatus () const |
std::string | getFileVersion () const |
std::string | getFileHeaderVersion () const |
std::string | getOsAbi () const |
std::string | getOsAbiVersion () const |
unsigned long long | getFileFlagsSize () const |
unsigned long long | getFileFlags () const |
std::string | getFileFlagsStr () const |
std::size_t | getNumberOfFileFlagsDescriptors () const |
void | getFileFlagsDescriptors (std::vector< std::string > &desc, std::vector< std::string > &abb) const |
unsigned long long | getDllFlagsSize () const |
unsigned long long | getDllFlags () const |
std::string | getDllFlagsStr () const |
std::size_t | getNumberOfDllFlagsDescriptors () const |
void | getDllFlagsDescriptors (std::vector< std::string > &desc, std::vector< std::string > &abb) const |
std::string | getNumberOfBitsInByteStr () const |
std::string | getNumberOfBitsInWordStr () const |
std::string | getFileHeaderSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSegmentTableOffsetStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSegmentTableEntrySizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSegmentTableSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getNumberOfDeclaredSegmentsStr () const |
std::string | getSectionTableOffsetStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionTableEntrySizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionTableSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getNumberOfDeclaredSectionsStr () const |
std::string | getCoffFileHeaderSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getOptionalHeaderSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getChecksumStr () const |
std::string | getStackReserveSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getStackCommitSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getHeapReserveSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getHeapCommitSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getNumberOfDeclaredDataDirectoriesStr () const |
std::string | getNumberOfDeclaredSymbolTablesStr () const |
std::string | getOverlayOffsetStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getOverlaySizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getOverlayEntropyStr (std::ios_base &(*format)(std::ios_base &)) const |
Getters of @a richHeader | |
std::size_t | getNumberOfStoredRecordsInRichHeader () const |
std::string | getRichHeaderSignature () const |
std::string | getRichHeaderOffsetStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getRichHeaderKeyStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getRichHeaderRecordProductIdStr (std::size_t position) const |
std::string | getRichHeaderRecordProductBuildStr (std::size_t position) const |
std::string | getRichHeaderRecordNumberOfUsesStr (std::size_t position) const |
std::string | getRichHeaderRecordProductNameStr (std::size_t position) const |
std::string | getRichHeaderRecordVisualStudioNameStr (std::size_t position) const |
std::string | getRichHeaderRawBytesStr () const |
bool | hasRichHeaderRecords () const |
Getters of @a visualBasicInfo | |
bool | isVisualBasicUsed () const |
bool | getVisualBasicIsPcode () const |
std::string | getVisualBasicLanguageDLL () const |
std::string | getVisualBasicBackupLanguageDLL () const |
std::string | getVisualBasicProjectExeName () const |
std::string | getVisualBasicProjectDescription () const |
std::string | getVisualBasicProjectHelpFile () const |
std::string | getVisualBasicProjectName () const |
std::string | getVisualBasicLanguageDLLPrimaryLCIDStr () const |
std::string | getVisualBasicLanguageDLLSecondaryLCIDStr () const |
std::string | getVisualBasicProjectPath () const |
std::string | getVisualBasicProjectPrimaryLCIDStr () const |
std::string | getVisualBasicProjectSecondaryLCIDStr () const |
const retdec::fileformat::VisualBasicObject * | getVisualBasicObject (std::size_t position) const |
const retdec::fileformat::VisualBasicExtern * | getVisualBasicExtern (std::size_t position) const |
std::size_t | getVisualBasicNumberOfObjects () const |
std::size_t | getVisualBasicNumberOfExterns () const |
std::string | getVisualBasicExternModuleName (std::size_t position) const |
std::string | getVisualBasicExternApiName (std::size_t position) const |
std::string | getVisualBasicObjectTableGUID () const |
std::string | getVisualBasicTypeLibCLSID () const |
std::string | getVisualBasicTypeLibMajorVersionStr () const |
std::string | getVisualBasicTypeLibMinorVersionStr () const |
std::string | getVisualBasicTypeLibLCIDStr () const |
std::string | getVisualBasicCOMObjectName () const |
std::string | getVisualBasicCOMObjectDescription () const |
std::string | getVisualBasicCOMObjectCLSID () const |
std::string | getVisualBasicCOMObjectInterfaceCLSID () const |
std::string | getVisualBasicCOMObjectEventsCLSID () const |
std::string | getVisualBasicCOMObjectType () const |
std::string | getVisualBasicExternTableHashCrc32 () const |
std::string | getVisualBasicExternTableHashMd5 () const |
std::string | getVisualBasicExternTableHashSha256 () const |
std::string | getVisualBasicObjectTableHashCrc32 () const |
std::string | getVisualBasicObjectTableHashMd5 () const |
std::string | getVisualBasicObjectTableHashSha256 () const |
Getters of @a pdbInfo | |
std::string | getPdbType () const |
std::string | getPdbPath () const |
std::string | getPdbGuid () const |
std::string | getPdbAgeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getPdbTimeStampStr (std::ios_base &(*format)(std::ios_base &)) const |
Getters of @a importTable | |
std::size_t | getNumberOfStoredImportLibraries () const |
std::size_t | getNumberOfStoredImports () const |
std::string | getImphashCrc32 () const |
std::string | getImphashMd5 () const |
std::string | getImphashSha256 () const |
const retdec::fileformat::Import * | getImport (std::size_t position) const |
std::string | getImportName (std::size_t position) const |
std::string | getImportLibraryName (std::size_t position) const |
std::string | getImportUsageType (std::size_t position) const |
std::string | getImportAddressStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getImportOrdinalNumberStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
bool | hasImportTableRecords () const |
Getters of the missing dependency info | |
std::size_t | getNumberOfMissingDeps () const |
std::string | getMissingDepName (std::size_t position) const |
std::string | getDepsListFailedToLoad () const |
void | setDepsListFailedToLoad (const std::string &) |
Getters of @a exportTable | |
std::size_t | getNumberOfStoredExports () const |
std::string | getExphashCrc32 () const |
std::string | getExphashMd5 () const |
std::string | getExphashSha256 () const |
std::string | getExportName (std::size_t position) const |
std::string | getExportAddressStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getExportOrdinalNumberStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
bool | hasExportTableRecords () const |
Getters of @a resourceTable | |
std::size_t | getNumberOfStoredResources () const |
std::size_t | getNumberOfVersionInfoLanguages () const |
std::size_t | getNumberOfVersionInfoStrings () const |
std::string | getResourceCrc32 (std::size_t index) const |
std::string | getResourceMd5 (std::size_t index) const |
std::string | getResourceSha256 (std::size_t index) const |
std::string | getResourceIconhashCrc32 () const |
std::string | getResourceIconhashMd5 () const |
std::string | getResourceIconhashSha256 () const |
std::string | getResourceIconPerceptualAvgHash () const |
std::string | getResourceName (std::size_t index) const |
std::string | getResourceType (std::size_t index) const |
std::string | getResourceLanguage (std::size_t index) const |
std::string | getVersionInfoLanguageLcid (std::size_t index) const |
std::string | getVersionInfoLanguageCodePage (std::size_t index) const |
std::string | getVersionInfoStringName (std::size_t index) const |
std::string | getVersionInfoStringValue (std::size_t index) const |
std::string | getResourceNameIdStr (std::size_t index, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getResourceTypeIdStr (std::size_t index, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getResourceLanguageIdStr (std::size_t index, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getResourceSublanguageIdStr (std::size_t index, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getResourceOffsetStr (std::size_t index, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getResourceSizeStr (std::size_t index, std::ios_base &(*format)(std::ios_base &)) const |
bool | hasResourceTableRecords () const |
Getters of @a certificateTable | |
std::size_t | getNumberOfStoredCertificates () const |
std::size_t | getCertificateTableSignerCertificateIndex () const |
std::size_t | getCertificateTableCounterSignerCertificateIndex () const |
std::string | getCertificateValidSince (std::size_t index) const |
std::string | getCertificateValidUntil (std::size_t index) const |
std::string | getCertificatePublicKey (std::size_t index) const |
std::string | getCertificatePublicKeyAlgorithm (std::size_t index) const |
std::string | getCertificateSignatureAlgorithm (std::size_t index) const |
std::string | getCertificateSerialNumber (std::size_t index) const |
std::string | getCertificateSha1Digest (std::size_t index) const |
std::string | getCertificateSha256Digest (std::size_t index) const |
std::string | getCertificateIssuerRawStr (std::size_t index) const |
std::string | getCertificateSubjectRawStr (std::size_t index) const |
std::string | getCertificateIssuerCountry (std::size_t index) const |
std::string | getCertificateIssuerOrganization (std::size_t index) const |
std::string | getCertificateIssuerOrganizationalUnit (std::size_t index) const |
std::string | getCertificateIssuerNameQualifier (std::size_t index) const |
std::string | getCertificateIssuerState (std::size_t index) const |
std::string | getCertificateIssuerCommonName (std::size_t index) const |
std::string | getCertificateIssuerSerialNumber (std::size_t index) const |
std::string | getCertificateIssuerLocality (std::size_t index) const |
std::string | getCertificateIssuerTitle (std::size_t index) const |
std::string | getCertificateIssuerSurname (std::size_t index) const |
std::string | getCertificateIssuerGivenName (std::size_t index) const |
std::string | getCertificateIssuerInitials (std::size_t index) const |
std::string | getCertificateIssuerPseudonym (std::size_t index) const |
std::string | getCertificateIssuerGenerationQualifier (std::size_t index) const |
std::string | getCertificateIssuerEmailAddress (std::size_t index) const |
std::string | getCertificateSubjectCountry (std::size_t index) const |
std::string | getCertificateSubjectOrganization (std::size_t index) const |
std::string | getCertificateSubjectOrganizationalUnit (std::size_t index) const |
std::string | getCertificateSubjectNameQualifier (std::size_t index) const |
std::string | getCertificateSubjectState (std::size_t index) const |
std::string | getCertificateSubjectCommonName (std::size_t index) const |
std::string | getCertificateSubjectSerialNumber (std::size_t index) const |
std::string | getCertificateSubjectLocality (std::size_t index) const |
std::string | getCertificateSubjectTitle (std::size_t index) const |
std::string | getCertificateSubjectSurname (std::size_t index) const |
std::string | getCertificateSubjectGivenName (std::size_t index) const |
std::string | getCertificateSubjectInitials (std::size_t index) const |
std::string | getCertificateSubjectPseudonym (std::size_t index) const |
std::string | getCertificateSubjectGenerationQualifier (std::size_t index) const |
std::string | getCertificateSubjectEmailAddress (std::size_t index) const |
bool | hasCertificateTableRecords () const |
bool | hasCertificateTableSignerCertificate () const |
bool | hasCertificateTableCounterSignerCertificate () const |
Getters of @a TLS information | |
std::string | getTlsRawDataStartAddrStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getTlsRawDataEndAddrStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getTlsIndexAddrStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getTlsCallBacksAddrStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getTlsZeroFillSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getTlsCharacteristicsStr () const |
std::size_t | getTlsNumberOfCallBacks () const |
std::string | getTlsCallBackAddrStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
bool | isTlsUsed () const |
Getters of @a directories | |
std::string | getDataDirectoryType (std::size_t position) const |
std::string | getDataDirectoryAddressStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getDataDirectorySizeStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
Getters of @a segments | |
std::string | getSegmentType (std::size_t position) const |
std::string | getSegmentCrc32 (std::size_t index) const |
std::string | getSegmentMd5 (std::size_t index) const |
std::string | getSegmentSha256 (std::size_t index) const |
std::string | getSegmentIndexStr (std::size_t position) const |
std::string | getSegmentOffsetStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSegmentVirtualAddressStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSegmentPhysicalAddressStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSegmentSizeInFileStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSegmentSizeInMemoryStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSegmentAlignmentStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
unsigned long long | getSegmentFlagsSize (std::size_t position) const |
unsigned long long | getSegmentFlags (std::size_t position) const |
std::string | getSegmentFlagsStr (std::size_t position) const |
std::size_t | getNumberOfSegmentFlagsDescriptors (std::size_t position) const |
void | getSegmentFlagsDescriptors (std::size_t position, std::vector< std::string > &desc, std::vector< std::string > &abb) const |
Getters of @a sections | |
std::string | getSectionName (std::size_t position) const |
std::string | getSectionType (std::size_t position) const |
std::string | getSectionCrc32 (std::size_t index) const |
std::string | getSectionMd5 (std::size_t index) const |
std::string | getSectionSha256 (std::size_t index) const |
std::string | getSectionIndexStr (std::size_t position) const |
std::string | getSectionOffsetStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionSizeInFileStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionEntrySizeStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionAddressStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionSizeInMemoryStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionRelocationsOffsetStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionNumberOfRelocationsStr (std::size_t position) const |
std::string | getSectionLineNumbersOffsetStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionNumberOfLineNumbersStr (std::size_t position) const |
std::string | getSectionMemoryAlignmentStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionLinkToOtherSectionStr (std::size_t position) const |
std::string | getSectionExtraInfoStr (std::size_t position) const |
std::string | getSectionLineOffsetStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionRelocationsLineOffsetStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSectionEntropy (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
unsigned long long | getSectionFlagsSize (std::size_t position) const |
unsigned long long | getSectionFlags (std::size_t position) const |
std::string | getSectionFlagsStr (std::size_t position) const |
std::size_t | getNumberOfSectionFlagsDescriptors (std::size_t position) const |
void | getSectionFlagsDescriptors (std::size_t position, std::vector< std::string > &desc, std::vector< std::string > &abb) const |
Getters of @a symbolTables | |
std::size_t | getNumberOfStoredSymbolsInTable (std::size_t position) const |
std::string | getNumberOfDeclaredSymbolsInTableStr (std::size_t position) const |
std::string | getSymbolTableName (std::size_t position) const |
std::string | getSymbolTableOffsetStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSymbolName (std::size_t tableIndex, std::size_t symbolIndex) const |
std::string | getSymbolType (std::size_t tableIndex, std::size_t symbolIndex) const |
std::string | getSymbolBind (std::size_t tableIndex, std::size_t symbolIndex) const |
std::string | getSymbolOther (std::size_t tableIndex, std::size_t symbolIndex) const |
std::string | getSymbolLinkToSection (std::size_t tableIndex, std::size_t symbolIndex) const |
std::string | getSymbolIndexStr (std::size_t tableIndex, std::size_t symbolIndex) const |
std::string | getSymbolAddressStr (std::size_t tableIndex, std::size_t symbolIndex, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getSymbolValueStr (std::size_t tableIndex, std::size_t symbolIndex) const |
std::string | getSymbolSizeStr (std::size_t tableIndex, std::size_t symbolIndex) const |
std::size_t | getSymbolTableNumberOfStoredSpecialInformation (std::size_t position) const |
std::size_t | getSymbolTableNumberOfSpecialInformationValues (std::size_t tableIndex, std::size_t specInfoIndex) const |
std::string | getSymbolTableSpecialInformationDescription (std::size_t tableIndex, std::size_t specInfoIndex) const |
std::string | getSymbolTableSpecialInformationAbbreviation (std::size_t tableIndex, std::size_t specInfoIndex) const |
std::string | getSymbolTableSpecialInformationValue (std::size_t tableIndex, std::size_t specInfoIndex, std::size_t recordIndex) const |
Getters of @a relocationTables | |
std::size_t | getNumberOfStoredRelocationsInTable (std::size_t position) const |
std::string | getNumberOfStoredRelocationsInTableStr (std::size_t position) const |
std::string | getNumberOfDeclaredRelocationsInTableStr (std::size_t position) const |
std::string | getRelocationTableName (std::size_t position) const |
std::string | getRelocationTableAssociatedSymbolTableName (std::size_t position) const |
std::string | getRelocationTableAppliesSectionName (std::size_t position) const |
std::string | getRelocationTableAssociatedSymbolTableIndex (std::size_t position) const |
std::string | getRelocationTableAppliesSectionIndex (std::size_t position) const |
std::string | getRelocationSymbolName (std::size_t tableIndex, std::size_t relocationIndex) const |
std::string | getRelocationOffsetStr (std::size_t tableIndex, std::size_t relocationIndex, std::ios_base &(*format)(std::ios_base &)) const |
std::string | getRelocationSymbolValueStr (std::size_t tableIndex, std::size_t relocationIndex) const |
std::string | getRelocationTypeStr (std::size_t tableIndex, std::size_t relocationIndex) const |
std::string | getRelocationAddendStr (std::size_t tableIndex, std::size_t relocationIndex) const |
std::string | getRelocationCalculatedValueStr (std::size_t tableIndex, std::size_t relocationIndex) const |
Getters of @a dynamicSections | |
std::size_t | getNumberOfStoredDynamicEntriesInSection (std::size_t position) const |
std::string | getNumberOfDeclaredDynamicEntriesInSectionStr (std::size_t position) const |
std::string | getDynamicSectionName (std::size_t position) const |
std::string | getDynamicEntryType (std::size_t sectionIndex, std::size_t entryIndex) const |
std::string | getDynamicEntryDescription (std::size_t sectionIndex, std::size_t entryIndex) const |
std::string | getDynamicEntryValueStr (std::size_t sectionIndex, std::size_t entryIndex, std::ios_base &(*format)(std::ios_base &)) const |
unsigned long long | getDynamicEntryFlagsSize (std::size_t sectionIndex, std::size_t entryIndex) const |
unsigned long long | getDynamicEntryFlags (std::size_t sectionIndex, std::size_t entryIndex) const |
std::string | getDynamicEntryFlagsStr (std::size_t sectionIndex, std::size_t entryIndex) const |
std::size_t | getNumberOfDynamicEntryFlagsDescriptors (std::size_t sectionIndex, std::size_t entryIndex) const |
void | getDynamicEntryFlagsDescriptors (std::size_t sectionIndex, std::size_t entryIndex, std::vector< std::string > &desc, std::vector< std::string > &abb) const |
Pattern getters | |
const Pattern * | getCryptoPattern (std::size_t position) const |
const Pattern * | getMalwarePattern (std::size_t position) const |
const Pattern * | getOtherPattern (std::size_t position) const |
const std::vector< Pattern > & | getCryptoPatterns () const |
const std::vector< Pattern > & | getMalwarePatterns () const |
const std::vector< Pattern > & | getOtherPatterns () const |
Getters of @a strings | |
std::size_t | getNumberOfDetectedStrings () const |
const Strings & | getStrings () const |
bool | hasStrings () const |
Getter of @a signatureVerified | |
bool | isSignaturePresent () const |
bool | isSignatureVerified () const |
std::string | isSignatureVerifiedStr (const std::string &t="true", const std::string &f="false") const |
Getter of @a elfNotes and associtated structures | |
const std::vector< ElfNotes > & | getElfNotes () const |
const ElfCore & | getElfCoreInfo () const |
Getters of @a compilerOrPackerInfo | |
std::size_t | getNumberOfDetectedCompilers () const |
std::string | getImageBaseStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getEpAddressStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getEpOffsetStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getEpBytes () const |
std::string | getEpSectionIndex () const |
std::string | getEpSectionName () const |
Getters of @a loaderInfo | |
std::string | getLoadedBaseAddressStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getNumberOfLoadedSegmentsStr (std::ios_base &(*format)(std::ios_base &)) const |
const LoadedSegment & | getLoadedSegment (std::size_t index) const |
const std::string & | getLoaderStatusMessage () const |
const retdec::fileformat::LoaderErrorInfo & | getLoaderErrorInfo () const |
Getters of @a dotnetInfo | |
bool | isDotnetUsed () const |
const std::string & | getDotnetRuntimeVersion () const |
std::string | getDotnetImportedClassName (std::size_t position) const |
std::string | getDotnetImportedClassNestedName (std::size_t position) const |
std::string | getDotnetImportedClassNameWithParentClassIndex (std::size_t position) const |
std::string | getDotnetImportedClassLibName (std::size_t position) const |
std::string | getDotnetImportedClassNameSpace (std::size_t position) const |
std::string | getDotnetTypeRefhashCrc32 () const |
std::string | getDotnetTypeRefhashMd5 () const |
std::string | getDotnetTypeRefhashSha256 () const |
std::size_t | getNumberOfStoredDotnetImportedClasses () const |
std::string | getDotnetMetadataHeaderAddressStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getDotnetMetadataStreamOffsetStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getDotnetMetadataStreamSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getDotnetStringStreamOffsetStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getDotnetStringStreamSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getDotnetBlobStreamOffsetStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getDotnetBlobStreamSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getDotnetGuidStreamOffsetStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getDotnetGuidStreamSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getDotnetUserStringStreamOffsetStr (std::ios_base &(*format)(std::ios_base &)) const |
std::string | getDotnetUserStringStreamSizeStr (std::ios_base &(*format)(std::ios_base &)) const |
const std::string & | getDotnetModuleVersionId () const |
const std::string & | getDotnetTypeLibId () const |
const std::vector< std::shared_ptr< retdec::fileformat::DotnetClass > > & | getDotnetDefinedClassList () const |
const std::vector< std::shared_ptr< retdec::fileformat::DotnetClass > > & | getDotnetImportedClassList () const |
bool | hasDotnetMetadataStream () const |
bool | hasDotnetStringStream () const |
bool | hasDotnetBlobStream () const |
bool | hasDotnetGuidStream () const |
bool | hasDotnetUserStringStream () const |
bool | hasDotnetTypeLibId () const |
bool | hasDotnetTypeRefTableRecords () const |
Getters of @a anomalies | |
std::size_t | getNumberOfAnomalies () const |
std::string | getAnomalyIdentifier (std::size_t position) const |
std::string | getAnomalyDescription (std::size_t position) const |
Setters | |
void | setStatus (retdec::cpdetect::ReturnCode state) |
void | setPathToFile (const std::string &filepath) |
void | setCrc32 (const std::string &fileCrc32) |
void | setMd5 (const std::string &fileMd5) |
void | setSha256 (const std::string &fileSha256) |
void | setSectionTableCrc32 (const std::string &sCrc32) |
void | setSectionTableMd5 (const std::string &sMd5) |
void | setSectionTableSha256 (const std::string &sSha256) |
void | setFileFormatEnum (retdec::fileformat::Format format) |
void | setFileFormat (const std::string &fileformat) |
void | setFileClass (const std::string &fileclass) |
void | setFileType (const std::string &filetype) |
void | setTargetArchitecture (const std::string &architecture) |
void | setEndianness (const std::string &fileEndianness) |
void | setManifest (const std::string &fileManifest) |
void | setCompactManifest (const std::string &fileCompactManifest) |
void | setTimeStamp (const std::string ×tamp) |
void | setFileStatus (const std::string &fileStatus) |
void | setFileVersion (const std::string &version) |
void | setFileHeaderVersion (const std::string &version) |
void | setOsAbi (const std::string &osabi) |
void | setOsAbiVersion (const std::string &abiversion) |
void | setFileFlagsSize (unsigned long long size) |
void | setFileFlags (unsigned long long flagsArray) |
void | setDllFlagsSize (unsigned long long size) |
void | setDllFlags (unsigned long long flagsArray) |
void | setNumberOfBitsInByte (unsigned long long bitsInByte) |
void | setNumberOfBitsInWord (unsigned long long bitsInWord) |
void | setFileHeaderSize (unsigned long long size) |
void | setSegmentTableOffset (unsigned long long offset) |
void | setSegmentTableEntrySize (unsigned long long entrySize) |
void | setSegmentTableSize (unsigned long long tableSize) |
void | setNumberOfDeclaredSegments (unsigned long long noOfSegments) |
void | setSectionTableOffset (unsigned long long offset) |
void | setSectionTableEntrySize (unsigned long long entrySize) |
void | setSectionTableSize (unsigned long long tableSize) |
void | setNumberOfDeclaredSections (unsigned long long noOfSections) |
void | setCoffFileHeaderSize (unsigned long long headerSize) |
void | setOptionalHeaderSize (unsigned long long headerSize) |
void | setChecksum (unsigned long long fileChecksum) |
void | setStackReserveSize (unsigned long long size) |
void | setStackCommitSize (unsigned long long size) |
void | setHeapReserveSize (unsigned long long size) |
void | setHeapCommitSize (unsigned long long size) |
void | setNumberOfDeclaredDataDirectories (unsigned long long noOfDirectories) |
void | setNumberOfDeclaredSymbolTables (unsigned long long noOfTables) |
void | setOverlayOffset (unsigned long long offset) |
void | setOverlaySize (unsigned long long size) |
void | setOverlayEntropy (double entropy) |
void | setRichHeader (const retdec::fileformat::RichHeader *rHeader) |
void | setVisualBasicInfo (const retdec::fileformat::VisualBasicInfo *vbInfo) |
void | setVisualBasicUsed (bool set) |
void | setPdbType (const std::string &sType) |
void | setPdbPath (const std::string &sPath) |
void | setPdbGuid (const std::string &sGuid) |
void | setPdbAge (std::size_t sAge) |
void | setPdbTimeStamp (std::size_t sTimeStamp) |
void | setImportTable (const retdec::fileformat::ImportTable *sTable) |
void | setExportTable (const retdec::fileformat::ExportTable *sTable) |
void | setResourceTable (const retdec::fileformat::ResourceTable *sTable) |
void | setStrings (const std::vector< retdec::fileformat::String > *sStrings) |
void | setCertificateTable (const retdec::fileformat::CertificateTable *sTable) |
void | setTlsInfo (const retdec::fileformat::TlsInfo *info) |
void | setSignatureVerified (bool verified) |
void | setLoadedBaseAddress (unsigned long long baseAddress) |
void | setLoaderStatusMessage (const std::string &statusMessage) |
void | setLoaderErrorInfo (const retdec::fileformat::LoaderErrorInfo &ldrErrInfo) |
void | setDotnetUsed (bool set) |
void | setDotnetRuntimeVersion (std::uint64_t majorVersion, std::uint64_t minorVersion) |
void | setDotnetMetadataHeaderAddress (std::uint64_t address) |
void | setDotnetMetadataStreamInfo (std::uint64_t streamOffset, std::uint64_t streamSize) |
void | setDotnetStringStreamInfo (std::uint64_t streamOffset, std::uint64_t streamSize) |
void | setDotnetBlobStreamInfo (std::uint64_t streamOffset, std::uint64_t streamSize) |
void | setDotnetGuidStreamInfo (std::uint64_t streamOffset, std::uint64_t streamSize) |
void | setDotnetUserStringStreamInfo (std::uint64_t streamOffset, std::uint64_t streamSize) |
void | setDotnetModuleVersionId (const std::string &moduleVersionId) |
void | setDotnetTypeLibId (const std::string &typeLibId) |
void | setDotnetDefinedClassList (const std::vector< std::shared_ptr< retdec::fileformat::DotnetClass >> &dotnetClassList) |
void | setDotnetImportedClassList (const std::vector< std::shared_ptr< retdec::fileformat::DotnetClass >> &dotnetClassList) |
void | setDotnetTypeRefhashCrc32 (const std::string &crc32) |
void | setDotnetTypeRefhashMd5 (const std::string &md5) |
void | setDotnetTypeRefhashSha256 (const std::string &sha256) |
void | setAnomalies (const std::vector< std::pair< std::string, std::string >> &anom) |
Other methods | |
void | addFileFlagsDescriptor (std::string descriptor, std::string abbreviation) |
void | clearFileFlagsDescriptors () |
void | addDllFlagsDescriptor (std::string descriptor, std::string abbreviation) |
void | clearDllFlagsDescriptors () |
void | addDataDirectory (DataDirectory &dataDirectory) |
void | addSegment (FileSegment &fileSegment) |
void | addSection (FileSection &fileSection) |
void | addSymbolTable (SymbolTable &table) |
void | addRelocationTable (RelocationTable &table) |
void | addDynamicSection (DynamicSection §ion) |
void | addElfNotes (ElfNotes ¬es) |
void | addFileMapEntry (const FileMapEntry &entry) |
void | addAuxVectorEntry (const std::string &name, std::size_t value) |
void | addCryptoPattern (Pattern &pattern) |
void | removeRedundantCryptoRules () |
void | sortCryptoPatternMatches () |
void | addMalwarePattern (Pattern &pattern) |
void | sortMalwarePatternMatches () |
void | addOtherPattern (Pattern &pattern) |
void | sortOtherPatternMatches () |
void | addTool (retdec::cpdetect::DetectResult &tool) |
void | addLoadedSegment (const LoadedSegment &segment) |
Public Attributes | |
retdec::cpdetect::ToolInformation | toolInfo |
detected tools More... | |
std::vector< std::string > | messages |
error, warning and other messages More... | |
Private Attributes | |
retdec::cpdetect::ReturnCode | status = retdec::cpdetect::ReturnCode::OK |
std::string | filePath |
path to input file More... | |
std::string | crc32 |
CRC32 of input file. More... | |
std::string | md5 |
MD5 of input file. More... | |
std::string | sha256 |
SHA256 of input file. More... | |
std::string | secCrc32 |
CRC32 of section table. More... | |
std::string | secMd5 |
MD5 of section table. More... | |
std::string | secSha256 |
retdec::fileformat::Format | fileFormatEnum = retdec::fileformat::Format::UNKNOWN |
format of input file in enumeration representation More... | |
std::string | fileFormat |
format of input file in string representation More... | |
std::string | fileClass |
class of file More... | |
std::string | fileType |
type of file (e.g. executable file) More... | |
std::string | targetArchitecture |
target architecture More... | |
std::string | endianness |
endianness More... | |
std::string | manifest |
XML manifest. More... | |
std::string | compactManifest |
compact version of XML manifest More... | |
FileHeader | header |
file header More... | |
RichHeader | richHeader |
rich header More... | |
VisualBasicInfo | visualBasicInfo |
visual basic information More... | |
PdbInfo | pdbInfo |
information about related PDB file More... | |
ImportTable | importTable |
information about imports More... | |
ExportTable | exportTable |
information about exports More... | |
ResourceTable | resourceTable |
information about resources in input file More... | |
CertificateTable | certificateTable |
information about certificates More... | |
TlsInfo | tlsInfo |
information about thread-local storage More... | |
ElfCore | elfCoreInfo |
information about ELF core files More... | |
LoaderInfo | loaderInfo |
information about loaded image More... | |
std::vector< DataDirectory > | directories |
information about data directories More... | |
std::vector< FileSegment > | segments |
information about segments in file More... | |
std::vector< FileSection > | sections |
information about sections in file More... | |
std::vector< SymbolTable > | symbolTables |
symbol tables More... | |
std::vector< RelocationTable > | relocationTables |
relocation tables More... | |
std::vector< DynamicSection > | dynamicSections |
information about dynamic sections More... | |
std::vector< ElfNotes > | elfNotes |
information about ELF sections More... | |
std::vector< Pattern > | cryptoPatterns |
detected crypto patterns More... | |
std::vector< Pattern > | malwarePatterns |
detected malware patterns More... | |
std::vector< Pattern > | otherPatterns |
other detected patterns More... | |
Strings | strings |
detected strings More... | |
std::optional< bool > | signatureVerified |
indicates whether the signature is present and if it is verified More... | |
DotnetInfo | dotnetInfo |
.NET information More... | |
std::string | failedDepsList |
std::vector< std::pair< std::string, std::string > > | anomalies |
If non-empty, trhis contains the name of the dependency list that failed to load. More... | |
Class representing information about file
Value std::numeric_limits<unsigned long long>::max() mean unspecified value or error for numeric types. Methods with index parameters does not perform control of indexes.
void retdec::fileinfo::FileInformation::addAuxVectorEntry | ( | const std::string & | name, |
std::size_t | value | ||
) |
void retdec::fileinfo::FileInformation::addCryptoPattern | ( | Pattern & | pattern | ) |
Add crypto pattern
pattern | Crypto pattern |
void retdec::fileinfo::FileInformation::addDataDirectory | ( | DataDirectory & | dataDirectory | ) |
Add data directory
dataDirectory | File data directory |
void retdec::fileinfo::FileInformation::addDllFlagsDescriptor | ( | std::string | descriptor, |
std::string | abbreviation | ||
) |
Add DLL flag descriptor
descriptor | Descriptor (full description of flag) |
abbreviation | Abbreviation (short description of flag) |
void retdec::fileinfo::FileInformation::addDynamicSection | ( | DynamicSection & | section | ) |
Add dynamic section
section | Dynamic section |
void retdec::fileinfo::FileInformation::addElfNotes | ( | ElfNotes & | notes | ) |
Add ELF notes
notes | Loaded ELF notes |
void retdec::fileinfo::FileInformation::addFileFlagsDescriptor | ( | std::string | descriptor, |
std::string | abbreviation | ||
) |
Add file flag descriptor
descriptor | Descriptor (full description of flag) |
abbreviation | Abbreviation (short description of flag) |
void retdec::fileinfo::FileInformation::addFileMapEntry | ( | const FileMapEntry & | entry | ) |
void retdec::fileinfo::FileInformation::addLoadedSegment | ( | const LoadedSegment & | segment | ) |
Adds loaded segment.
segment | Loaded segment to add. |
void retdec::fileinfo::FileInformation::addMalwarePattern | ( | Pattern & | pattern | ) |
Add malware pattern
pattern | Malware pattern |
void retdec::fileinfo::FileInformation::addOtherPattern | ( | Pattern & | pattern | ) |
Add other pattern
pattern | Other pattern |
void retdec::fileinfo::FileInformation::addRelocationTable | ( | RelocationTable & | table | ) |
Add relocation table
table | Relocation table |
void retdec::fileinfo::FileInformation::addSection | ( | FileSection & | fileSection | ) |
Add section
fileSection | File section |
void retdec::fileinfo::FileInformation::addSegment | ( | FileSegment & | fileSegment | ) |
Add segment
fileSegment | Segment of file |
void retdec::fileinfo::FileInformation::addSymbolTable | ( | SymbolTable & | table | ) |
Add symbol table
table | Symbol table |
void retdec::fileinfo::FileInformation::addTool | ( | retdec::cpdetect::DetectResult & | tool | ) |
Add information about detected tool to the list
tool | Information about detected tool |
void retdec::fileinfo::FileInformation::clearDllFlagsDescriptors | ( | ) |
Clear DLL flags descriptors
void retdec::fileinfo::FileInformation::clearFileFlagsDescriptors | ( | ) |
Clear file flags descriptors
std::string retdec::fileinfo::FileInformation::getAnomalyDescription | ( | std::size_t | position | ) | const |
Get description of anomaly
position | Index of selected anomaly (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getAnomalyIdentifier | ( | std::size_t | position | ) | const |
Get identifier of anomaly
position | Index of selected anomaly (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerCommonName | ( | std::size_t | index | ) | const |
Get certificate issuer common name
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerCountry | ( | std::size_t | index | ) | const |
Get certificate issuer country
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerEmailAddress | ( | std::size_t | index | ) | const |
Get certificate issuer email address
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerGenerationQualifier | ( | std::size_t | index | ) | const |
Get certificate issuer generation qualifier
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerGivenName | ( | std::size_t | index | ) | const |
Get certificate issuer given name
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerInitials | ( | std::size_t | index | ) | const |
Get certificate issuer initials
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerLocality | ( | std::size_t | index | ) | const |
Get certificate issuer locality
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerNameQualifier | ( | std::size_t | index | ) | const |
Get certificate issuer name qualifier
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerOrganization | ( | std::size_t | index | ) | const |
Get certificate issuer organization
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerOrganizationalUnit | ( | std::size_t | index | ) | const |
Get certificate issuer organizational unit
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerPseudonym | ( | std::size_t | index | ) | const |
Get certificate issuer pseudonym
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerRawStr | ( | std::size_t | index | ) | const |
Get certificate issuer
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerSerialNumber | ( | std::size_t | index | ) | const |
Get certificate issuer serial number
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerState | ( | std::size_t | index | ) | const |
Get certificate issuer state
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerSurname | ( | std::size_t | index | ) | const |
Get certificate issuer surname
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateIssuerTitle | ( | std::size_t | index | ) | const |
Get certificate issuer title
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificatePublicKey | ( | std::size_t | index | ) | const |
Get certificate public key
index | Index of selected certificate from table (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificatePublicKeyAlgorithm | ( | std::size_t | index | ) | const |
Get certificate public key algorithm
index | Index of selected certificate from table (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSerialNumber | ( | std::size_t | index | ) | const |
Get certificate serial number
index | Index of selected certificate from table (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSha1Digest | ( | std::size_t | index | ) | const |
Get certificate SHA1 digest
index | Index of selected certificate from table (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSha256Digest | ( | std::size_t | index | ) | const |
Get certificate SHA256 digest
index | Index of selected certificate from table (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSignatureAlgorithm | ( | std::size_t | index | ) | const |
Get certificate signature algorithm
index | Index of selected certificate from table (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectCommonName | ( | std::size_t | index | ) | const |
Get certificate subject common name
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectCountry | ( | std::size_t | index | ) | const |
Get certificate subject country
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectEmailAddress | ( | std::size_t | index | ) | const |
Get certificate subject email address
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectGenerationQualifier | ( | std::size_t | index | ) | const |
Get certificate subject generation qualifier
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectGivenName | ( | std::size_t | index | ) | const |
Get certificate subject given name
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectInitials | ( | std::size_t | index | ) | const |
Get certificate subject initials
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectLocality | ( | std::size_t | index | ) | const |
Get certificate subject locality
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectNameQualifier | ( | std::size_t | index | ) | const |
Get certificate subject name qualifier
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectOrganization | ( | std::size_t | index | ) | const |
Get certificate subject organization
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectOrganizationalUnit | ( | std::size_t | index | ) | const |
Get certificate subject organizational unit
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectPseudonym | ( | std::size_t | index | ) | const |
Get certificate subject pseudonym
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectRawStr | ( | std::size_t | index | ) | const |
Get certificate subject
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectSerialNumber | ( | std::size_t | index | ) | const |
Get certificate subject serial number
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectState | ( | std::size_t | index | ) | const |
Get certificate subject state
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectSurname | ( | std::size_t | index | ) | const |
Get certificate subject surname
index | Index of selected certificate (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateSubjectTitle | ( | std::size_t | index | ) | const |
Get certificate subject title
index | Index of selected certificate (indexed from 0) |
std::size_t retdec::fileinfo::FileInformation::getCertificateTableCounterSignerCertificateIndex | ( | ) | const |
Get date since when is certificate valid
std::size_t retdec::fileinfo::FileInformation::getCertificateTableSignerCertificateIndex | ( | ) | const |
Get index of the certificate of the counter-signer. Returned value should not be used without prior checking of whether the table has counter-signer certificate.
std::string retdec::fileinfo::FileInformation::getCertificateValidSince | ( | std::size_t | index | ) | const |
Get date since when is certificate valid
index | Index of selected certificate from table (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getCertificateValidUntil | ( | std::size_t | index | ) | const |
Get date until when is certificate valid
index | Index of selected certificate from table (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getChecksumStr | ( | ) | const |
Get checksum of file
std::string retdec::fileinfo::FileInformation::getCoffFileHeaderSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get size of COFF file header
std::string retdec::fileinfo::FileInformation::getCompactManifest | ( | ) | const |
Get compact version of manifest
std::string retdec::fileinfo::FileInformation::getCrc32 | ( | ) | const |
Get CRC32 of input file
const Pattern * retdec::fileinfo::FileInformation::getCryptoPattern | ( | std::size_t | position | ) | const |
Get selected crypto pattern
position | Index of pattern in internal list of crypto patterns (0..x) |
nullptr
if index of pattern is invalid const std::vector< Pattern > & retdec::fileinfo::FileInformation::getCryptoPatterns | ( | ) | const |
Get all detected crypto patterns
std::string retdec::fileinfo::FileInformation::getDataDirectoryAddressStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get start address of data directory
position | Position of directory in internal list of directories (0..x) |
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getDataDirectorySizeStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get size of data directory
position | Position of directory in internal list of directories (0..x) |
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getDataDirectoryType | ( | std::size_t | position | ) | const |
Get type of data directory
position | Position of directory in internal list of directories (0..x) |
std::string retdec::fileinfo::FileInformation::getDepsListFailedToLoad | ( | ) | const |
Get the name of the dependency file that failed to load
unsigned long long retdec::fileinfo::FileInformation::getDllFlags | ( | ) | const |
Get DLL flags
void retdec::fileinfo::FileInformation::getDllFlagsDescriptors | ( | std::vector< std::string > & | desc, |
std::vector< std::string > & | abb | ||
) | const |
Get DLL flags descriptors and its abbreviations
desc | Vector for save descriptors |
abb | Vector for save abbreviations of descriptors |
It is guaranteed that the number of stored descriptors and abbreviations are the same
unsigned long long retdec::fileinfo::FileInformation::getDllFlagsSize | ( | ) | const |
Get DLL flags size
std::string retdec::fileinfo::FileInformation::getDllFlagsStr | ( | ) | const |
Get DLL flags
std::string retdec::fileinfo::FileInformation::getDotnetBlobStreamOffsetStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Returns .NET blob stream offset in string representation in specified format.
format | Format. |
std::string retdec::fileinfo::FileInformation::getDotnetBlobStreamSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Returns .NET blob stream size in string representation in specified format.
format | Format. |
const std::vector< std::shared_ptr< retdec::fileformat::DotnetClass > > & retdec::fileinfo::FileInformation::getDotnetDefinedClassList | ( | ) | const |
Returns .NET defined class list.
std::string retdec::fileinfo::FileInformation::getDotnetGuidStreamOffsetStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Returns .NET GUID stream offset in string representation in specified format.
format | Format. |
std::string retdec::fileinfo::FileInformation::getDotnetGuidStreamSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Returns .NET GUID stream size in string representation in specified format.
format | Format. |
std::string retdec::fileinfo::FileInformation::getDotnetImportedClassLibName | ( | std::size_t | position | ) | const |
Get imported class library name
position | Index of selected imported class (indexed from 0) |
const std::vector< std::shared_ptr< retdec::fileformat::DotnetClass > > & retdec::fileinfo::FileInformation::getDotnetImportedClassList | ( | ) | const |
Returns .NET imported class list.
std::string retdec::fileinfo::FileInformation::getDotnetImportedClassName | ( | std::size_t | position | ) | const |
Get imported class name
position | Index of selected imported class (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getDotnetImportedClassNameSpace | ( | std::size_t | position | ) | const |
Get imported class namespace
position | Index of selected imported class (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getDotnetImportedClassNameWithParentClassIndex | ( | std::size_t | position | ) | const |
Get imported class name with parent class presentation index
position | Index of selected imported class (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getDotnetImportedClassNestedName | ( | std::size_t | position | ) | const |
Get imported class nested name
position | Index of selected imported class (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getDotnetMetadataHeaderAddressStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Returns .NET metadata header address in string representation in specified format.
format | Format. |
std::string retdec::fileinfo::FileInformation::getDotnetMetadataStreamOffsetStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Returns .NET metadata stream offset in string representation in specified format.
format | Format. |
std::string retdec::fileinfo::FileInformation::getDotnetMetadataStreamSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Returns .NET metadata stream size in string representation in specified format.
format | Format. |
const std::string & retdec::fileinfo::FileInformation::getDotnetModuleVersionId | ( | ) | const |
Returns .NET module version ID.
const std::string & retdec::fileinfo::FileInformation::getDotnetRuntimeVersion | ( | ) | const |
Returns .NET runtime version.
std::string retdec::fileinfo::FileInformation::getDotnetStringStreamOffsetStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Returns .NET string stream offset in string representation in specified format.
format | Format. |
std::string retdec::fileinfo::FileInformation::getDotnetStringStreamSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Returns .NET string stream size in string representation in specified format.
format | Format. |
const std::string & retdec::fileinfo::FileInformation::getDotnetTypeLibId | ( | ) | const |
Returns .NET TypeLib ID.
std::string retdec::fileinfo::FileInformation::getDotnetTypeRefhashCrc32 | ( | ) | const |
Get dotnet typeref hash as CRC32
std::string retdec::fileinfo::FileInformation::getDotnetTypeRefhashMd5 | ( | ) | const |
Get dotnet typeref hash as MD5
std::string retdec::fileinfo::FileInformation::getDotnetTypeRefhashSha256 | ( | ) | const |
Get dotnet typeref hash as SHA256
std::string retdec::fileinfo::FileInformation::getDotnetUserStringStreamOffsetStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Returns .NET user string stream offset in string representation in specified format.
format | Format. |
std::string retdec::fileinfo::FileInformation::getDotnetUserStringStreamSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Returns .NET user string stream size in string representation in specified format.
format | Format. |
std::string retdec::fileinfo::FileInformation::getDynamicEntryDescription | ( | std::size_t | sectionIndex, |
std::size_t | entryIndex | ||
) | const |
Get description related to selected dynamic entry
sectionIndex | Position of dynamic section in internal list of dynamic sections (0..x) |
entryIndex | Position of dynamic entry in selected dynamic section |
unsigned long long retdec::fileinfo::FileInformation::getDynamicEntryFlags | ( | std::size_t | sectionIndex, |
std::size_t | entryIndex | ||
) | const |
Get flags of selected dynamic entry as number
sectionIndex | Position of dynamic section in internal list of dynamic sections (0..x) |
entryIndex | Position of dynamic entry in selected dynamic section |
void retdec::fileinfo::FileInformation::getDynamicEntryFlagsDescriptors | ( | std::size_t | sectionIndex, |
std::size_t | entryIndex, | ||
std::vector< std::string > & | desc, | ||
std::vector< std::string > & | abb | ||
) | const |
Get flags descriptors of selected dynamic entry
sectionIndex | Position of dynamic section in internal list of dynamic sections (0..x) |
entryIndex | Position of dynamic entry in selected dynamic section |
desc | Vector for save descriptors |
abb | Vector for save abbreviations of descriptors |
unsigned long long retdec::fileinfo::FileInformation::getDynamicEntryFlagsSize | ( | std::size_t | sectionIndex, |
std::size_t | entryIndex | ||
) | const |
Get number of flags in selected dynamic entry
sectionIndex | Position of dynamic section in internal list of dynamic sections (0..x) |
entryIndex | Position of dynamic entry in selected dynamic section |
std::string retdec::fileinfo::FileInformation::getDynamicEntryFlagsStr | ( | std::size_t | sectionIndex, |
std::size_t | entryIndex | ||
) | const |
Get flags of selected dynamic entry as string
sectionIndex | Position of dynamic section in internal list of dynamic sections (0..x) |
entryIndex | Position of dynamic entry in selected dynamic section |
std::string retdec::fileinfo::FileInformation::getDynamicEntryType | ( | std::size_t | sectionIndex, |
std::size_t | entryIndex | ||
) | const |
Get type of selected dynamic entry
sectionIndex | Position of dynamic section in internal list of dynamic sections (0..x) |
entryIndex | Position of dynamic entry in selected dynamic section |
std::string retdec::fileinfo::FileInformation::getDynamicEntryValueStr | ( | std::size_t | sectionIndex, |
std::size_t | entryIndex, | ||
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get value of selected dynamic entry
sectionIndex | Position of dynamic section in internal list of dynamic sections (0..x) |
entryIndex | Position of dynamic entry in selected dynamic section |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getDynamicSectionName | ( | std::size_t | position | ) | const |
Get name of selected dynamic section
position | Position of dynamic section in internal list of dynamic sections (0..x) |
const ElfCore & retdec::fileinfo::FileInformation::getElfCoreInfo | ( | ) | const |
Get ELF core info
const std::vector< ElfNotes > & retdec::fileinfo::FileInformation::getElfNotes | ( | ) | const |
Get ELF notes
std::string retdec::fileinfo::FileInformation::getEndianness | ( | ) | const |
Get endianness
std::string retdec::fileinfo::FileInformation::getEpAddressStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get EP virtual address as string
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getEpBytes | ( | ) | const |
Get bytes on EP
std::string retdec::fileinfo::FileInformation::getEpOffsetStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get EP offset as string
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getEpSectionIndex | ( | ) | const |
Get index of entry point section
std::string retdec::fileinfo::FileInformation::getEpSectionName | ( | ) | const |
Get name of entry point section
std::string retdec::fileinfo::FileInformation::getExphashCrc32 | ( | ) | const |
Get exphash as CRC32
std::string retdec::fileinfo::FileInformation::getExphashMd5 | ( | ) | const |
Get exphash as MD5
std::string retdec::fileinfo::FileInformation::getExphashSha256 | ( | ) | const |
Get exphash as SHA256
std::string retdec::fileinfo::FileInformation::getExportAddressStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get export address
position | Index of selected export (indexed from 0) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getExportName | ( | std::size_t | position | ) | const |
Get export name
position | Index of selected export (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getExportOrdinalNumberStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get export ordinal number
position | Index of selected export (indexed from 0) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getFileClass | ( | ) | const |
Get fileClass
unsigned long long retdec::fileinfo::FileInformation::getFileFlags | ( | ) | const |
Get flags
void retdec::fileinfo::FileInformation::getFileFlagsDescriptors | ( | std::vector< std::string > & | desc, |
std::vector< std::string > & | abb | ||
) | const |
Get file flags descriptors and its abbreviations
desc | Vector for save descriptors |
abb | Vector for save abbreviations of descriptors |
It is guaranteed that the number of stored descriptors and abbreviations are the same
unsigned long long retdec::fileinfo::FileInformation::getFileFlagsSize | ( | ) | const |
Get flags size
std::string retdec::fileinfo::FileInformation::getFileFlagsStr | ( | ) | const |
Get flags
std::string retdec::fileinfo::FileInformation::getFileFormat | ( | ) | const |
Get fileFormat
Format retdec::fileinfo::FileInformation::getFileFormatEnum | ( | ) | const |
Get fileFormatEnum
std::string retdec::fileinfo::FileInformation::getFileHeaderSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get size of file header
std::string retdec::fileinfo::FileInformation::getFileHeaderVersion | ( | ) | const |
Get file header version
std::string retdec::fileinfo::FileInformation::getFileStatus | ( | ) | const |
Get file status
std::string retdec::fileinfo::FileInformation::getFileType | ( | ) | const |
Get fileType
std::string retdec::fileinfo::FileInformation::getFileVersion | ( | ) | const |
Get file version
std::string retdec::fileinfo::FileInformation::getHeapCommitSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get size of the local heap space to commit
std::string retdec::fileinfo::FileInformation::getHeapReserveSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get size of the local heap space to reserve
std::string retdec::fileinfo::FileInformation::getImageBaseStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get image base address as string
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getImphashCrc32 | ( | ) | const |
Get imphash as CRC32
std::string retdec::fileinfo::FileInformation::getImphashMd5 | ( | ) | const |
Get imphash as MD5
std::string retdec::fileinfo::FileInformation::getImphashSha256 | ( | ) | const |
Get imphash as SHA256
const retdec::fileformat::Import * retdec::fileinfo::FileInformation::getImport | ( | std::size_t | position | ) | const |
Get import
position | Index of selected import (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getImportAddressStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get import address
position | Index of selected import (indexed from 0) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getImportLibraryName | ( | std::size_t | position | ) | const |
Get import library name
position | Index of selected import (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getImportName | ( | std::size_t | position | ) | const |
Get import name
position | Index of selected import (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getImportOrdinalNumberStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get import ordinal number
position | Index of selected import (indexed from 0) |
format | Format of resulting string (e.g. std::dec, std::hex)m |
std::string retdec::fileinfo::FileInformation::getImportUsageType | ( | std::size_t | position | ) | const |
std::string retdec::fileinfo::FileInformation::getLoadedBaseAddressStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Gets loaded image base address.
format | Format of resulting string (e.g. std::dec, std::hex) |
const LoadedSegment & retdec::fileinfo::FileInformation::getLoadedSegment | ( | std::size_t | index | ) | const |
Gets loaded segment in the loaded image.
index | Index of the segment. |
const retdec::fileformat::LoaderErrorInfo & retdec::fileinfo::FileInformation::getLoaderErrorInfo | ( | ) | const |
Gets loader error message.
const std::string & retdec::fileinfo::FileInformation::getLoaderStatusMessage | ( | ) | const |
Gets loader status message.
const Pattern * retdec::fileinfo::FileInformation::getMalwarePattern | ( | std::size_t | position | ) | const |
Get selected malware pattern
position | Index of pattern in internal list of malware patterns (0..x) |
nullptr
if index of pattern is invalid const std::vector< Pattern > & retdec::fileinfo::FileInformation::getMalwarePatterns | ( | ) | const |
Get all detected malware patterns
std::string retdec::fileinfo::FileInformation::getManifest | ( | ) | const |
Get manifest
std::string retdec::fileinfo::FileInformation::getMd5 | ( | ) | const |
Get MD5 of input file
std::string retdec::fileinfo::FileInformation::getMissingDepName | ( | std::size_t | position | ) | const |
Get missing dependency name
position | Index of selected dependency (indexed from 0) |
std::size_t retdec::fileinfo::FileInformation::getNumberOfAnomalies | ( | ) | const |
Get number of anomalies
std::string retdec::fileinfo::FileInformation::getNumberOfBitsInByteStr | ( | ) | const |
Get number of bits in one byte
std::string retdec::fileinfo::FileInformation::getNumberOfBitsInWordStr | ( | ) | const |
Get number of bits in one word
std::size_t retdec::fileinfo::FileInformation::getNumberOfCryptoPatterns | ( | ) | const |
Get number of stored crypto patterns
std::string retdec::fileinfo::FileInformation::getNumberOfDeclaredDataDirectoriesStr | ( | ) | const |
Get declared number of data directories in file
std::string retdec::fileinfo::FileInformation::getNumberOfDeclaredDynamicEntriesInSectionStr | ( | std::size_t | position | ) | const |
Get number of entries in selected dynamic section
position | Position of dynamic section in internal list of dynamic sections (0..x) |
Returned value indicates the declared number of entries stored in file section. This number may not be as large as result of method getNumberOfStoredDynamicEntriesInSection().
std::string retdec::fileinfo::FileInformation::getNumberOfDeclaredRelocationsInTableStr | ( | std::size_t | position | ) | const |
Get number of delcared relocation entries in selected relocation table
position | Position of table in internal list of relocation tables (0..x) |
Returned value indicates the declared number of relocations stored in file table. This number may not be as large as result of method getNumberOfStoredRelocationsInTable().
std::string retdec::fileinfo::FileInformation::getNumberOfDeclaredSectionsStr | ( | ) | const |
Get declared number of sections in file
std::string retdec::fileinfo::FileInformation::getNumberOfDeclaredSegmentsStr | ( | ) | const |
Get declared number of segments in file
std::string retdec::fileinfo::FileInformation::getNumberOfDeclaredSymbolsInTableStr | ( | std::size_t | position | ) | const |
Get number of symbols stored in symbol table
position | Position of table in internal list of symbol tables (0..x) |
Returned value indicates the declared number of symbols stored in file table. This number may not be as large as result of method getNumberOfStoredSymbolsInTable().
std::string retdec::fileinfo::FileInformation::getNumberOfDeclaredSymbolTablesStr | ( | ) | const |
Get declared number of symbol tables in file
std::size_t retdec::fileinfo::FileInformation::getNumberOfDetectedCompilers | ( | ) | const |
Get number of detected compilers or packers
std::size_t retdec::fileinfo::FileInformation::getNumberOfDetectedStrings | ( | ) | const |
Get number of detected strings in input file
std::size_t retdec::fileinfo::FileInformation::getNumberOfDllFlagsDescriptors | ( | ) | const |
Get number of DLL flags descriptors
std::size_t retdec::fileinfo::FileInformation::getNumberOfDynamicEntryFlagsDescriptors | ( | std::size_t | sectionIndex, |
std::size_t | entryIndex | ||
) | const |
Get number of flags descriptors of selected dynamic entry
sectionIndex | Position of dynamic section in internal list of dynamic sections (0..x) |
entryIndex | Position of dynamic entry in selected dynamic section |
std::size_t retdec::fileinfo::FileInformation::getNumberOfFileFlagsDescriptors | ( | ) | const |
Get number of file flags descriptors
std::size_t retdec::fileinfo::FileInformation::getNumberOfLoadedSegments | ( | ) | const |
Gets the number of loaded segments.
std::string retdec::fileinfo::FileInformation::getNumberOfLoadedSegmentsStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Gets number of loaded segments.
format | Format of resulting string (e.g. std::dec, std::hex) |
std::size_t retdec::fileinfo::FileInformation::getNumberOfMalwarePatterns | ( | ) | const |
Get number of stored crypto patterns
std::size_t retdec::fileinfo::FileInformation::getNumberOfMissingDeps | ( | ) | const |
Get number of missing dependencies
std::size_t retdec::fileinfo::FileInformation::getNumberOfOtherPatterns | ( | ) | const |
Get number of stored crypto patterns
std::size_t retdec::fileinfo::FileInformation::getNumberOfSectionFlagsDescriptors | ( | std::size_t | position | ) | const |
Get number of section flags descriptors
position | Position of section in internal list of sections (0..x) |
std::size_t retdec::fileinfo::FileInformation::getNumberOfSegmentFlagsDescriptors | ( | std::size_t | position | ) | const |
Get number of segment flags descriptors
position | Position of segment in internal list of segments (0..x) |
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredCertificates | ( | ) | const |
Get number of stored certificates
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredDataDirectories | ( | ) | const |
Get number of stored data directories
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredDotnetImportedClasses | ( | ) | const |
Get number of stored imported dotnet classes
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredDynamicEntriesInSection | ( | std::size_t | position | ) | const |
Get number of entries in selected dynamic section
position | Position of dynamic section in internal list of dynamic sections (0..x) |
Returned value indicates the number of entries really stored in selected dynamic section. This number may not be as large as result of method getNumberOfDeclaredDynamicEntriesInSection().
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredDynamicSections | ( | ) | const |
Get number of stored dynamic sections
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredExports | ( | ) | const |
Get number of stored exports
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredImportLibraries | ( | ) | const |
Get number of stored import libraries
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredImports | ( | ) | const |
Get number of stored imports
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredRecordsInRichHeader | ( | ) | const |
Get number of records in rich header
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredRelocationsInTable | ( | std::size_t | position | ) | const |
Get number of relocation entries in selected relocation table
position | Position of table in internal list of relocation tables (0..x) |
Returned value indicates the number of relocations really stored in selected table. This number may not be as large as result of method getNumberOfDeclaredRelocationsInTable().
std::string retdec::fileinfo::FileInformation::getNumberOfStoredRelocationsInTableStr | ( | std::size_t | position | ) | const |
Get number of stored relocation entries in selected relocation table
position | Position of table in internal list of relocation tables (0..x) |
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredRelocationTables | ( | ) | const |
Get number of stored relocation tables
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredResources | ( | ) | const |
Get number of resources stored in resource table
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredSections | ( | ) | const |
Get number of stored sections
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredSegments | ( | ) | const |
Get number of stored segments
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredSymbolsInTable | ( | std::size_t | position | ) | const |
Get number of symbols stored in symbol table
position | Position of table in internal list of symbol tables (0..x) |
Returned value indicates the number of symbols really stored in selected dynamic section (in selected instance of class SymbolTable). This number may not be as large as result of method getNumberOfDeclaredSymbolsInTable().
std::size_t retdec::fileinfo::FileInformation::getNumberOfStoredSymbolTables | ( | ) | const |
Get number of stored symbol tables
std::size_t retdec::fileinfo::FileInformation::getNumberOfVersionInfoLanguages | ( | ) | const |
Get number of supported version info languages
std::size_t retdec::fileinfo::FileInformation::getNumberOfVersionInfoStrings | ( | ) | const |
Get number of version info strings
std::string retdec::fileinfo::FileInformation::getOptionalHeaderSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get size of optional file header
std::string retdec::fileinfo::FileInformation::getOsAbi | ( | ) | const |
Get operating system or ABI extension
std::string retdec::fileinfo::FileInformation::getOsAbiVersion | ( | ) | const |
Get OS or ABI version
const Pattern * retdec::fileinfo::FileInformation::getOtherPattern | ( | std::size_t | position | ) | const |
Get selected other pattern
position | Index of pattern in internal list of other patterns (0..x) |
nullptr
if index of pattern is invalid const std::vector< Pattern > & retdec::fileinfo::FileInformation::getOtherPatterns | ( | ) | const |
Get all detected other patterns
std::string retdec::fileinfo::FileInformation::getOverlayEntropyStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get overlay entropy
std::string retdec::fileinfo::FileInformation::getOverlayOffsetStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get overlay offset
std::string retdec::fileinfo::FileInformation::getOverlaySizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get overlay size
std::string retdec::fileinfo::FileInformation::getPathToFile | ( | ) | const |
Get path to input file
std::string retdec::fileinfo::FileInformation::getPdbAgeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get age of related PDB file
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getPdbGuid | ( | ) | const |
Get GUID of related PDB file
std::string retdec::fileinfo::FileInformation::getPdbPath | ( | ) | const |
Get original path to related PDB file
std::string retdec::fileinfo::FileInformation::getPdbTimeStampStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get timestamp of related PDB file
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getPdbType | ( | ) | const |
Get type of related PDB file
std::string retdec::fileinfo::FileInformation::getRelocationAddendStr | ( | std::size_t | tableIndex, |
std::size_t | relocationIndex | ||
) | const |
Get relocation addend
tableIndex | Position of table in internal list of relocation tables (0..x) |
relocationIndex | Position of relocation in selected relocation table (0..x) |
std::string retdec::fileinfo::FileInformation::getRelocationCalculatedValueStr | ( | std::size_t | tableIndex, |
std::size_t | relocationIndex | ||
) | const |
Get relocation calculated value
tableIndex | Position of table in internal list of relocation tables (0..x) |
relocationIndex | Position of relocation in selected relocation table (0..x) |
std::string retdec::fileinfo::FileInformation::getRelocationOffsetStr | ( | std::size_t | tableIndex, |
std::size_t | relocationIndex, | ||
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get relocation offset
tableIndex | Position of table in internal list of relocation tables (0..x) |
relocationIndex | Position of relocation in selected relocation table (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getRelocationSymbolName | ( | std::size_t | tableIndex, |
std::size_t | relocationIndex | ||
) | const |
Get name of symbol associated with relocation
tableIndex | Position of table in internal list of relocation tables (0..x) |
relocationIndex | Position of relocation in selected relocation table (0..x) |
std::string retdec::fileinfo::FileInformation::getRelocationSymbolValueStr | ( | std::size_t | tableIndex, |
std::size_t | relocationIndex | ||
) | const |
Get value of symbol associated with relocation
tableIndex | Position of table in internal list of relocation tables (0..x) |
relocationIndex | Position of relocation in selected relocation table (0..x) |
std::string retdec::fileinfo::FileInformation::getRelocationTableAppliesSectionIndex | ( | std::size_t | position | ) | const |
Get index of section to which the relocation applies
position | Position of relocation table in internal list of relocation tables (0..x) |
std::string retdec::fileinfo::FileInformation::getRelocationTableAppliesSectionName | ( | std::size_t | position | ) | const |
Get name of section to which the relocation applies
position | Position of relocation table in internal list of relocation tables (0..x) |
std::string retdec::fileinfo::FileInformation::getRelocationTableAssociatedSymbolTableIndex | ( | std::size_t | position | ) | const |
Get index of symbol table associated with selected relocation table
position | Position of relocation table in internal list of relocation tables (0..x) |
std::string retdec::fileinfo::FileInformation::getRelocationTableAssociatedSymbolTableName | ( | std::size_t | position | ) | const |
Get name of symbol table associated with selected relocation table
position | Position of relocation table in internal list of relocation tables (0..x) |
std::string retdec::fileinfo::FileInformation::getRelocationTableName | ( | std::size_t | position | ) | const |
Get name of relocation table
position | Position of relocation table in internal list of relocation tables (0..x) |
std::string retdec::fileinfo::FileInformation::getRelocationTypeStr | ( | std::size_t | tableIndex, |
std::size_t | relocationIndex | ||
) | const |
Get relocation type
tableIndex | Position of table in internal list of relocation tables (0..x) |
relocationIndex | Position of relocation in selected relocation table (0..x) |
std::string retdec::fileinfo::FileInformation::getResourceCrc32 | ( | std::size_t | index | ) | const |
Get CRC32 of selected resource
index | Index of selected resource (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getResourceIconhashCrc32 | ( | ) | const |
Get iconhash as CRC32
std::string retdec::fileinfo::FileInformation::getResourceIconhashMd5 | ( | ) | const |
Get iconhash as MD5
std::string retdec::fileinfo::FileInformation::getResourceIconhashSha256 | ( | ) | const |
Get iconhash as SHA256
std::string retdec::fileinfo::FileInformation::getResourceIconPerceptualAvgHash | ( | ) | const |
Get icon perceptual hash as AvgHash
std::string retdec::fileinfo::FileInformation::getResourceLanguage | ( | std::size_t | index | ) | const |
Get language of selected resource
index | Index of selected resource (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getResourceLanguageIdStr | ( | std::size_t | index, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get language ID of selected resource
index | Index of selected resource (indexed from 0) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getResourceMd5 | ( | std::size_t | index | ) | const |
Get MD5 of selected resource
index | Index of selected resource (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getResourceName | ( | std::size_t | index | ) | const |
Get name of selected resource
index | Index of selected resource (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getResourceNameIdStr | ( | std::size_t | index, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get name ID of selected resource
index | Index of selected resource (indexed from 0) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getResourceOffsetStr | ( | std::size_t | index, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get offset of selected resource
index | Index of selected resource (indexed from 0) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getResourceSha256 | ( | std::size_t | index | ) | const |
Get SHA256 of selected resource
index | Index of selected resource (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getResourceSizeStr | ( | std::size_t | index, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get size of selected resource
index | Index of selected resource (indexed from 0) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getResourceSublanguageIdStr | ( | std::size_t | index, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get sublanguage ID of selected resource
index | Index of selected resource (indexed from 0) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getResourceType | ( | std::size_t | index | ) | const |
Get type of selected resource
index | Index of selected resource (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getResourceTypeIdStr | ( | std::size_t | index, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get type ID of selected resource
index | Index of selected resource (indexed from 0) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getRichHeaderKeyStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get key for decryption of header
std::string retdec::fileinfo::FileInformation::getRichHeaderOffsetStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get offset of header in file
std::string retdec::fileinfo::FileInformation::getRichHeaderRawBytesStr | ( | ) | const |
Get rich header raw bytes as string
std::string retdec::fileinfo::FileInformation::getRichHeaderRecordNumberOfUsesStr | ( | std::size_t | position | ) | const |
Get number of uses
position | Index of selected record from header (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getRichHeaderRecordProductBuildStr | ( | std::size_t | position | ) | const |
Get minor version
position | Index of selected record from header (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getRichHeaderRecordProductIdStr | ( | std::size_t | position | ) | const |
Get major version
position | Index of selected record from header (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getRichHeaderRecordProductNameStr | ( | std::size_t | position | ) | const |
Retrieve the product name
position | Index of selected record from header (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getRichHeaderRecordVisualStudioNameStr | ( | std::size_t | position | ) | const |
Retrieve the Visual Studio name
position | Index of selected record from header (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getRichHeaderSignature | ( | ) | const |
Get decrypted header as string
std::string retdec::fileinfo::FileInformation::getSectionAddressStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get section address in memory as string
position | Position of section in internal list of sections (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionCrc32 | ( | std::size_t | position | ) | const |
Get section CRC32
position | Position of section in internal list of sections (0..x) |
std::string retdec::fileinfo::FileInformation::getSectionEntropy | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get section entropy
position | Position of section in internal list of sections (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionEntrySizeStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get size of one entry in section as string
position | Position of section in internal list of sections (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionExtraInfoStr | ( | std::size_t | position | ) | const |
Get section extra info as string
position | Position of section in internal list of sections (0..x) |
unsigned long long retdec::fileinfo::FileInformation::getSectionFlags | ( | std::size_t | position | ) | const |
Get section flags
position | Position of section in internal list of sections (0..x) |
void retdec::fileinfo::FileInformation::getSectionFlagsDescriptors | ( | std::size_t | position, |
std::vector< std::string > & | desc, | ||
std::vector< std::string > & | abb | ||
) | const |
Get section flags descriptors
position | Position of section in internal list of sections (0..x) |
desc | Vector for save descriptors |
abb | Vector for save abbreviations of descriptors |
unsigned long long retdec::fileinfo::FileInformation::getSectionFlagsSize | ( | std::size_t | position | ) | const |
Get number of section flags
position | Position of section in internal list of sections (0..x) |
std::string retdec::fileinfo::FileInformation::getSectionFlagsStr | ( | std::size_t | position | ) | const |
Get section flags as string
position | Position of section in internal list of sections (0..x) |
std::string retdec::fileinfo::FileInformation::getSectionIndexStr | ( | std::size_t | position | ) | const |
Get section index as string
position | Position of section in internal list of sections (0..x) |
std::string retdec::fileinfo::FileInformation::getSectionLineNumbersOffsetStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get offset of line-number entries for section
position | Position of section in internal list of sections (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionLineOffsetStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get line offset of selected section
position | Position of section in internal list of sections (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionLinkToOtherSectionStr | ( | std::size_t | position | ) | const |
Get link to another section as string
position | Position of section in internal list of sections (0..x) |
std::string retdec::fileinfo::FileInformation::getSectionMd5 | ( | std::size_t | position | ) | const |
Get section MD5
position | Position of section in internal list of sections (0..x) |
std::string retdec::fileinfo::FileInformation::getSectionMemoryAlignmentStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get section memory alignment as string
position | Position of section in internal list of sections (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionName | ( | std::size_t | position | ) | const |
Get section name
position | Position of section in internal list of sections (0..x) |
std::string retdec::fileinfo::FileInformation::getSectionNumberOfLineNumbersStr | ( | std::size_t | position | ) | const |
Get number of line-number entries for section
position | Position of section in internal list of sections (0..x) |
std::string retdec::fileinfo::FileInformation::getSectionNumberOfRelocationsStr | ( | std::size_t | position | ) | const |
Get number of relocation entries for section
position | Position of section in internal list of sections (0..x) |
std::string retdec::fileinfo::FileInformation::getSectionOffsetStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get section offset as string
position | Position of section in internal list of sections (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionRelocationsLineOffsetStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get line offset of relocation entries which are related to section
position | Position of section in internal list of sections (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionRelocationsOffsetStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get offset of relocation entries for section
position | Position of section in internal list of sections (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionSha256 | ( | std::size_t | position | ) | const |
Get section SHA256
position | Position of section in internal list of sections (0..x) |
std::string retdec::fileinfo::FileInformation::getSectionSizeInFileStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get section size in file as string
position | Position of section in internal list of sections (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionSizeInMemoryStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get section size in memory as string
position | Position of section in internal list of sections (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionTableCrc32 | ( | ) | const |
Get CRC32 of section table
std::string retdec::fileinfo::FileInformation::getSectionTableEntrySizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get section table one entry size
std::string retdec::fileinfo::FileInformation::getSectionTableMd5 | ( | ) | const |
Get MD5 of section table
std::string retdec::fileinfo::FileInformation::getSectionTableOffsetStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get section table offset
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSectionTableSha256 | ( | ) | const |
Get SHA256 of section table
std::string retdec::fileinfo::FileInformation::getSectionTableSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get section table size
std::string retdec::fileinfo::FileInformation::getSectionType | ( | std::size_t | position | ) | const |
Get section type
position | Position of section in internal list of sections (0..x) |
std::string retdec::fileinfo::FileInformation::getSegmentAlignmentStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get segment alignment
position | Position of segment in internal list of segments (0..x) |
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSegmentCrc32 | ( | std::size_t | position | ) | const |
Get segment CRC32
position | Position of segment in internal list of segments (0..x) |
unsigned long long retdec::fileinfo::FileInformation::getSegmentFlags | ( | std::size_t | position | ) | const |
Get segment flags
position | Position of segment in internal list of segments (0..x) |
void retdec::fileinfo::FileInformation::getSegmentFlagsDescriptors | ( | std::size_t | position, |
std::vector< std::string > & | desc, | ||
std::vector< std::string > & | abb | ||
) | const |
Get segment flags descriptors
position | Position of segment in internal list of segments (0..x) |
desc | Vector for save descriptors |
abb | Vector for save abbreviations of descriptors |
unsigned long long retdec::fileinfo::FileInformation::getSegmentFlagsSize | ( | std::size_t | position | ) | const |
Get size of segment flags
position | Position of segment in internal list of segments (0..x) |
std::string retdec::fileinfo::FileInformation::getSegmentFlagsStr | ( | std::size_t | position | ) | const |
Get segment flags
position | Position of segment in internal list of segments (0..x) |
std::string retdec::fileinfo::FileInformation::getSegmentIndexStr | ( | std::size_t | position | ) | const |
Get segment index
position | Position of segment in internal list of segments (0..x) |
std::string retdec::fileinfo::FileInformation::getSegmentMd5 | ( | std::size_t | position | ) | const |
Get segment MD5
position | Position of segment in internal list of segments (0..x) |
std::string retdec::fileinfo::FileInformation::getSegmentOffsetStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get offset of segment in file
position | Position of segment in internal list of segments (0..x) |
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSegmentPhysicalAddressStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get segment physical address
position | Position of segment in internal list of segments (0..x) |
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSegmentSha256 | ( | std::size_t | position | ) | const |
Get segment SHA256
position | Position of segment in internal list of segments (0..x) |
std::string retdec::fileinfo::FileInformation::getSegmentSizeInFileStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get size of segment in file
position | Position of segment in internal list of segments (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSegmentSizeInMemoryStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get size of segment in memory
position | Position of segment in internal list of segments (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSegmentTableEntrySizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get segment table one entry size
std::string retdec::fileinfo::FileInformation::getSegmentTableOffsetStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get segment table offset
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSegmentTableSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get segment table size
std::string retdec::fileinfo::FileInformation::getSegmentType | ( | std::size_t | position | ) | const |
Get type of segment
position | Position of segment in internal list of segments (0..x) |
std::string retdec::fileinfo::FileInformation::getSegmentVirtualAddressStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get segment virtual address
position | Position of segment in internal list of segments (0..x) |
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSha256 | ( | ) | const |
Get SHA256 of input file
std::string retdec::fileinfo::FileInformation::getStackCommitSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get size of the stack to commit
std::string retdec::fileinfo::FileInformation::getStackReserveSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get size of the stack to reserve
ReturnCode retdec::fileinfo::FileInformation::getStatus | ( | ) | const |
Get status
const Strings & retdec::fileinfo::FileInformation::getStrings | ( | ) | const |
Get detected strings
std::string retdec::fileinfo::FileInformation::getSymbolAddressStr | ( | std::size_t | tableIndex, |
std::size_t | symbolIndex, | ||
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get symbol address
tableIndex | Position of table in internal list of symbol tables (0..x) |
symbolIndex | Position of symbol in selected symbol table (0..x) |
format | Format of resulting string (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSymbolBind | ( | std::size_t | tableIndex, |
std::size_t | symbolIndex | ||
) | const |
Get symbol bind
tableIndex | Position of table in internal list of symbol tables (0..x) |
symbolIndex | Position of symbol in selected symbol table (0..x) |
std::string retdec::fileinfo::FileInformation::getSymbolIndexStr | ( | std::size_t | tableIndex, |
std::size_t | symbolIndex | ||
) | const |
Get symbol index
tableIndex | Position of table in internal list of symbol tables (0..x) |
symbolIndex | Position of symbol in selected symbol table (0..x) |
std::string retdec::fileinfo::FileInformation::getSymbolLinkToSection | ( | std::size_t | tableIndex, |
std::size_t | symbolIndex | ||
) | const |
Get symbol link
tableIndex | Position of table in internal list of symbol tables (0..x) |
symbolIndex | Position of symbol in selected symbol table (0..x) |
std::string retdec::fileinfo::FileInformation::getSymbolName | ( | std::size_t | tableIndex, |
std::size_t | symbolIndex | ||
) | const |
Get symbol name
tableIndex | Position of table in internal list of symbol tables (0..x) |
symbolIndex | Position of symbol in selected symbol table (0..x) |
std::string retdec::fileinfo::FileInformation::getSymbolOther | ( | std::size_t | tableIndex, |
std::size_t | symbolIndex | ||
) | const |
Get other information about symbol
tableIndex | Position of table in internal list of symbol tables (0..x) |
symbolIndex | Position of symbol in selected symbol table (0..x) |
std::string retdec::fileinfo::FileInformation::getSymbolSizeStr | ( | std::size_t | tableIndex, |
std::size_t | symbolIndex | ||
) | const |
Get size associated with symbol
tableIndex | Position of table in internal list of symbol tables (0..x) |
symbolIndex | Position of symbol in selected symbol table (0..x) |
std::string retdec::fileinfo::FileInformation::getSymbolTableName | ( | std::size_t | position | ) | const |
Get name of symbol table
position | Position of table in internal list of symbol tables (0..x) |
std::size_t retdec::fileinfo::FileInformation::getSymbolTableNumberOfSpecialInformationValues | ( | std::size_t | tableIndex, |
std::size_t | specInfoIndex | ||
) | const |
Get number of values in selected special information
tableIndex | Position of table in internal list of symbol tables (0..x) |
specInfoIndex | Position of special information in selected symbol table (0..x) |
std::size_t retdec::fileinfo::FileInformation::getSymbolTableNumberOfStoredSpecialInformation | ( | std::size_t | position | ) | const |
Get number of stored special information in symbol table
position | Position of table in internal list of symbol tables (0..x) |
std::string retdec::fileinfo::FileInformation::getSymbolTableOffsetStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get offset of symbol table
position | Position of table in internal list of symbol tables (0..x) |
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getSymbolTableSpecialInformationAbbreviation | ( | std::size_t | tableIndex, |
std::size_t | specInfoIndex | ||
) | const |
Get short description of selected special information
tableIndex | Position of table in internal list of symbol tables (0..x) |
specInfoIndex | Position of special information in selected symbol table (0..x) |
std::string retdec::fileinfo::FileInformation::getSymbolTableSpecialInformationDescription | ( | std::size_t | tableIndex, |
std::size_t | specInfoIndex | ||
) | const |
Get description of selected special information
tableIndex | Position of table in internal list of symbol tables (0..x) |
specInfoIndex | Position of special information in selected symbol table (0..x) |
std::string retdec::fileinfo::FileInformation::getSymbolTableSpecialInformationValue | ( | std::size_t | tableIndex, |
std::size_t | specInfoIndex, | ||
std::size_t | recordIndex | ||
) | const |
Get value of one record from special information
tableIndex | Position of table in internal list of symbol tables (0..x) |
specInfoIndex | Position of special information in selected symbol table (0..x) |
recordIndex | Position of record in selected special information (0..x) |
std::string retdec::fileinfo::FileInformation::getSymbolType | ( | std::size_t | tableIndex, |
std::size_t | symbolIndex | ||
) | const |
Get symbol type
tableIndex | Position of table in internal list of symbol tables (0..x) |
symbolIndex | Position of symbol in selected symbol table (0..x) |
std::string retdec::fileinfo::FileInformation::getSymbolValueStr | ( | std::size_t | tableIndex, |
std::size_t | symbolIndex | ||
) | const |
Get symbol value
tableIndex | Position of table in internal list of symbol tables (0..x) |
symbolIndex | Position of symbol in selected symbol table (0..x) |
std::string retdec::fileinfo::FileInformation::getTargetArchitecture | ( | ) | const |
Get targetArchitecture
std::string retdec::fileinfo::FileInformation::getTimeStamp | ( | ) | const |
Get time stamp
std::string retdec::fileinfo::FileInformation::getTlsCallBackAddrStr | ( | std::size_t | position, |
std::ios_base &(*)(std::ios_base &) | format | ||
) | const |
Get TLS callback
position | Position of directory in internal list of directories (0..x) |
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getTlsCallBacksAddrStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get address of callbacks of TLS
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getTlsCharacteristicsStr | ( | ) | const |
Get characteristics of TLS
std::string retdec::fileinfo::FileInformation::getTlsIndexAddrStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get address of index of TLS
format | Format of result (e.g. std::dec, std::hex) |
std::size_t retdec::fileinfo::FileInformation::getTlsNumberOfCallBacks | ( | ) | const |
Get number of callbacks of TLS
std::string retdec::fileinfo::FileInformation::getTlsRawDataEndAddrStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get end address of raw data of TLS
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getTlsRawDataStartAddrStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get start address of raw data of TLS
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getTlsZeroFillSizeStr | ( | std::ios_base &(*)(std::ios_base &) | format | ) | const |
Get size of zero fill of TLS
format | Format of result (e.g. std::dec, std::hex) |
std::string retdec::fileinfo::FileInformation::getVersionInfoLanguageCodePage | ( | std::size_t | index | ) | const |
Get code page of selected version info language
index | Index of selected version info language (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getVersionInfoLanguageLcid | ( | std::size_t | index | ) | const |
Get LCID of selected version info language
index | Index of selected version info language (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getVersionInfoStringName | ( | std::size_t | index | ) | const |
Get name of selected version info string
index | Index of selected version info string (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getVersionInfoStringValue | ( | std::size_t | index | ) | const |
Get value of selected version info string
index | Index of selected version info string (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getVisualBasicBackupLanguageDLL | ( | ) | const |
Get visual basic backup language DLL
std::string retdec::fileinfo::FileInformation::getVisualBasicCOMObjectCLSID | ( | ) | const |
Get visual basic COM object CLSID
std::string retdec::fileinfo::FileInformation::getVisualBasicCOMObjectDescription | ( | ) | const |
Get visual basic COM object description
std::string retdec::fileinfo::FileInformation::getVisualBasicCOMObjectEventsCLSID | ( | ) | const |
Get visual basic COM object events CLSID
std::string retdec::fileinfo::FileInformation::getVisualBasicCOMObjectInterfaceCLSID | ( | ) | const |
Get visual basic COM object interface CLSID
std::string retdec::fileinfo::FileInformation::getVisualBasicCOMObjectName | ( | ) | const |
Get visual basic COM object name
std::string retdec::fileinfo::FileInformation::getVisualBasicCOMObjectType | ( | ) | const |
Get visual basic COM object type
const retdec::fileformat::VisualBasicExtern * retdec::fileinfo::FileInformation::getVisualBasicExtern | ( | std::size_t | position | ) | const |
Get visual basic extern
position | Index of selected extern (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getVisualBasicExternApiName | ( | std::size_t | position | ) | const |
Get visual basic extern api name
position | Index of selected extern (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getVisualBasicExternModuleName | ( | std::size_t | position | ) | const |
Get visual basic extern module name
position | Index of selected extern (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getVisualBasicExternTableHashCrc32 | ( | ) | const |
Get visual basic extern table hash as Crc32
std::string retdec::fileinfo::FileInformation::getVisualBasicExternTableHashMd5 | ( | ) | const |
Get visual basic extern table hash as Md5
std::string retdec::fileinfo::FileInformation::getVisualBasicExternTableHashSha256 | ( | ) | const |
Get visual basic extern table hash as Sha256
bool retdec::fileinfo::FileInformation::getVisualBasicIsPcode | ( | ) | const |
Check whether visual basic uses P-Code.
true
if it does, otherwise false/
std::string retdec::fileinfo::FileInformation::getVisualBasicLanguageDLL | ( | ) | const |
Get visual basic language DLL
std::string retdec::fileinfo::FileInformation::getVisualBasicLanguageDLLPrimaryLCIDStr | ( | ) | const |
Get visual basic language DLL primary LCID
std::string retdec::fileinfo::FileInformation::getVisualBasicLanguageDLLSecondaryLCIDStr | ( | ) | const |
Get visual basic language DLL secondary LCID
std::size_t retdec::fileinfo::FileInformation::getVisualBasicNumberOfExterns | ( | ) | const |
Get visual basic number of externs
std::size_t retdec::fileinfo::FileInformation::getVisualBasicNumberOfObjects | ( | ) | const |
Get visual basic number of objects
const retdec::fileformat::VisualBasicObject * retdec::fileinfo::FileInformation::getVisualBasicObject | ( | std::size_t | position | ) | const |
Get visual basic object
position | Index of selected object (indexed from 0) |
std::string retdec::fileinfo::FileInformation::getVisualBasicObjectTableGUID | ( | ) | const |
Get visual basic object table GUID
std::string retdec::fileinfo::FileInformation::getVisualBasicObjectTableHashCrc32 | ( | ) | const |
Get visual basic object table hash as Crc32
std::string retdec::fileinfo::FileInformation::getVisualBasicObjectTableHashMd5 | ( | ) | const |
Get visual basic object table hash as Md5
std::string retdec::fileinfo::FileInformation::getVisualBasicObjectTableHashSha256 | ( | ) | const |
Get visual basic object table hash as Sha256
std::string retdec::fileinfo::FileInformation::getVisualBasicProjectDescription | ( | ) | const |
Get visual basic project description
std::string retdec::fileinfo::FileInformation::getVisualBasicProjectExeName | ( | ) | const |
Get visual basic project exe name
std::string retdec::fileinfo::FileInformation::getVisualBasicProjectHelpFile | ( | ) | const |
Get visual basic project help file
std::string retdec::fileinfo::FileInformation::getVisualBasicProjectName | ( | ) | const |
Get visual basic project name
std::string retdec::fileinfo::FileInformation::getVisualBasicProjectPath | ( | ) | const |
Get visual basic project path
std::string retdec::fileinfo::FileInformation::getVisualBasicProjectPrimaryLCIDStr | ( | ) | const |
Get visual basic project primary LCID
std::string retdec::fileinfo::FileInformation::getVisualBasicProjectSecondaryLCIDStr | ( | ) | const |
Get visual basic project secondary LCID
std::string retdec::fileinfo::FileInformation::getVisualBasicTypeLibCLSID | ( | ) | const |
Get visual basic typeLib CLSID
std::string retdec::fileinfo::FileInformation::getVisualBasicTypeLibLCIDStr | ( | ) | const |
Get visual basic typeLib LCID
std::string retdec::fileinfo::FileInformation::getVisualBasicTypeLibMajorVersionStr | ( | ) | const |
Get visual basic typeLib major version
std::string retdec::fileinfo::FileInformation::getVisualBasicTypeLibMinorVersionStr | ( | ) | const |
Get visual basic typeLib minor version
bool retdec::fileinfo::FileInformation::hasCertificateTableCounterSignerCertificate | ( | ) | const |
Find out if there is counter-signer certificate
true
if there is counter-signer certificate, false
otherwise bool retdec::fileinfo::FileInformation::hasCertificateTableRecords | ( | ) | const |
Find out if there are any records in certificate table
true
if certificate table is not empty, false
otherwise bool retdec::fileinfo::FileInformation::hasCertificateTableSignerCertificate | ( | ) | const |
Find out if there is signer certificate
true
if there is signer certificate, false
otherwise bool retdec::fileinfo::FileInformation::hasDotnetBlobStream | ( | ) | const |
Checks whether .NET information contain blob stream.
true
if contains, otherwise false
. bool retdec::fileinfo::FileInformation::hasDotnetGuidStream | ( | ) | const |
Checks whether .NET information contain GUID stream.
true
if contains, otherwise false
. bool retdec::fileinfo::FileInformation::hasDotnetMetadataStream | ( | ) | const |
Checks whether .NET information contain metadata stream.
true
if contains, otherwise false
. bool retdec::fileinfo::FileInformation::hasDotnetStringStream | ( | ) | const |
Checks whether .NET information contain string stream.
true
if contains, otherwise false
. bool retdec::fileinfo::FileInformation::hasDotnetTypeLibId | ( | ) | const |
Checks whether .NET information contain TypeLib ID.
true
if contains, otherwise false
. bool retdec::fileinfo::FileInformation::hasDotnetTypeRefTableRecords | ( | ) | const |
Find out if there are any records in typeref table
true
if typeref is not empty, false
otherwise bool retdec::fileinfo::FileInformation::hasDotnetUserStringStream | ( | ) | const |
Checks whether .NET information contain user string stream.
true
if contains, otherwise false
. bool retdec::fileinfo::FileInformation::hasExportTableRecords | ( | ) | const |
Find out if there are any records in export table
true
if export table is not empty, false
otherwise bool retdec::fileinfo::FileInformation::hasImportTableRecords | ( | ) | const |
Find out if there are any records in import table
true
if import table is not empty, false
otherwise bool retdec::fileinfo::FileInformation::hasResourceTableRecords | ( | ) | const |
Find out if there are any records in resource table
true
if resource table is not empty, false
otherwise bool retdec::fileinfo::FileInformation::hasRichHeaderRecords | ( | ) | const |
Find out if there are any records in rich header
true
if rich header is not empty, false
otherwise bool retdec::fileinfo::FileInformation::hasStrings | ( | ) | const |
Check if some strings in input file was detected
true
if at least one string was detected, false
otherwise bool retdec::fileinfo::FileInformation::isDotnetUsed | ( | ) | const |
Checks whether .NET information are used.
true
if it is used, otherwise false/
bool retdec::fileinfo::FileInformation::isSignaturePresent | ( | ) | const |
Get whether the signature is present in the file
true
if present, otherwise false
. bool retdec::fileinfo::FileInformation::isSignatureVerified | ( | ) | const |
Get whether the signature is verified
true
if present, otherwise false
. std::string retdec::fileinfo::FileInformation::isSignatureVerifiedStr | ( | const std::string & | t = "true" , |
const std::string & | f = "false" |
||
) | const |
Get whether the signature is verified in string representation
t | String to return if verified. |
f | String to return if not verified. |
t
if verified, otherwise f
. bool retdec::fileinfo::FileInformation::isTlsUsed | ( | ) | const |
Check whether TLS is used
true
if TLS is used, false
otherwise bool retdec::fileinfo::FileInformation::isVisualBasicUsed | ( | ) | const |
Check whether visual basic informations are used.
true
if it is used, otherwise false/
void retdec::fileinfo::FileInformation::removeRedundantCryptoRules | ( | ) |
Remove redundant detected crypto patterns
void retdec::fileinfo::FileInformation::setAnomalies | ( | const std::vector< std::pair< std::string, std::string >> & | anom | ) |
Sets anomalies
anom | Anomalies |
void retdec::fileinfo::FileInformation::setCertificateTable | ( | const retdec::fileformat::CertificateTable * | sTable | ) |
Set certificate table
sTable | Information about certificate table |
void retdec::fileinfo::FileInformation::setChecksum | ( | unsigned long long | fileChecksum | ) |
Set file checksum
fileChecksum | File checksum |
void retdec::fileinfo::FileInformation::setCoffFileHeaderSize | ( | unsigned long long | headerSize | ) |
Set size of COFF file header
headerSize | Size of COFF file header |
void retdec::fileinfo::FileInformation::setCompactManifest | ( | const std::string & | fileCompactManifest | ) |
Set compact version of manifest
fileCompactManifest | Compact version of manifest |
void retdec::fileinfo::FileInformation::setCrc32 | ( | const std::string & | fileCrc32 | ) |
Get CRC32 of input file
fileCrc32 | CRC32 of input file |
void retdec::fileinfo::FileInformation::setDepsListFailedToLoad | ( | const std::string & | depsList | ) |
Sets the name of the dependency file that failed to load
void retdec::fileinfo::FileInformation::setDllFlags | ( | unsigned long long | flagsArray | ) |
Set DLL flags
flagsArray | Bit flags as one number |
void retdec::fileinfo::FileInformation::setDllFlagsSize | ( | unsigned long long | size | ) |
Set size of DLL flags
size | Size od DLL flags |
void retdec::fileinfo::FileInformation::setDotnetBlobStreamInfo | ( | std::uint64_t | streamOffset, |
std::uint64_t | streamSize | ||
) |
Sets .NET blob stream information.
streamOffset | Stream offset. |
streamSize | Stream size. |
void retdec::fileinfo::FileInformation::setDotnetDefinedClassList | ( | const std::vector< std::shared_ptr< retdec::fileformat::DotnetClass >> & | dotnetClassList | ) |
Sets .NET defined class list.
dotnetClassList | Defined .NET classes. |
void retdec::fileinfo::FileInformation::setDotnetGuidStreamInfo | ( | std::uint64_t | streamOffset, |
std::uint64_t | streamSize | ||
) |
Sets .NET GUID stream information.
streamOffset | Stream offset. |
streamSize | Stream size. |
void retdec::fileinfo::FileInformation::setDotnetImportedClassList | ( | const std::vector< std::shared_ptr< retdec::fileformat::DotnetClass >> & | dotnetClassList | ) |
Sets .NET imported class list.
dotnetClassList | Imported .NET classes. |
void retdec::fileinfo::FileInformation::setDotnetMetadataHeaderAddress | ( | std::uint64_t | address | ) |
Sets .NET metadata header address.
address | .NET metadata header address. |
void retdec::fileinfo::FileInformation::setDotnetMetadataStreamInfo | ( | std::uint64_t | streamOffset, |
std::uint64_t | streamSize | ||
) |
Sets .NET metadata stream information.
streamOffset | Stream offset. |
streamSize | Stream size. |
void retdec::fileinfo::FileInformation::setDotnetModuleVersionId | ( | const std::string & | moduleVersionId | ) |
Sets .NET module version ID.
moduleVersionId | Module version ID. |
void retdec::fileinfo::FileInformation::setDotnetRuntimeVersion | ( | std::uint64_t | majorVersion, |
std::uint64_t | minorVersion | ||
) |
Sets .NET runtime version.
majorVersion | .NET major runtime version. |
minorVersion | .NET minor runtime version. |
void retdec::fileinfo::FileInformation::setDotnetStringStreamInfo | ( | std::uint64_t | streamOffset, |
std::uint64_t | streamSize | ||
) |
Sets .NET string stream information.
streamOffset | Stream offset. |
streamSize | Stream size. |
void retdec::fileinfo::FileInformation::setDotnetTypeLibId | ( | const std::string & | typeLibId | ) |
Sets .NET typelib ID.
typeLibId | TypeLib ID. |
void retdec::fileinfo::FileInformation::setDotnetTypeRefhashCrc32 | ( | const std::string & | crc32 | ) |
Sets .NET typeref hash as CRC32.
crc32 | Hash as CRC32. |
void retdec::fileinfo::FileInformation::setDotnetTypeRefhashMd5 | ( | const std::string & | md5 | ) |
Sets .NET typeref hash as MD5.
md5 | Hash as MD5. |
void retdec::fileinfo::FileInformation::setDotnetTypeRefhashSha256 | ( | const std::string & | sha256 | ) |
Sets .NET typeref hash as SHA256.
sha256 | Hash as SHA256. |
void retdec::fileinfo::FileInformation::setDotnetUsed | ( | bool | set | ) |
Sets whether .NET information are used.
set | true if used, otherwise false . |
void retdec::fileinfo::FileInformation::setDotnetUserStringStreamInfo | ( | std::uint64_t | streamOffset, |
std::uint64_t | streamSize | ||
) |
Sets .NET user string stream information.
streamOffset | Stream offset. |
streamSize | Stream size. |
void retdec::fileinfo::FileInformation::setEndianness | ( | const std::string & | fileEndianness | ) |
Set endianness
fileEndianness | File endianness |
void retdec::fileinfo::FileInformation::setExportTable | ( | const retdec::fileformat::ExportTable * | sTable | ) |
Set export table
sTable | Information about export table |
void retdec::fileinfo::FileInformation::setFileClass | ( | const std::string & | fileclass | ) |
Set file class
fileclass | File class |
void retdec::fileinfo::FileInformation::setFileFlags | ( | unsigned long long | flagsArray | ) |
Set file flags
flagsArray | Bit flags as one number |
void retdec::fileinfo::FileInformation::setFileFlagsSize | ( | unsigned long long | size | ) |
Set flags size
size | Number of file flags |
void retdec::fileinfo::FileInformation::setFileFormat | ( | const std::string & | fileformat | ) |
Set file format
fileformat | File format in string representation |
void retdec::fileinfo::FileInformation::setFileFormatEnum | ( | retdec::fileformat::Format | format | ) |
Set file format
format | File format in enumeration representation |
void retdec::fileinfo::FileInformation::setFileHeaderSize | ( | unsigned long long | size | ) |
Set size of file header
size | Size of file header |
void retdec::fileinfo::FileInformation::setFileHeaderVersion | ( | const std::string & | version | ) |
Set file header version
version | Version of file header |
void retdec::fileinfo::FileInformation::setFileStatus | ( | const std::string & | fileStatus | ) |
Set file status
fileStatus | File status |
void retdec::fileinfo::FileInformation::setFileType | ( | const std::string & | filetype | ) |
Set file type
filetype | File type |
void retdec::fileinfo::FileInformation::setFileVersion | ( | const std::string & | version | ) |
Set file version
version | Version of file |
void retdec::fileinfo::FileInformation::setHeapCommitSize | ( | unsigned long long | size | ) |
Set size of the local heap space to commit
size | Size of the local heap space to commit |
void retdec::fileinfo::FileInformation::setHeapReserveSize | ( | unsigned long long | size | ) |
Set size of the local heap space to reserve
size | Size of the local heap space to reserve |
void retdec::fileinfo::FileInformation::setImportTable | ( | const retdec::fileformat::ImportTable * | sTable | ) |
Set import table
sTable | Information about import table |
void retdec::fileinfo::FileInformation::setLoadedBaseAddress | ( | unsigned long long | baseAddress | ) |
Sets loaded image base address.
baseAddress | Base address of image. |
void retdec::fileinfo::FileInformation::setLoaderErrorInfo | ( | const retdec::fileformat::LoaderErrorInfo & | ldrErrInfo | ) |
Sets loader error message.
ldrErrInfo | The loader error message. |
void retdec::fileinfo::FileInformation::setLoaderStatusMessage | ( | const std::string & | statusMessage | ) |
Sets loader status message.
statusMessage | The status message of the loader. |
void retdec::fileinfo::FileInformation::setManifest | ( | const std::string & | fileManifest | ) |
Set manifest
fileManifest | File manifest |
void retdec::fileinfo::FileInformation::setMd5 | ( | const std::string & | fileMd5 | ) |
Set MD5 of input file
fileMd5 | MD5 of input file |
void retdec::fileinfo::FileInformation::setNumberOfBitsInByte | ( | unsigned long long | bitsInByte | ) |
Set number of bits in one byte
bitsInByte | Number of bits in one byte |
void retdec::fileinfo::FileInformation::setNumberOfBitsInWord | ( | unsigned long long | bitsInWord | ) |
Set number of bits in one word
bitsInWord | Number of bits in one word |
void retdec::fileinfo::FileInformation::setNumberOfDeclaredDataDirectories | ( | unsigned long long | noOfDirectories | ) |
Set declared number of data directories in file
noOfDirectories | Declared number of data directories in file |
void retdec::fileinfo::FileInformation::setNumberOfDeclaredSections | ( | unsigned long long | noOfSections | ) |
Set declared number of sections in file
noOfSections | Declared number of sections in file |
void retdec::fileinfo::FileInformation::setNumberOfDeclaredSegments | ( | unsigned long long | noOfSegments | ) |
Set declared number of segments in file
noOfSegments | Declared number of segments in file |
void retdec::fileinfo::FileInformation::setNumberOfDeclaredSymbolTables | ( | unsigned long long | noOfTables | ) |
Set declared number of symbol tables in file
noOfTables | Declared number of symbol tables in file |
void retdec::fileinfo::FileInformation::setOptionalHeaderSize | ( | unsigned long long | headerSize | ) |
Set size of optional file header
headerSize | Size of optional file header |
void retdec::fileinfo::FileInformation::setOsAbi | ( | const std::string & | osabi | ) |
Set operating system or ABI extension
osabi | OS or ABI extension |
void retdec::fileinfo::FileInformation::setOsAbiVersion | ( | const std::string & | abiversion | ) |
Set OS or ABI version
abiversion | Version of OS or ABI |
void retdec::fileinfo::FileInformation::setOverlayEntropy | ( | double | entropy | ) |
Set overlay entropy
entropy | Entropy of overlay |
void retdec::fileinfo::FileInformation::setOverlayOffset | ( | unsigned long long | offset | ) |
Set overlay offset
offset | Overlay offset |
void retdec::fileinfo::FileInformation::setOverlaySize | ( | unsigned long long | size | ) |
Set overlay size
size | Size of overlay |
void retdec::fileinfo::FileInformation::setPathToFile | ( | const std::string & | filepath | ) |
Set binary file name
filepath | Path to input file |
void retdec::fileinfo::FileInformation::setPdbAge | ( | std::size_t | sAge | ) |
Set age of related PDB file
sAge | Age of related PDB file |
void retdec::fileinfo::FileInformation::setPdbGuid | ( | const std::string & | sGuid | ) |
Set GUID of related PDB file
sGuid | GUID of related PDB file |
void retdec::fileinfo::FileInformation::setPdbPath | ( | const std::string & | sPath | ) |
Set original path to related PDB file
sPath | Original path to related PDB file |
void retdec::fileinfo::FileInformation::setPdbTimeStamp | ( | std::size_t | sTimeStamp | ) |
Set timestamp of related PDB file
sTimeStamp | Timestamp of related PDB file |
void retdec::fileinfo::FileInformation::setPdbType | ( | const std::string & | sType | ) |
Set type of related PDB file
sType | Type of related PDB file |
void retdec::fileinfo::FileInformation::setResourceTable | ( | const retdec::fileformat::ResourceTable * | sTable | ) |
Set resource table
sTable | Information about resource table |
void retdec::fileinfo::FileInformation::setRichHeader | ( | const retdec::fileformat::RichHeader * | rHeader | ) |
Set rich header
rHeader | Information about rich header |
void retdec::fileinfo::FileInformation::setSectionTableCrc32 | ( | const std::string & | sCrc32 | ) |
Set CRC32 of section table
sCrc32 | CRC32 of section table |
void retdec::fileinfo::FileInformation::setSectionTableEntrySize | ( | unsigned long long | entrySize | ) |
Set size of one entry in section table
entrySize | Size of one entry in section table |
void retdec::fileinfo::FileInformation::setSectionTableMd5 | ( | const std::string & | sMd5 | ) |
Set MD5 of section table
sMd5 | MD5 of section table |
void retdec::fileinfo::FileInformation::setSectionTableOffset | ( | unsigned long long | offset | ) |
Set section table offset
offset | Section table offset |
void retdec::fileinfo::FileInformation::setSectionTableSha256 | ( | const std::string & | sSha256 | ) |
Set SHA256 of section table
sSha256 | SHA256 of section table |
void retdec::fileinfo::FileInformation::setSectionTableSize | ( | unsigned long long | tableSize | ) |
Set section table size
tableSize | Size of section table |
void retdec::fileinfo::FileInformation::setSegmentTableEntrySize | ( | unsigned long long | entrySize | ) |
Set size of one entry in segment table
entrySize | Size of one entry in segment table |
void retdec::fileinfo::FileInformation::setSegmentTableOffset | ( | unsigned long long | offset | ) |
Set segment table offset
offset | Segment table offset |
void retdec::fileinfo::FileInformation::setSegmentTableSize | ( | unsigned long long | tableSize | ) |
Set segment table size
tableSize | Size of segment table |
void retdec::fileinfo::FileInformation::setSha256 | ( | const std::string & | fileSha256 | ) |
Set SHA256 of input file
fileSha256 | SHA256 of input file |
void retdec::fileinfo::FileInformation::setSignatureVerified | ( | bool | verified | ) |
Set whether the signature is verified
verified | true if verified, otherwise false . |
void retdec::fileinfo::FileInformation::setStackCommitSize | ( | unsigned long long | size | ) |
Set size of the stack to commit
size | Size of the stack to commit |
void retdec::fileinfo::FileInformation::setStackReserveSize | ( | unsigned long long | size | ) |
Set size of the stack to reserve
size | Size of the stack to reserve |
void retdec::fileinfo::FileInformation::setStatus | ( | retdec::cpdetect::ReturnCode | state | ) |
Set instance status
state | New status of this instance |
void retdec::fileinfo::FileInformation::setStrings | ( | const std::vector< retdec::fileformat::String > * | sStrings | ) |
Set pointer to detected strings
sStrings | Pointer to detected strings |
void retdec::fileinfo::FileInformation::setTargetArchitecture | ( | const std::string & | architecture | ) |
Set file target architecture
architecture | File target architecture |
void retdec::fileinfo::FileInformation::setTimeStamp | ( | const std::string & | timestamp | ) |
Set time stamp
timestamp | Time stamp |
void retdec::fileinfo::FileInformation::setTlsInfo | ( | const retdec::fileformat::TlsInfo * | info | ) |
Set TLS information
info | Information TLS |
void retdec::fileinfo::FileInformation::setVisualBasicInfo | ( | const retdec::fileformat::VisualBasicInfo * | vbInfo | ) |
Set visual basic information
vbInfo | Information about visual basic |
void retdec::fileinfo::FileInformation::setVisualBasicUsed | ( | bool | set | ) |
Sets whether visual basic informations are used.
set | true if used, otherwise false . |
void retdec::fileinfo::FileInformation::sortCryptoPatternMatches | ( | ) |
Sort detected crypto pattern matches based on their offset
void retdec::fileinfo::FileInformation::sortMalwarePatternMatches | ( | ) |
Sort detected malware pattern matches based on their offset
void retdec::fileinfo::FileInformation::sortOtherPatternMatches | ( | ) |
Sort detected other pattern matches based on their offset
|
private |
If non-empty, trhis contains the name of the dependency list that failed to load.
detected anomalies
|
private |
information about certificates
|
private |
compact version of XML manifest
|
private |
CRC32 of input file.
|
private |
detected crypto patterns
|
private |
information about data directories
|
private |
.NET information
|
private |
information about dynamic sections
|
private |
information about ELF core files
|
private |
information about ELF sections
|
private |
endianness
|
private |
information about exports
|
private |
|
private |
class of file
|
private |
format of input file in string representation
|
private |
format of input file in enumeration representation
|
private |
path to input file
|
private |
type of file (e.g. executable file)
|
private |
file header
|
private |
information about imports
|
private |
information about loaded image
|
private |
detected malware patterns
|
private |
XML manifest.
|
private |
MD5 of input file.
std::vector<std::string> retdec::fileinfo::FileInformation::messages |
error, warning and other messages
|
private |
other detected patterns
|
private |
information about related PDB file
|
private |
relocation tables
|
private |
information about resources in input file
|
private |
rich header
|
private |
CRC32 of section table.
|
private |
MD5 of section table.
|
private |
SHA256 of section table
|
private |
information about sections in file
|
private |
information about segments in file
|
private |
SHA256 of input file.
|
private |
indicates whether the signature is present and if it is verified
|
private |
|
private |
detected strings
|
private |
symbol tables
|
private |
target architecture
|
private |
information about thread-local storage
retdec::cpdetect::ToolInformation retdec::fileinfo::FileInformation::toolInfo |
detected tools
|
private |
visual basic information