Giter Club home page Giter Club logo

Comments (9)

waruqi avatar waruqi commented on May 30, 2024

最近没啥时间看这个,你可以提个pr过来帮忙改下。

from byopen.

liuyou avatar liuyou commented on May 30, 2024

提了,不是很优雅,因为在我的一台老的安卓设备上不知道为什么不能用%c%cx%c进行过滤,所以直接先把属性提出来再判断了

from byopen.

waruqi avatar waruqi commented on May 30, 2024

过滤 x 也不行,很多设备 maps 上 一个 so 过滤了 x 后的,offset 都不是 0,算出来的 baseaddr 还是不对,尤其是 11 上会取错。

from byopen.

liuyou avatar liuyou commented on May 30, 2024

我本地更新了一个版本,减去offset就可以了
没提pr。。
image

from byopen.

liuyou avatar liuyou commented on May 30, 2024

我没用 11设备测试过,我在10的设备上 读取linker的符号的时候遇到这个问题了
image

你直接改一下咯,哈哈哈

from byopen.

liuyou avatar liuyou commented on May 30, 2024

过滤 x 也不行,很多设备 maps 上 一个 so 过滤了 x 后的,offset 都不是 0,算出来的 baseaddr 还是不对,尤其是 11 上会取错。

我这段时间比较忙,后面有时间了打算直接对linker打补丁

from byopen.

waruqi avatar waruqi commented on May 30, 2024

我本地更新了一个版本,减去offset就可以了
没提pr。。
image

我现在 master 的就是减了 offset 的。。android 11/armv7 上必崩,内部调用 android_runtime.so getenv 时候,就是 so baseaddr 在 减去 offset 后算出来的 baseaddr 值,跟首行 offset 的那个 baseaddr 后有偏差

减去 offset 算的不是完全准的。

from byopen.

waruqi avatar waruqi commented on May 30, 2024

我没用 11设备测试过,我在10的设备上 读取linker的符号的时候遇到这个问题了
image

你直接改一下咯,哈哈哈

你这个是老版本的,master 上老早减掉 offset 了。。不过也不完全对

from byopen.

liuyou avatar liuyou commented on May 30, 2024

我本地更新了一个版本,减去offset就可以了
没提pr。。
image

我现在 master 的就是减了 offset 的。。android 11/armv7 上必崩,内部调用 android_runtime.so getenv 时候,就是 so baseaddr 在 减去 offset 后算出来的 baseaddr 值,跟首行 offset 的那个 baseaddr 后有偏差

减去 offset 算的不是完全准的。

拉到ida里看下,差多少?我晚点找个 11看看,是计算 libandroid_runtime.so的函数有偏差吗?32位还是 64位?

from byopen.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.