ARM disassembly

Is there a tool that analyzes and can highlight what each line of code means. I am not looking for a decompiler like the Hex-Rays decompiler. I am looking for a simple tool that should help in reading assembly code.

+7
source share
4 answers

How about using objdump ?

$ cat add.c int add(int a, int b) { return a + b; } $ arm-linux-gnueabihf-gcc -c -O2 add.c $ arm-linux-gnueabihf-objdump -d add.o add.o: file format elf32-littlearm Disassembly of section .text: 00000000 <add>: 0: 1840 adds r0, r0, r1 2: 4770 bx lr 

It can also provide mixing of the source code if your object file contains debugging information (gcc -g) and if you supply -S to objdump.

+9
source

The Online Disassembler (ODA) supports ARM and many other architectures. You can enter binary data in the Live View and watch how disassembly appears as you type, or you can upload a file for dismantling. A good feature of this site is that you can share the disassembly link with others.

http://www.onlinedisassembler.com

+7
source

How about a free program :: http://pel.hu/armu/

+2
source

As you mentioned in your question, IDA Pro can also disassemble ARM.
Also, have you tried ARM DS-5 Development Studio ?
Some features are more hardware related, but the IDE is very good (eclipse).

Features:

  • Debugging support for platforms with Android OS, Android OS and Linux and Android OS.
  • Non-intrusive cycle with precise ETM tracking and PTM tracing
  • Full support for SMP systems
  • Automated debugging sessions for faster debugging cycles
  • ITM and STM Tracking
  • Support for pre-configured and custom platforms

The manual says that it contains:

  • DS-5 debugger covering all stages of product development
  • ARM 5.04 compiler for embedded and non-metallic code
  • Linaro GCC Toolchain 2013.03 for Linux Applications and the Linux Kernel
  • ARM Streamline ™ Performance Analyzer for a variety of operating systems, including Linux, Android, and RTX.
  • Eclipse IDE, source code editor and project manager
  • Fixed Virtual Platforms (FVPs) for the Cortex ™ -A8 and Cortex-A9 Quad-Core Processors
  • Examples of projects and documentation
+2
source

All Articles