Skip to content

RFC: Add a watchdog to prevent the similar crash in AOT mode #4561

@Septa2112

Description

@Septa2112

Refer to issue #4539 and PR #4559.

If we pre-link all import items to a watchdog function from the start, the watchdog function will report an error once executed, and follow the current path during loading to resolve the import section content. Therefore,

a) all import functions are executable and not NULL

b) and, unlinked import functions will report an error without additional checks during execution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions