Files
reverse-engineering-anything/tests/boundary/android
gensokyo-devandgensokyo-dev 2b69ddd368 fix(android)!: page class-name search by default and name the next offset
search_android_classes returned every match when limit was omitted, and
an empty query lists every class. On VLC's APK that was 15,310 names and
809,004 bytes of MCP content. A page that stopped early reported only
coverage "partial", so a caller could not tell where the next page began.

Omitted limit now returns at most 256 matches, and the result reports
next_offset: the offset of the following page, or null when no match
follows. JADX already stops once the page and one more match are found,
so a filtered search still needs a single provider call. On the same APK
the empty query now returns 256 names in 27,105 bytes of CLI JSON.

BREAKING CHANGE: a search_android_classes call that omits limit returns
at most 256 matches. Page with next_offset, or pass a larger limit.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-27 05:21:32 +08:00
..