# `mix mojoler.inspect`
[🔗](https://github.com/thanos/mojoler/blob/v0.1.0/lib/mix/tasks/mojoler.inspect.ex#L1)

Prints `nif_init`, undefined symbols, and dynamic dependencies for one library.

`run/1` is the `c:Mix.Task.run/1` callback behind `mix mojoler.inspect`.

# `run`

```elixir
@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.Error` when the script exits non-zero

## Examples

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
