IDA C++ SDK 9.2
Loading...
Searching...
No Matches
launch_process_params_t Struct Reference

Information for launching a process with IDA API Note: all string data such as paths (e.g., 'path', 'args' & 'startdir') or 'env' should be UTF-8 encoded. More...

#include <pro.h>

Public Attributes

size_t cb = sizeof(*this)
 size of this structure
int flags = 0
 Launch process flags
const char * path = nullptr
 file to run
const char * args = nullptr
 command line arguments
ssize_t in_handle = -1
 handle for stdin or -1
ssize_t out_handle = -1
 handle for stdout or -1
ssize_t err_handle = -1
 handle for stderr or -1
char * env = nullptr
 zero separated environment variables that will be appended to the existing environment block (existing variables will be updated).
const char * startdir = nullptr
 current directory for the new process
voidinfo = nullptr
 os specific info (on windows it points to PROCESS_INFORMATION) on unix, not used

Detailed Description

Information for launching a process with IDA API Note: all string data such as paths (e.g., 'path', 'args' & 'startdir') or 'env' should be UTF-8 encoded.

Member Data Documentation

◆ cb

size_t launch_process_params_t::cb = sizeof(*this)

size of this structure

◆ flags

int launch_process_params_t::flags = 0

◆ path

const char* launch_process_params_t::path = nullptr

file to run

◆ args

const char* launch_process_params_t::args = nullptr

command line arguments

◆ in_handle

ssize_t launch_process_params_t::in_handle = -1

handle for stdin or -1

◆ out_handle

ssize_t launch_process_params_t::out_handle = -1

handle for stdout or -1

◆ err_handle

ssize_t launch_process_params_t::err_handle = -1

handle for stderr or -1

◆ env

char* launch_process_params_t::env = nullptr

zero separated environment variables that will be appended to the existing environment block (existing variables will be updated).

each variable has the following form: var=value\0 must be terminated with two zero bytes!

◆ startdir

const char* launch_process_params_t::startdir = nullptr

current directory for the new process

◆ info

void* launch_process_params_t::info = nullptr

os specific info (on windows it points to PROCESS_INFORMATION) on unix, not used


The documentation for this struct was generated from the following file:
  • ida-sdk/src/include/pro.h