Implemented register calls
This commit is contained in:
parent
0483176e56
commit
c777d73bbb
16 changed files with 133 additions and 43 deletions
|
@ -16,8 +16,13 @@ func (r *Result) eachFunction(caller *core.Function, traversed map[*core.Functio
|
|||
continue
|
||||
}
|
||||
|
||||
name := x.Data.(*asm.Label).Name
|
||||
callee, exists := r.Functions[name]
|
||||
label, isLabel := x.Data.(*asm.Label)
|
||||
|
||||
if !isLabel {
|
||||
continue
|
||||
}
|
||||
|
||||
callee, exists := r.Functions[label.Name]
|
||||
|
||||
if !exists {
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue