• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

spesmilo / electrum / 5020278197059584
60%
master: 63%

Build:
Build:
LAST BUILD BRANCH: fingerprint
DEFAULT BRANCH: master
Ran 18 Apr 2025 12:54AM UTC
Jobs 2
Files 87
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Apr 2025 12:38AM UTC coverage: 60.217% (-0.09%) from 60.306%
5020278197059584

Pull #9749

CirrusCI

SomberNight
add harden_memory_linux: harder for other processes to read our memory

This module tries to restrict the ability of other processes to access the memory of our process.
Traditionally, on Linux, one process can access the memory of another arbitrary process
if both are running as the same user (uid). (Root can ofc access the memory of ~any process)
Programs can opt-out from this by setting `prctl(PR_SET_DUMPABLE, 0);`

also see https://man.archlinux.org/man/PR_SET_DUMPABLE.2const.en

-----

Also, from https://unix.stackexchange.com/a/518452 :

In a terminal window:
```
% echo $$  # show our pid
6744
% read -sp 'secret password: '; echo
secret password:
%
```
Then in another terminal window:
```
% grep heap /proc/6744/maps
01bb7000-01c3e000 rw-p 00000000 00:00 0                                  [heap]
% dd if=/proc/6744/mem bs=1 skip=$((0x01bb7000)) count=$((0x01c3e000-0x01bb7000)) status=none |
    strings | less
...
% dd if=/proc/6744/mem bs=1 skip=$((0x01bb7000)) count=$((0x01c3e000-0x01bb7000)) status=none |
    strings | grep obiwan
obiwan_kenobi  # "secret password"
```
Pull Request #9749: add harden_memory_linux: harder for other processes to read our memory

0 of 41 new or added lines in 1 file covered. (0.0%)

21603 of 35875 relevant lines covered (60.22%)

1.2 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
41
0.0
electrum/harden_memory_linux.py
Jobs
ID Job ID Ran Files Coverage
1 5020278197059584.1 18 Apr 2025 12:54AM UTC 87
60.21
2 5020278197059584.2 18 Apr 2025 12:54AM UTC 87
60.2
Source Files on build 5020278197059584
  • Tree
  • List 87
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #50202781...
  • Pull Request #9749
  • PR Base - master (#54516431...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc