8000 Argument for `_dyld_get_image_vmaddr_slide` should not be hardcoded · Issue #91 · AkihiroSuda/gomodjail · GitHub
[go: up one dir, main page]

Skip to content

Argument for _dyld_get_image_vmaddr_slide should not be hardcoded #91

Open

Description

@AkihiroSuda

if (STR_EQ(name, "_runtime.tls_g")) {
int image_index = 1; /* FIXME: parse */
uint64_t runtime_tls_g_sym_value = (uint64_t)symtab[j].n_value;
res.tls_g_addr =
(uint64_t *)(_dyld_get_image_vmaddr_slide(image_index) +
runtime_tls_g_sym_value);
}

Activity

  1. added
    mode/dynamic
    on Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    mode/dynamicrefactoring

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0