Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use frida to detect stack memory leak #2860

Open
wjj1928 opened this issue May 21, 2024 · 0 comments
Open

Use frida to detect stack memory leak #2860

wjj1928 opened this issue May 21, 2024 · 0 comments

Comments

@wjj1928
Copy link

wjj1928 commented May 21, 2024

Use case, Android13 device with NFC support.

  1. Turn on/off NFC from settings.
  2. Notice adb shell dumpsys meminfo com.sample.demo Stack value increase 8K every on/off cycle.

I am thinking about to use Frida to find the root cause but not sure how can I do it.

My understand is stack memory is used by function call. if function call returned, memory should be automatically released.

Not sure how can Stack memory been leaked.

So very interest to dig it out with Frida tool.

Thanks in advance for your helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant