There is any way to set in compiler to not show build fingerprints

239 views
Skip to first unread message

ferv...@gmail.com

unread,
Sep 28, 2023, 12:33:03 PM9/28/23
to android-ndk
Hi,

By any chance, does android ndk have a way to create a crash in a way doesn't create the report on the log?

Thanks in advance

enh

unread,
Sep 28, 2023, 1:31:12 PM9/28/23
to andro...@googlegroups.com
well, it depends what you mean. "build fingerprint" is something
different --- that identifies the _device_, not any software running
on it.

if you mean "can i disable the register dump and stack trace when my
process crashes?", yes, you can. `prctl(PR_SET_DUMPABLE, 0)`
(https://man.archlinux.org/man/prctl.2.en#PR_SET_DUMPABLE) will
prevent debuggerd from attaching.

the fact _that_ your app crashed will still be visible in the log, of course.
> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/12d640ca-2720-4f0a-8fe6-11b4e5c7f671n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages