Almost implemented.

This commit is contained in:
Naoki Hamada
2014-09-03 15:20:39 +09:00
parent 650088774d
commit 319590910a
9 changed files with 379 additions and 24 deletions

View File

@ -273,10 +273,10 @@ void fill_note(void *note, struct process *proc, void *regs)
int gencore(struct process *proc, void *regs,
struct coretable **coretable, int *chunks)
{
struct coretable *ct;
struct coretable *ct = NULL;
Elf64_Ehdr eh;
Elf64_Phdr *ph;
void *note;
Elf64_Phdr *ph = NULL;
void *note = NULL;
struct vm_range *range;
struct process_vm *vm = proc->vm;
int segs = 1; /* the first one is for NOTE */