def METHOD_NAME(self, elf):
    current_fn = None
    for x in subprocess.Popen(['arm-none-eabi-objdump', '-d', elf],
            stdout = subprocess.PIPE).stdout:
        x = x.rstrip('\n')
        m = function_intro_re.match(x)
        if m:
            fn = Function(**m.groupdict())
            current_fn = fn
            self.functions.append(fn)
        m = insn_re.match(x)
        if m:
            assert current_fn
            current_fn.add_insn(m.groupdict())