radare/radare2-webui

View on GitHub
www/m/js/widgets/DisassemblyFunctionsFullWidget.js

Summary

Maintainability
A
1 hr
Test Coverage
import {BasePreWidget} from './BasePreWidget';
import {Inputs} from '../helpers/Inputs';

import {uiContext} from '../core/UIContext';
import {Widgets} from './Widgets';
import {formatOffsets} from '../helpers/Format';

const inColor = true; // TODO inColor

export class DisassemblyFunctionsFullWidget extends BasePreWidget {
    constructor() {
        super(
            'Functions (full)',
            x => formatOffsets(x),
            'pD $SS@$S@e:scr.color=2',
            Inputs.iconButton('undo', 'Back to Disassembly', () => uiContext.navigateTo(Widgets.DISASSEMBLY)));
    }
}