mix mojoler.inspect (mojoler v0.1.0)

Copy Markdown View Source

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

Inspects one shared library.

Functions

run(args)

@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

Examples

iex> Mix.Tasks.Mojoler.Inspect.run([])
nil