Skip to content

Question about Cross-files invocation and analyze for functions in a certain NodeJS module #41

@samhsu-dev

Description

@samhsu-dev

Dear developers of SAFE, 

I notice that safe accepts multiple JS files as inputs, so I was wondering whether the SAFE is able to handle the model and some functions in NodeJS like module.exports and requires("...") to invoke some functions in different files. 

Besides, I am confused about how the CallInstructions are handled in SAFE. I noticed there are some methods like sematic.CI and semantics.getCallInfo. Those two functions require TracePartition as a parameter, but the output of sematic.getState(callBlock) always be Nil. I was wondering whether there are any development documents or examples of their usage.

Many thanks, 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions