Tetsuo Profile picture
Oct 1 5 tweets 2 min read Read on X
🧵1/n Jerry Cain from Stanford University explains pointers and structs in C, showing a clever way to access struct fields. This series is one of the best resources online for C programming.

Source: Stanford University

👇 Lectures with handouts, assignments, and videos.
🧵2/n Stanford Engineering Everywhere | CS107 - Programming Paradigms:

👇Video Series. see.stanford.edu/Course/CS107
Image
🧵3/n Videos:

👇What the code in the video does on my system. youtube.com/playlist?list=…
Image
🧵4/n ((struct fraction *) &(pi.denom)->denom=33 overwrites 4 bytes of the stack carnary and causes a SIGABRT.

👇7etsuo course diary Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Tetsuo

Tetsuo Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @7etsuo

Aug 3
🧵1/2 MIT's Charles Leiserson covers the progression from source code to compilation, machine code, hardware interpretation, and ultimately, execution.

👇Full MIT Performance Engineering of Software Systems Course 👇
🧵2/2
The course programming language is C.

Performance Engineering of Software Systems is an 18-unit class that provides a hands-on, project-based introduction to building scalable and high-performance software systems. Topics include performance analysis, algorithmic techniques for high performance, instruction-level optimizations, caching optimizations, parallel programming, and building scalable systems.

ocw.mit.edu/courses/6-172-…
Join our C and Assembly developers community here on X!
x.com/i/communities/…
Read 4 tweets
Jul 22
🧵1/25 Lectures videos for CS 194: Advanced Operating Systems Structures and Implementation (Spring 2013, UC Berkeley).

Lecture 01 - What is an Operating System?
🧵2/25 Lecture 01 - TDD (Test-Driven Design), BDD (Behavior-Driven Design), and all that.
🧵3/25 Lecture 03 - OS Structure: Monolithic, Microkernel, Exokernel, Multikernel
Read 8 tweets
Jul 3
🧵1/n: Ever wanted to build an operating system?

xv6 is a modern re-implementation of Dennis Ritchie's and Ken Thompson's Unix Version 6 (v6) for RISC-V multiprocessors, using ANSI C. Developed by MIT, it is designed to teach fundamental OS concepts.

👇OS, Books and Course👇 Image
🧵2/n

MIT 6.S081 (Introduction to Operating Systems):

xv6-riscv-book:
-

Operating System:
-

👇Full Video Lecture Playlist👇pdos.csail.mit.edu/6.828/2020/ind…
github.com/mit-pdos/xv6-r…
github.com/mit-pdos/xv6-r…
Unlisted video lectures!
These are in order, video 1 and 2 do not exist.

6.S081 Fall 2020 Lecture 3: OS Organization and System Calls:

6.S081 Lecture 4: Page Tables:

6.S081 Fall 2020 Lecture 5: RISC-V Calling Convention and Stack Frames:

6.S081 Fall 2020 Lecture 6: Isolation & System Call Entry/Exit:

6.S081 Fall 2020 Lecture 7: Q&A for Labs:

6.S081 Fall 2020 Lecture 8: Page Faults:

6.S081 Fall 2020 Lecture 9: Interrupts:

6.S081 Fall 2020 Lecture 10: Multiprocessors and Locks:

6.S081 Fall 2020 Lecture 11: Thread Switching:

6.S081 Fall 2020 Lecture 12: Q&A #2 (COW lab):

6.S081 Fall 2020 Lecture 13: Sleep & Wakeup:

6.S081 Fall 2020 Lecture 14: File Systems:

6.S081 Fall 2020 Lecture 15: Crash Recovery:

6.S081 Fall 2020 Lecture 16: File System Performance and Fast Crash Recovery:

6.S081 Lecture 17: Virtual Memory for Applications:

6.S081 Lecture 18: OS Organization:

6.S081 Fall 2020 Lecture 19: Virtual Machines:

6.S081 Fall 2020 Lecture 20: Kernels and High-Level-Languages (HLL):

6.S081 Fall 2020 Lecture 21: Networking:

6.S081 Fall 2020 Lecture 22: Meltdown:

6.S081 Fall 2020 Lecture 23: RCU:

6.S081 Fall 2020 Lecture 24: Final Q&A lecture:




















Read 5 tweets
Jun 21
Dr. Randal E. Bryant breaks down C and assembly:

- Arrays vs pointers - what's the difference?
- How multi-dimensional arrays actually work
- Structs and memory alignment

🧵1/n 👇Course book, assignments, and all video lectures.
Videos from the book:

Computer Systems: A Programmer's Perspective" provides a detailed look at how computer systems function, focusing on system-level programming in C and x86 assembly.

🧵2/n All lecture material and Videos below 👇Image
Course Materials and Labs

Course Schedule and Materials:
Lab Exercises:
Y86-64 Simulator Documentation:
Virtual Memory Documentation:
Book's Official Site:

🧵3/n 👇All video lectures belowcs.cmu.edu/afs/cs/academi…
csapp.cs.cmu.edu/3e/labs.htm
csapp.cs.cmu.edu/3e/simguide.pdf
csapp.cs.cmu.edu/3e/docs/dsa.pdf
csapp.cs.cmu.edu/3e/home.htmlImage
Read 6 tweets
Jun 19
These are the best books you can buy to learn x86-64 assembly.

🧵1/n God tier collection of papers videos exercises and lectures👇 Image
Cheatsheet I wrote for writing x86 Windows shellcode and the Win32 Shellcoder I developed while studying for my OSED Exploit Development certification.



🧵2/n raw.githubusercontent.com/7etsuo/win32-s…
Image


@XenoKovah's x86-64 ASM course and the subsequent courses are where the books mentioned in 1/n were recommended.

There are full video lectures, including exercises for everything on OST2. It's an absolutely top-tier, free learning platform from the best in the industry.

🧵3/np.ost2.fyi/courses/course…
Read 10 tweets
May 22
Unix Network Programming, Volume 1: The Sockets Networking API, 3rd Edition, is god-tier for learning C socket programming. It covers TCP/IP, UDP, SCTP, raw sockets, and IPC under System V and BSD UNIX.

I've added a thread with some goated resources.
🧵0/n Image
🧵1/n
Here are some free online computer networking courses that complement the book.

1) CS 144 Introduction to Computer Networking - Stanford University, Fall 2013



2) Computer Networking: A Top-Down Approach


3) Computer Communication Networks, Rensselaer Polytechnic Institute - Fall 2001




4) Audio/Video Recordings and Podcasts of Professor Raj Jain's Lectures - Washington University in St. Louis



5) Computer Networks, Tanenbaum, Wetherall Computer Networks 5e - Video Lectures


6) CSEP 561 - PMP Network Systems, Fall 2013 - University of Washington



7) CSEP 561 – Network Systems, Autumn 2008 - University of Washington



8) Computer Networks - IIT Kharagpur


9) Introduction to Data Communications 2013, Steven Gordon - Thammasat University, Thailand


10) Introduction to Complex Networks - RIT


11) Structural Analysis and Visualization of Networks


12) Data Communication - IIT Kharagpur


13) Error Correcting Codes - IISC Bangalore


14) Information Theory and Coding - IIT Bombay


15) Complex Network : Theory and Application - IIT Kharagpur


16) Advanced 3G and 4G Wireless Mobile Communications - IIT Kanpur


17) Broadband Networks: Concepts and Technology - IIT Bombay


18) Coding Theory - IIT Madras


19) Digital Communication - IIT Bombay


20) Digital Voice & Picture Communication - IIT Kharagpur


21) Wireless Ad Hoc and Sensor Networks - IIT Kharagpur


22) Internetworking with TCP/IP by Prof. Dr. Christoph Meinel - HPI


23) CS798: Mathematical Foundations of Computer Networking - University of Waterloo
scs.stanford.edu/10au-cs144/
youtube.com/playlist?list=…
youtube.com/playlist?list=…
ecse.rpi.edu/Homepages/kous…
ecse.rpi.edu/Homepages/kous…
ecse.rpi.edu/Homepages/kous…
cse.wustl.edu/~jain/videos.h…
youtube.com/user/ProfRajJa…
media.pearsoncmg.com/ph/streaming/e…
courses.cs.washington.edu/courses/csep56…
courses.cs.washington.edu/courses/csep56…
courses.cs.washington.edu/courses/csep56…
courses.cs.washington.edu/courses/csep56…
nptel.ac.in/courses/106105…
youtube.com/playlist?list=…
youtube.com/playlist?list=…
leonidzhukov.net/hse/2015/netwo…
nptel.ac.in/courses/106105…
nptel.ac.in/courses/117108…
nptel.ac.in/courses/117101…
nptel.ac.in/courses/106105…
nptel.ac.in/courses/117104…
nptel.ac.in/courses/117101…
nptel.ac.in/courses/117106…
nptel.ac.in/courses/117101…
nptel.ac.in/courses/117105…
nptel.ac.in/courses/106105…
youtube.com/playlist?list=…
youtube.com/playlist?list=…
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(