---
name: "ranal2"
section: "1"
platform: "linux"
package: "radare2"
version: "0.9-3"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/ranal2"
---

# ranal2(1)

radare2 code analysis commandline frontend

## NAME

**ranal2** – radare2 code analysis commandline frontend

## SYNOPSIS

**ranal2** \[-BhL\] \[-a arch\] \[-b bits\] \[-l inputlen\] \[-o offset\] *hexpairs\|-*

## DESCRIPTION

ranal2 provides a commandline utility to test and perform some code analysis work on a provided hexpair as argument or from stdin if the argument is '-'.

- **-a** *arch*

  Set a different architecture (x86, ppc, arm, java)

- **-b** *bits*

  Specify bit size of registers: 8, 16, 32, 64

- **-B**

  Input is binary, -l is mandatory. Useful for stdin

- **-h**

  Show help message

- **-l** *len*

  Specify length of input data

- **-L**

  List all supported code analysis plugins

- **-o** *offset*

  Offset of the opcode to assemble

## SEE ALSO

[radare2(1)](/radare2/1.md), [rafind2(1)](/rafind2/1.md), [rahash2(1)](/rahash2/1.md), [rabin2(1)](/rabin2/1.md), [radiff2(1)](/radiff2/1.md), [ragg2(1)](/ragg2/1.md), [rarun2(1)](/rarun2/1.md), [rasm2(1)](/rasm2/1.md), [rax2(1)](/rax2/1.md),

## AUTHORS

pancake \<pancake@nopcode.org\>, nibble \<nibble@develsec.org\>
