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

Database #179

Merged
merged 16 commits into from
Jan 11, 2025
Merged

Database #179

merged 16 commits into from
Jan 11, 2025

Conversation

fhilgers
Copy link
Collaborator

@fhilgers fhilgers commented Dec 18, 2024

For testing:

  • Run the server: cargo xtask daemon --android
  • Create an index once: cargo xtask client --android -- index-symbols
  • Search using the index like this: cargo xtask client --android -- search-symbols '\"ziofa MainActivity onCreate\"' 10 or cargo xtask client --android -- search-symbols AddGlobalRef 10
  • Get an offset via symbol name and library name: cargo xtask client --android -- get-symbol-offset '\"art::JavaVMExt::AddGlobalRef(art::Thread*, art::ObjPtr<art::mirror::Object>)\"' /apex/com.android.art/lib64/libart.so

(The escaping is weird, because it essentially gets passed through xtask and then though the python script and then through adb, somewhere the quotes get lost so we have to escape them for a query with spaces)

@fhilgers fhilgers force-pushed the database branch 4 times, most recently from 0341045 to ee7328b Compare December 18, 2024 08:10
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
Signed-off-by: Felix Hilgers <[email protected]>
@fhilgers fhilgers marked this pull request as ready for review January 10, 2025 21:15
@fhilgers fhilgers requested a review from Mr-Kanister January 10, 2025 21:16
@fhilgers fhilgers merged commit 4e67c63 into dev Jan 11, 2025
9 checks passed
@fhilgers fhilgers linked an issue Jan 15, 2025 that may be closed by this pull request
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.

Create a Databank in the Backend
2 participants