1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/sigcc-computer-science

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
vm-xv6-intro.md 1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
spamegg Отправлено 21.06.2022 11:47 69208ef

Credit goes to palladian

Intro To xv6 Virtual Memory

WARNING:

The project doesn't match the currently available xv6 source code, which already has this project implemented in it!

palladian tracked down a different xv6 source from the Github page of a U of Wisconsin student. We had to edit the Makefile to find the QEMU executable correctly. We added null.c to the user folder (also edited makefile.mk there), which demonstrates the lack of memory safety.

Start with the code in start.zip. Extract it and run make clean and make qemu-nox. Then inside the xv6 system run null to see the lack of safety! If you want to compare the results of null with the actual machine code, you can run objdump -d user/null.o.

You might have to manually run make clean and make qemu-nox every time you make a change to the code.

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/sigcc-computer-science.git
git@api.gitlife.ru:oschina-mirror/sigcc-computer-science.git
oschina-mirror
sigcc-computer-science
sigcc-computer-science
master