Skip to content

How to construct call chains accurately #16

@LittleCrab123

Description

@LittleCrab123

Hello, I have read your paper and open-source code, and I have some questions about the call relationship construction part. In the build_graph function, matching called methods based on method names may result in multiple matches or incorrect matches, which could lead to imprecise call relationships. Could you please explain the rationale behind this current design?

When fuzzy_search is set to True, multiple methods with the same name as the called method will all be added to the graph:

Image

When fuzzy_search is set to False, if there are methods with the same name in the parent directories, it may add to the wrong method:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions