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

DCL denial type: DENY_EXECMEM #9508

Open
h2dden opened this issue Jan 31, 2025 · 2 comments
Open

DCL denial type: DENY_EXECMEM #9508

h2dden opened this issue Jan 31, 2025 · 2 comments

Comments

@h2dden
Copy link

h2dden commented Jan 31, 2025

I am running version 4.5.8 on GrapheneOS
The app tries executing code from memory
This is a concern: why does it need to run code from memory?
Where is the code downloaded from?

type: memory_DCL
osVersion: google/caiman/caiman:15/AP4A.250105.002/2025012700:user/release-keys
userType: full.secondary
package: org.electrum.electrum:45405083, targetSdk 34

package: org.electrum.electrum:45405083

DCL denial type: DENY_EXECMEM
@SomberNight
Copy link
Member

I don't know what triggers this. But the code is not "downloaded" from the internet. You can verify this by taking away Network access from the application: the DCL via memory warning will be shown regardless. It might be due to the Javascript interpreter that is part of QML doing JIT, but I am just guessing.

AFAICT you can disable DCL via memory, and the app still runs normally. Please correct me if you see otherwise.

Electrum also does DCL via storage, which I can at least explain. That is due to how python-for-android packages the python stdlib and site-packages in the apk and then unpacks it into the private application data folder:
https://github.com/kivy/python-for-android/blob/b0efb9f36dddca45e829fc57d0ba39b3665910e7/doc/source/troubleshooting.rst#unpacking-an-apk

@h2dden
Copy link
Author

h2dden commented Jan 31, 2025

Indeed, the DCL via memory warning will be shown regardless of the network permission being denied
the app runs normally even when DCL via memory is denied

however, still unconfortable...

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

No branches or pull requests

2 participants