Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
janitor_t< T > Struct Template Reference

Resource janitor to facilitate use of the RAII idiom. More...

#include <pro.h>

Public Member Functions

 janitor_t (T &r)
 Constructor.
 
Loader Input Source

Starting with v4.8 IDA can load and run remote files.

In order to do that, we replace the FILE* in the loader modules with an abstract input source (linput_t). The source might be linked to a local or remote file.

 ~janitor_t ()
 We provide no implementation for this function, you should provide specialized implementation yourself. More...
 

Protected Attributes

T & resource
 

Detailed Description

template<typename T>
struct janitor_t< T >

Resource janitor to facilitate use of the RAII idiom.

Constructor & Destructor Documentation

◆ ~janitor_t()

file_janitor_t::~janitor_t
inline

We provide no implementation for this function, you should provide specialized implementation yourself.

Free the linput_t.


The documentation for this struct was generated from the following files: