aboutsummaryrefslogtreecommitdiff
path: root/common/elf.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-06-09 23:53:47 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-06-09 23:53:47 +0300
commit45b51617a0e3513a453c20229e02fd8fc9fbbfe1 (patch)
tree1ff6e23aea786c2b32521bb834e1fc133129101b /common/elf.c
parentda8eeb7695a4803d1d45c8c26c05a51fb1ba1e55 (diff)
downloadkmi-45b51617a0e3513a453c20229e02fd8fc9fbbfe1.tar.gz
kmi-45b51617a0e3513a453c20229e02fd8fc9fbbfe1.zip
use doxygen todo
Diffstat (limited to 'common/elf.c')
-rw-r--r--common/elf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/elf.c b/common/elf.c
index f947b60..97f164d 100644
--- a/common/elf.c
+++ b/common/elf.c
@@ -30,13 +30,13 @@ static void __map_exec(struct tcb *t, vm_t bin, uint8_t ei_c, vm_t phstart,
{
hard_assert(t && is_proc(t), RETURN_VOID);
- /* \todo: take alignment into consideration? */
- /* \todo: take overlapping memory regions into account, probably mostly
+ /** \todo take alignment into consideration? */
+ /** \todo take overlapping memory regions into account, probably mostly
* by keeping track of previously allocated area and seeing if the
* segment fits into it */
- /* \todo: check if p_memsz is larger than p_filesz, the segment should be
+ /** \todo check if p_memsz is larger than p_filesz, the segment should be
* filled with zeroes. */
- /* \todo: in general, make this a low more clean. */
+ /** \todo in general, make this a low more clean. */
vm_t runner = phstart;
vmflags_t default_flags = VM_V | VM_R | VM_W | VM_X | VM_U;
for (size_t i = 0; i < phnum; ++i, runner += phsize) {
@@ -74,7 +74,7 @@ static void __map_exec(struct tcb *t, vm_t bin, uint8_t ei_c, vm_t phstart,
static vm_t __map_dyn(struct tcb *t, vm_t bin, uint8_t ei_c, vm_t phstart,
size_t phnum, size_t phsize)
{
- /* \todo: this path should only be taken when no PT_INTERP is defined, as
+ /** \todo this path should only be taken when no PT_INTERP is defined, as
* making sure ld is loaded should be done in userspace. Maybe a bit
* hacky, I know.*/
}