When i ParseAST Linux’s mmap.c (for instance) i get that several of the functions don’t have a body even though they are defined inside that file. For instance when i try to dump() the vma_adjust function:
void vma_adjust(struct vm_area_struct *vma, unsigned long start,unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert)
i get this weird thing:
And getBody() return null.
It seems the entire FunctionDecl got lost or something. I haven’t quite figured out what’s in common for all these lost functions nor why does this happen.