olivo/TaintPHP

Call to undefined method FileCFGInfo::getFunctionSignatures()

Opened this issue · 4 comments

PHP Fatal error: Uncaught Error: Call to undefined method FileCFGInfo::getFunctionSignatures() in TaintPHP/TaintAnalysis/TaintAnalysis.php:354

I did a quick global grep for getFunctionSignatures with no result. Is this a missing method or glossed over from some refactoring?

Able to reproduce the error. Bisected to find the bad commit.

88eb5a2 is the first bad commit
commit 88eb5a2
Author: Oswaldo Olivo olivo@cs.utexas.edu
Date: Fri Feb 26 23:11:21 2016 -0600

Added representation for File CFG Info, and corrected style issues

:040000 040000 7ddee04ada5ff4f8d98bf19fe4f833f0708f72ba 5b876ca014c49203bae53be58cf90ff58862748f M CFG
:040000 040000 7b022a7789c843cc1bd6eb60d562474b10817ad8 7eec9c58c4496cf16f9d82a6751678f563d68805 M CallGraph
:040000 040000 90983ae9ced1a3dc37550ce97577586daf0ad720 6c9b8f71cf53fddc84e7e34bf6e2324301ad92d1 M TaintAnalysis
:100644 100644 74f95556ef47253623fd0c67cbab93f81b4cb80c 20b6fa9243b2524d2bc3e0d412f86c361ff1b5fb M taint_analysis_main.php

olivo commented

Thanks for reporting the issue.
I'll prepare a fix.

Still not fixed :(

the function should be getFunctionRepresentations().