Skip to content

Commit 5a1b768

Browse files
committed
Corrected documentation of the ELF part of the dlMapper
1 parent 45cd748 commit 5a1b768

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/dlMapper/elf/dlMapper.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@
3737
#include "../pair_address.h"
3838

3939
/**
40-
* This structure is used to pass the start address of our runtime image and
40+
* This structure is used to pass the address of our runtime image and
4141
* the loaded library information vector to the iteration callback.
4242
*/
4343
struct dlMapper_platform_data {
44+
/** The pointer into our runtime image. */
4445
const void* inside;
45-
/** The loaded library information vector. */
46+
/** The loaded library information vector. */
4647
vector_loadedLibInfo_t* libs;
4748
};
4849

@@ -153,6 +154,11 @@ static inline int dlMapper_platform_iterateCallback(struct dl_phdr_info* info, s
153154
return 0;
154155
}
155156

157+
/**
158+
* Loads an address pointing into our runtime image.
159+
*
160+
* @return a pointer into our runtime image
161+
*/
156162
static inline void* dlMapper_platform_loadLCSAddress(void) {
157163
volatile void* me = NULL;
158164
me = &dlMapper_platform_loadLCSAddress;

0 commit comments

Comments
 (0)