Skip to content

xdl_symtab_load 函数发现逻辑 bug (或者是疑问) #27

Closed

Description

@MuziStudio

xDL Version

2.2.0

Android OS Version

15.0

Android ABIs

armeabi-v7a, arm64-v8a, x86, x86_64

Device Manufacturers and Models

Mobile

Describe the Bug

Image
在 xdl_symtab_load 中修改这个 self->base 基址是正确的吗,又加上了在获取它时已经减去的 vaddr_min,可以理解是为了后续 xdl_iterate_get_full_pathname 在 maps 中搜索时获取正确的开始地址字符,但是不是应该用临时变量而不是永久性修改这个字段(ps. 后续也没有把这个字段变回来)

Activity

  1. caikelun commented on Mar 19, 2025

    @caikelun
    Member

    是正确的吧,base和load_bias有不同的作用和含义

  2. locked and limited conversation to collaborators on Mar 19, 2025
  3. converted this issue into a discussion #29 on Mar 19, 2025
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions