Skip to content

Instantly share code, notes, and snippets.

@fwhacking
fwhacking / sections
Created February 17, 2011 16:20
Print the sections of a binary (offset, length, name) in a nice and compact way
#!/bin/sh
#
# Copyright (C) 2011 <fwhacking|gmail:com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
OBJDUMP=$(which objdump)
AWK=$(which awk)