Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Drawing The Stack | The Easy in-depth Explanation | V3IL

  • Professor Veil
  • 2020-08-24
  • 1246
Drawing The Stack | The Easy in-depth Explanation | V3IL
Assemblystack framestack pointerthe stacknasmprogrammingexplainexplainedbasicC++linuxtutorialintelx86'intel instructions''instruction sets'reverse engineeringgodbolt.orgida proobjdumpprologueepiloguetranslate function into assemblyassembly languageassembly x86 stackX86 Assembly Language (Programming Language)X86 (Computer Processor)convert c to assemblyComputer Science (Field Of Study)intel x86 assemblyx86 stack functions
  • ok logo

Скачать Drawing The Stack | The Easy in-depth Explanation | V3IL бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Drawing The Stack | The Easy in-depth Explanation | V3IL или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Drawing The Stack | The Easy in-depth Explanation | V3IL бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Drawing The Stack | The Easy in-depth Explanation | V3IL

This is a video about the Stack and Stack Frame. I tried to go the most simple way possible trying to teach the topic. A note section is present as follows.
Level : Beginner - Intermediate

Foot Notes:

BP - Base Pointer: Always points to the base of a stack frame that acts as an anchor which in turn helps us reference itself when traversing up and down the stack.

SP - Stack Pointer: A special purpose register which always points to the top of the stack. Anything pushed onto the stack decrements the pointer by 1 and anything popped of from the stack increments it by one. We change stack pointer manually when making space for local variables on the stack frame.

IP - Instruction Pointer: Always holds the memory address to the next to execute instruction. Which means if the program is at memory, which means each instruction is also on each section of a memory. The IP holds these memory addresses and helps the CPU execute those instructions one by one and the IP increments itself on each CPU cycle completions.

A, B, C or AX, BX, CX or EAX, EBX, ECX - They are all general purpose registers that simply holds sometimes addresses and sometimes values depending on the programs for the CPU to use efficiently.

Sample instructions:

MOV AX, BX - Move whatever is in BX to AX or Copy value from second operand to first operand.

MOV AX, [BX] - Move Whatever it is in the Memory Address contained in BX to AX. [] specifies, that the operand is holding a value which is a memory address.

MOV AX, [BP-4] - Calculate what BP - 4 is, and then treat it as a memory address. Pull up the value from that memory address and copy to AX

MOV [BP-4], AX - Do the same calculation, but this time copy value from AX Register to destined memory address

PUSH AX - Save whatever it is in the AX Register to the Stack.

POP AX - Remove whatever it is that was pushed last on the stack and copy it to AX

CALL 0x0011234 / CALL add - Jump to the given memory address, where the function add resides on. In the mean time, also push current IP to the stack for the function to return to.

LEAVE - Reverts all changes made to current stack frame and pops off the last pushed value, which was the Base Pointer address, and updates the current base pointer with that address

RET - Generally comes after LEAVE, where when LEAVE pops off the BP, the only remaining value on the stack becomes the old IP value. That IP value is popped off and given to the current IP to resume the previous processes.


I wanted to write those, so the very new comers and that not only in ASM but in computer sciences all-together, could remember these instructions and the way they are used, and then go on with the video so they don't have to stumble repeteadly to new terms and look up on what they mean.


I really hope this tutorial has helped you in one way or the other. If it did, stay tuned with me and my channel for future videos. Go and look on my previous SQLi videos as-well as they are custom made and very detailed.

*Pardon me for and if the mistakes that I might have done, as I am also very new to the concept, and tried to clear them the best I could. I myself worked hard to understand these and thus wanted to share the experience.*


Thank You ...
V3IL


#Assembly #Stack #StackFrame #ComputerSciences

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]