FFFF 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);
}

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0