Sha256: 997fa3f53663bcc88492611272878a6a34cc67cf9e4e45d6d05a4b830a0d5447

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

#pragma once

#include "c_frida.h"

extern VALUE mCFrida;
extern VALUE cDevice;

typedef struct {
    FridaDevice	*device_handle;
    char		*address;
} open_channel_proxy_args;

typedef struct {
    FridaDevice	*device_handle;
    FridaFrontmostQueryOptions *options;
} get_frontmost_application_proxy_args;

typedef struct {
    FridaDevice	*device_handle;
    FridaProcessQueryOptions *options;
} enumerate_processes_proxy_args;

typedef struct {
    FridaDevice	*device_handle;
    FridaApplicationQueryOptions *options;
} enumerate_applications_proxy_args;

typedef struct {
    FridaDevice	*device_handle;
    char		*program;
    FridaSpawnOptions *options;
} spawn_sync_proxy_args;

typedef struct {
    FridaDevice *device_handle;
    guint		pid;
} resume_sync_proxy_args;

typedef resume_sync_proxy_args kill_sync_proxy_args;

typedef struct {
    FridaDevice *device_handle;
    guint		pid;
    GBytes 		*data;
} input_sync_proxy_args;

typedef struct {
    FridaDevice *device_handle;
    guint		pid;
    char		*path;
    char		*entrypoint;
    char		*data;
} inject_library_file_sync_proxy_args;

typedef struct {
    FridaDevice *device_handle;
    guint		pid;
    GBytes		*blob;
    char		*entrypoint;
    char		*data;
} inject_library_blob_sync_proxy_args;

typedef struct {
    FridaDevice *device_handle;
    guint		pid;
    FridaSessionOptions	*options;
} attach_sync_proxy_args;

void	define_Device();
VALUE	Device_from_FridaDevice(FridaDevice *device);
int		array_all_type(VALUE arr, VALUE rtype);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
frida-0.1.1 ext/c_frida/inc/Device.h