var nmOutputRE … var objdumpAsmOutputRE … var objdumpOutputFileLine … var objdumpOutputFunction … var objdumpOutputFunctionLLVM … func findSymbols(syms []byte, file string, r *regexp.Regexp, address uint64) ([]*plugin.Sym, error) { … } // matchSymbol checks if a symbol is to be selected by checking its // name to the regexp and optionally its address. It returns the name(s) // to be used for the matched symbol, or nil if no match func matchSymbol(names []string, start, end uint64, r *regexp.Regexp, address uint64) []string { … } // disassemble parses the output of the objdump command and returns // the assembly instructions in a slice. func disassemble(asm []byte) ([]plugin.Inst, error) { … } // nextSymbol parses the nm output to find the next symbol listed. // Skips over any output it cannot recognize. func nextSymbol(buf *bytes.Buffer) (uint64, string, error) { … }