analyze-stacksplit

command module
v0.0.0-...-af1fe94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

README

analyze-stacksplit

This is a tool (written in Go) that analyzes gccgo/gollvm binary stack-split prolog characteristics. Intended as a development/debugging tool for compiler developers.

Usage:

% analyze-stacksplit /tmp/himom.exe
stats for '/tmp/himom.exe:
+ leaf functions: 237
+ nonsplit functions: 172
+ morestack functions: 3891
+ morestack_non_split functions: 441
...
%

You can also ask for a detailed report using the "-detail" command line flag. This will dump out the names of the functions in each category.

Notes:

  • tested/usable only for linux/amd64 binaries
  • currently works by parsing the output of 'objdump -d', which is brittle/fragile (also can be confused by assembly functions, which might not pattern-match properly)

Documentation

Overview

This program reads in DWARF info for a given load module (shared library or executable) and inspects it for problems/insanities, primarily abstract origin references that are incorrect. Can be run on object files as well, in theory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL