这是indexloc提供的服务,不要输入任何密码
Skip to content

How to solve the ImportError? #93

@jxfzzzt

Description

@jxfzzzt

When I run the following code on MacOS, an ImportError occurs. How can I fix it?

import json

import atheris

with atheris.instrument_imports():
    import os
    import sys
    import json


def TestOneInput(data: str):
    json.loads(data)


atheris.Setup(sys.argv, TestOneInput)
atheris.Fuzz()
ImportError: dlopen(/Users/xxx/miniforge3/envs/xxx/lib/python3.11/site-packages/atheris/core_with_libfuzzer.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '__ZNSt3__122__libcpp_verbose_abortEPKcz'

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