From 58d5b3864326588863ee9ce30953563ebb8ce556 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 22 Mar 2013 13:41:56 -0700 Subject: correctly detect type of outputs of call to function pointers --- src/analyzer.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/analyzer.js b/src/analyzer.js index 92b7d8cf..b1991c3f 100644 --- a/src/analyzer.js +++ b/src/analyzer.js @@ -979,6 +979,9 @@ function analyzer(data, sidePass) { if (variable.origin === 'alloca') { variable.allocatedNum = item.allocatedNum; } + if (variable.origin === 'call') { + variable.type = getReturnType(variable.type); + } } }); -- cgit v1.2.3-18-g5258