FFI::Probe::Runner(3pm)

FFI::Probe::Runner3pm

Probe runner for ffi

Usage

 use FFI::Probe::Runner;
 
 my $runner = FFI::Probe::Runner->new;
 $runner->run('foo.so');

Version

version 2.10

Overview

This class executes code in a dynamic library for probing and detecting platform properties.

Constructor

new

 my $runner = FFI::Probe::Runner->new(%args);

Creates a new instance.

exe

The path to the dlrun wrapper. The default is usually correct.

flags

The flags to pass into "dlopen". The default is "RTLD_LAZY" on Unix and 0 on windows..

Methods

exe

 my $exe = $runner->exe;

The path to the dlrun wrapper.

flags

 my $flags = $runner->flags;

The flags to pass into "dlopen".

verify

 $runner->verify;

Verifies the dlrun wrapper is working. Throws an exception in the event of failure.

run

 $runner->run($dll, @args);

Runs the "dlmain" function in the given dynamic library, passing in the given arguments. Returns a FFI::Probe::Runner::Result object which contains the results.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Author

Author: Graham Ollis <[email protected]>

Contributors:

Bakkiaraj Murugesan (bakkiaraj)

Dylan Cali (calid)

pipcet

Zaki Mughal (zmughal)

Fitz Elliott (felliott)

Vickenty Fesunov (vyf)

Gregor Herrmann (gregoa)

Shlomi Fish (shlomif)

Damyan Ivanov

Ilya Pavlov (Ilya33)

Petr Písař (ppisar)

Mohammad S Anwar (MANWAR)

Håkon Hægland (hakonhagland, HAKONH)

Meredith (merrilymeredith, MHOWARD)

Diab Jerius (DJERIUS)

Eric Brine (IKEGAMI)

szTheory

José Joaquín Atria (JJATRIA)

Pete Houston (openstrike, HOUSTON)

Lukas Mai (MAUKE)

From libffi-platypus-perl 2.10-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.