Skip to content

Calling native functions on Linux with crashdetect #21

@oscar-broman

Description

@oscar-broman

I compiled Zeex/samp-plugin-crashdetect@54614d5f5ebef8babef8c3717fd8b4b66b31524f and tried to run the following code.

Works perfectly without crashdetect loaded; when it's loaded, however, execution seems to halt when attempting to call the native.

#include <a_samp>
#include <amx/dynamic_call>

main() {
    print("test");

    new addr = GetNativeAddressFromName("print");

    CallNativeByAddress(addr, ref("hello"));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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