Prints nif_init, undefined symbols, and dynamic dependencies for one library.
run/1 is the Mix.Task.run/1 callback behind mix mojoler.inspect.
Summary
Functions
@spec run([Path.t()]) :: nil
Inspects one shared library.
args is the task argv. The first element is an optional path to a .so
file. When args is empty, the path is priv/native/libpoc.so.
Returns
nil when the script exits 0.
Raises
Mix.Errorwhen the script exits non-zero
Examples
iex> Mix.Tasks.Mojoler.Inspect.run([])
nil