[NSWI004] Application image not loaded to physical memory

Vojtech Horky horky at d3s.mff.cuni.cz
Sun Jan 19 20:40:46 CET 2020


Hello.

Dne 19. 01. 20 v 20:20 Jakub Matěna napsal(a):
> we tried to copy application image from physical address to virtual 
> memory of the new process. After a while, we found out that the problem 
> is, that there is no image at the physical address. Just zeros. We used 
> our debug function to dump physical memory.

How much of the memory you dumped? The application image is created from 
virtual address 0 (it has to be because of jump target addresses), thus 
first 4 pages are filled with zeros (see the application linker script), 
code starts at 0x4000.

Hope this helps,
- VH


> 
> We would appreciate some hint.
> 
> Thank you!
> 
> Commit link: 
> https://gitlab.mff.cuni.cz/teaching/nswi004/winter-2019-20/team-SorryJako/commit/4a9a7e7a80b359fd64f3339eebafc8ad71d48ec7
> 
> -- 
> Sincerely Jakub Matěna
> 
> _______________________________________________
> NSWI004 mailing list
> NSWI004 at d3s.mff.cuni.cz
> https://d3s.mff.cuni.cz/mailman/listinfo/nswi004
> 


More information about the NSWI004 mailing list