retdec
Namespaces | Functions
utils.h File Reference

Auxiliary functions. More...

#include <cstdint>
#include <memory>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

 yaramod
 

Functions

std::shared_ptr< yaramod::HexString > getHexPattern (const yaramod::Rule *rule, const std::string &name)
 
std::string getName (const yaramod::Rule *rule)
 
std::string collectNames (const std::vector< yaramod::Rule * > &rules)
 

Detailed Description

Auxiliary functions.

Function Documentation

◆ collectNames()

std::string collectNames ( const std::vector< yaramod::Rule * > &  rules)

◆ getHexPattern()

std::shared_ptr<yaramod::HexString> getHexPattern ( const yaramod::Rule *  rule,
const std::string &  name 
)

◆ getName()

std::string getName ( const yaramod::Rule *  rule)