Name: firmware-address2line
Owner: Particle
Description: null
Forked from: avtolstoy/addr2line
Created: 2017-10-19 20:41:09.0
Updated: 2017-10-19 20:41:30.0
Pushed: 2018-01-03 18:27:09.0
Homepage: null
Size: 17
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
t Addr2Line = require('addr2line').Addr2Line;
resolver = new Addr2Line(['/path/to/bin1.elf', '/path/to/bin2.elf']);
lver.resolve('0x123456').then((res) => {
nsole.log(res);
t addr2line = require('addr2line').addr2line;
resolver = addr2line(['/path/to/bin1.elf', '/path/to/bin2.elf'], '0x123456').then((res) => {
nsole.log(res);
t Addr2Line = require('addr2line').Addr2Line;
t opts = {
addr2line tool binary name
n: 'addr2line',
addr2line tool prefix
The resulting binary name is a concatenation of prefix and bin
e.g. {bin: 'addr2line', prefix: 'arm-none-eabi-'} -> 'arm-none-eabi-addr2line'
efix: '',
Unwind inlined functions
lines: true,
Strip path from filenames
senames: false,
Resolve functions
nctions: true,
Demange functions
mangle: true
resolver = new Addr2Line(['/path/to/bin1.elf', '/path/to/bin2.elf'], opts);
lver.resolve('0x123456').then((res) => {
nsole.log(res);