Skip to content

Handling Extern Callbacks in CallGraph #786

@fabianbs96

Description

@fabianbs96

PhASAR should be able to determine for known extern functions, that specific parameters are called.
This includes, but is not limited to:

  • pthread_create
  • __kmpc_fork_teams
  • __kmpc_fork_call
  • Any function declared with callback

We cannot just add artificial ICFG edges, as then the subsequent analyses don't know anymore, how to interpret the argument list of a affected call-site.
We should probably do some IR rewriting, similar as we already do for global ctors/dtors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions