Skip to content

Adding support for gum_backtracer_generate_with_limit in Backtrace#223

Merged
s1341 merged 1 commit intofrida:mainfrom
ykuszer:backtrace_with_limit
Nov 11, 2025
Merged

Adding support for gum_backtracer_generate_with_limit in Backtrace#223
s1341 merged 1 commit intofrida:mainfrom
ykuszer:backtrace_with_limit

Conversation

@ykuszer
Copy link
Contributor

@ykuszer ykuszer commented Nov 10, 2025

Adding support for gum_backtracer_generate_with_limit in Backtracer

Normally we will get the full bt but for large nested calls into hot functions this can become a pain if we wanted just a few levels

gum_backtracer_generate is basically a call to gum_backtracer_generate_with_limit with GUM_MAX_BACKTRACE_DEPTH as limit: https://github.com/frida/frida-gum/blob/5ee7ae3f1719db72b0b621f660d3a2fff4d045a4/gum/gumbacktracer.c#L129 so I reflected this in the code as well

@ykuszer ykuszer force-pushed the backtrace_with_limit branch from 258aff9 to 57736b7 Compare November 10, 2025 10:05
@s1341 s1341 merged commit e98b64f into frida:main Nov 11, 2025
16 checks passed
@s1341
Copy link
Contributor

s1341 commented Nov 11, 2025

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants