DynamoRIO / DynamoRIO/dynamorio

dr_set_sve_vector_length is not exported, causing link errors when used from libdynamorio

Open
#6,575 5 comments 0 reactions 1 assignee Assigned to @AssadHashmi View on GitHub
Component-Build Component-DrMemtrace Google-Affecting
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

Quoting from https://github.com/DynamoRIO/dynamorio/pull/6544#issuecomment-1883354811

> All standalone decode/encode functions should be available in libdynamorio. Looking at dr_set_sve_vector_length() and dr_get_sve_vector_length() in encode_api.h: they are missing DR_API specifiers and this is why they are not exported when in a shared library.

This has now broken our internal build with PR #6544 adding a call to dr_set_sve_vector_length to raw2trace:
```
ld: error: undefined reference...: dr_set_sve_vector_length
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.