avast / avast/retdec-regression-tests-framework

Ability to get function-call expression from function body

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
24
Forks
13
PR merge metrics
No merged PRs in 30d

Description

It would be handy if it was possible to get function call expression from a given function body. E.g.
```python
call = func.calls['myfunc'] # return a CallExpr instance.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the framework for the function-body representation, the existing func.calls access, and the CallExpr class or related expression APIs. Determine how a call is identified by function name, then verify that the completed behavior returns a CallExpr instance for func.calls['myfunc']; the issue names no test file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.