Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taming-the-stack: Add session content #43

Closed

Conversation

mariasfiraiala
Copy link
Contributor

Add content related to the stack only. The session focuses on function calls, the stack frame and stack pointer.

Work still needs to be done regarding the demos, pictures and challenges.

@mariasfiraiala mariasfiraiala requested a review from teodutu July 27, 2023 07:00
@mariasfiraiala mariasfiraiala self-assigned this Jul 27, 2023
Copy link
Member

@teodutu teodutu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good first draft. Some of the things to consider for next year:

  • You'll have to redo the images on draw.io so they're editable.
  • Capitalise all headings
  • Fix the checkpatch errors. They're mostly whitespaces.
  • The Assembly Language session uses x64 Assembly. Update this session to use x64 as well. It will be quite a large update, but they have to be consistent.

taming-the-stack/index.md Outdated Show resolved Hide resolved
taming-the-stack/index.md Outdated Show resolved Hide resolved
taming-the-stack/index.md Outdated Show resolved Hide resolved
taming-the-stack/index.md Outdated Show resolved Hide resolved

inc rip
push rip
jmp my_func
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explaining this via text is a bit bland. You can use a GIF alongside some shorter text. You can make GIFs from SVG files using draw.io and ffmpeg. We are using this for the OS class [1]. Albeit a bit lacklustre, this method is the best we've come up with so far.

[1] https://github.com/open-education-hub/operating-systems/blob/master/content/common/makefile/slides.mk#L21-L25

taming-the-stack/index.md Outdated Show resolved Hide resolved
taming-the-stack/index.md Outdated Show resolved Hide resolved
taming-the-stack/index.md Outdated Show resolved Hide resolved
taming-the-stack/index.md Outdated Show resolved Hide resolved
taming-the-stack/index.md Outdated Show resolved Hide resolved
@mariasfiraiala mariasfiraiala force-pushed the taming-the-stack branch 2 times, most recently from 79317cf to ee0bef9 Compare July 27, 2023 12:44
@mariasfiraiala mariasfiraiala requested a review from teodutu July 27, 2023 12:44
@mariasfiraiala mariasfiraiala force-pushed the taming-the-stack branch 2 times, most recently from 564b3a3 to 803af9a Compare July 27, 2023 12:52
@mariasfiraiala
Copy link
Contributor Author

@teodutu I've added a demo regarding function calls. I am not happy with it but I don't have any ideas on how to improve it. Mind giving a helping (and hating) hand?

Fix Reading config

Signed-off-by: Gabriel Mocanu <[email protected]>
Fix old assets path

Signed-off-by: Gabriel Mocanu <[email protected]>
Add pr-deployment action

Signed-off-by: Gabriel Mocanu <[email protected]>
teodutu and others added 13 commits April 29, 2024 11:11
- Add all chapters and topics to `config.yaml`
- Fix broken links
- Rename the "Data and Application Lifetime" chapter to "Data"
- Move the "Application Lifetime" topic to "Binary Introduction"
- Add `.output/` to `.gitignore`

Signed-off-by: Teodor Dutu <[email protected]>
List the chapters of this track and what components each subchapter may
be part of.

Signed-off-by: Teodor Dutu <[email protected]>
Add rules to add automatic labels for each chaper in our content:
Scratch Linux, Demystifying the Web, Data and Binary Introduction.

Signed-off-by: Teodor Dutu <[email protected]>
The URLs were set to `binary-security` and `open-education-hub.github.io`
instead of `essentials-security` and `security-summer-school.github.io`.

Signed-off-by: Teodor Dutu <[email protected]>
chapters/data/data-security: Add session content(Reading, Drills, Slides and Media)

Signed-off-by: Jetoson <[email protected]>
Transitioned the 'welcome-to-linux' directory to meet the requirements of
the OpenEdu Methodology.

Signed-off-by: Sorin Birchi <[email protected]>
… OpenEdu methodology

Transitioned the 'system-exploration' directory to meet the requirements of
the OpenEdu Methodology.

Signed-off-by: Sorin Birchi <[email protected]>
Refactor files structure to match OpenEdu Methodology

Signed-off-by: Rares Croicia <[email protected]>
Transitioned the 'rediscovering-the-browser' directory
to meet the requirements of the OpenEdu Methodology.

Signed-off-by: Ismana Robert <[email protected]>
Transitioned the 'explaining-the-internet' directory to meet
the requirements of the OpenEdu Methodology.

Signed-off-by: Ismana Robert <[email protected]>
Transitioned the 'hacking-the-web' directory to meet the
requirements of the OpenEdu Methodology.

Signed-off-by: Ismana Robert <[email protected]>
Add `CPPLINT.cfg` to make cpplint compatible with checkpatch.

Signed-off-by: Teodor Dutu <[email protected]>
Add content related to binary-analysis.

Signed-off-by: Mihnea Firoiu <[email protected]>
@mariasfiraiala mariasfiraiala force-pushed the taming-the-stack branch 2 times, most recently from 45079af to 4ac8752 Compare July 22, 2024 19:29
Add content related to the stack only.

The session focuses on function calls, the stack frame
and stack pointer.

Signed-off-by: Maria Sfiraiala <[email protected]>
@teodutu
Copy link
Member

teodutu commented Jul 23, 2024

Replaced by security-summer-school#15

@teodutu teodutu closed this Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants