|FFI::Probe::Runner(3pm)||User Contributed Perl Documentation||FFI::Probe::Runner(3pm)|
NAME¶FFI::Probe::Runner - Probe runner for FFI
use FFI::Probe::Runner; my $runner = FFI::Probe::Runner->new; $runner->run('foo.so');
DESCRIPTION¶This class executes code in a dynamic library for probing and detecting platform properties.
my $runner = FFI::Probe::Runner->new(%args);
Creates a new instance.
- The path to the dlrun wrapper. The default is usually correct.
- The flags to pass into "dlopen". The default is "RTLD_LAZY" on Unix and 0 on windows..
my $exe = $runner->exe;
The path to the dlrun wrapper.
my $flags = $runner->flags;
The flags to pass into "dlopen".
Verifies the dlrun wrapper is working. Throws an exception in the event of failure.
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.
AUTHOR¶Author: Graham Ollis <firstname.lastname@example.org>
Bakkiaraj Murugesan (bakkiaraj)
Dylan Cali (calid)
Zaki Mughal (zmughal)
Fitz Elliott (felliott)
Vickenty Fesunov (vyf)
Gregor Herrmann (gregoa)
Shlomi Fish (shlomif)
Ilya Pavlov (Ilya33)
Petr Pisar (ppisar)
Mohammad S Anwar (MANWAR)
Håkon Hægland (hakonhagland, HAKONH)
Meredith (merrilymeredith, MHOWARD)
COPYRIGHT AND LICENSE¶This software is copyright (c) 2015,2016,2017,2018,2019 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.