ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
PageAccessControl::Entry Class Reference

#include <PageAccessControl.h>

Collaboration diagram for PageAccessControl::Entry:

Public Member Functions

 Entry (const void *a, size_t l, int p, void *pl)
 

Public Attributes

const void * addr
 address of page for which protection was requested. Used as key More...
 
size_t lenProt
 length of the protected region, from page addr to end of protected obj More...
 
int prot
 
void * leak
 pointer to the heap fragment we leaked before protecting the page More...
 
int restored
 

Detailed Description

protection of a memory region (see mprotect(2))

Definition at line 76 of file PageAccessControl.h.

Constructor & Destructor Documentation

◆ Entry()

PageAccessControl::Entry::Entry ( const void *  a,
size_t  l,
int  p,
void *  pl 
)

Definition at line 15 of file PageAccessControl.cxx.

15  :
16  addr(page_address(a)), lenProt(l), prot(p), leak(pl), restored(0) {}

Member Data Documentation

◆ addr

const void* PageAccessControl::Entry::addr

address of page for which protection was requested. Used as key

Definition at line 79 of file PageAccessControl.h.

◆ leak

void* PageAccessControl::Entry::leak

pointer to the heap fragment we leaked before protecting the page

Definition at line 84 of file PageAccessControl.h.

◆ lenProt

size_t PageAccessControl::Entry::lenProt

length of the protected region, from page addr to end of protected obj

Definition at line 81 of file PageAccessControl.h.

◆ prot

int PageAccessControl::Entry::prot

Definition at line 82 of file PageAccessControl.h.

◆ restored

int PageAccessControl::Entry::restored

of times this entry protection has been restored. 0 means page was

never accessed

Definition at line 87 of file PageAccessControl.h.


The documentation for this class was generated from the following files:
PageAccessControl::Entry::leak
void * leak
pointer to the heap fragment we leaked before protecting the page
Definition: PageAccessControl.h:84
PageAccessControl::Entry::restored
int restored
Definition: PageAccessControl.h:87
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
athena::page_address
const void * page_address(const void *addr)
Definition: page_access.cxx:11
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
a
TList * a
Definition: liststreamerinfos.cxx:10
PageAccessControl::Entry::prot
int prot
Definition: PageAccessControl.h:82
PageAccessControl::Entry::addr
const void * addr
address of page for which protection was requested. Used as key
Definition: PageAccessControl.h:79
PageAccessControl::Entry::lenProt
size_t lenProt
length of the protected region, from page addr to end of protected obj
Definition: PageAccessControl.h:81