Main page | Study Branches/Specializations | Groups of Courses | All Courses | Roles                Instructions

A course is the basic teaching unit, it's design as a medium for a student to acquire comprehensive knowledge and skills indispensable in the given field. A course guarantor is responsible for the factual content of the course.
For each course, there is a department responsible for the course organisation. A person responsible for timetabling for a given department sets a time schedule of teaching and for each class, s/he assigns an instructor and/or an examiner.
Expected time consumption of the course is expressed by a course attribute extent of teaching. For example, extent = 2 +2 indicates two teaching hours of lectures and two teaching hours of seminar (lab) per week.
At the end of each semester, the course instructor has to evaluate the extent to which a student has acquired the expected knowledge and skills. The type of this evaluation is indicated by the attribute completion. So, a course can be completed by just an assessment ('pouze zápočet'), by a graded assessment ('klasifikovaný zápočet'), or by just an examination ('pouze zkouška') or by an assessment and examination ('zápočet a zkouška') .
The difficulty of a given course is evaluated by the amount of ECTS credits.
The course is in session (cf. teaching is going on) during a semester. Each course is offered either in the winter ('zimní') or summer ('letní') semester of an academic year. Exceptionally, a course might be offered in both semesters.
The subject matter of a course is described in various texts.

BI-SOJ Machine Oriented Languages Extent of teaching: 2P+2C
Instructor: Completion: Z,ZK
Department: 18104 Credits: 4 Semester: L

Annotation:
Students of the course will gain an ability to create their own programs in the assembly language of the most common PC platform focusing on optimal use of microprocessor's features and efficient cooperation of software with hardware. Next, there will be discussed x86 specifics of the majority of OSes from the application point of view linked to higher level languages. This knowledge will be used during reverse engineering, optimization, and evaluation of code security.

Lecture syllabus:
1. Processor cycle, ISA, instruction encoding, addressing
2. Subroutine calling principles, interrupts
3. i8086 processor, ISA, registers, and a real mode
4. Software interrupts, peripherials, BIOS services, DOS functions
5. Direct access to hardware, hardware interrupts, service of the basic PC peripherials
6. i80386 processor, ISA, protected mode, memory protection, address mapping, paging, segmentation
7. Code optimization and vectorization
8. Anatomy of an x86 application, user space, executable files, libraries, and relocation
9. Relation with a high level languages and reverse analysis, calling conventions, external modules
10. Application and kernel security, core dumps, attacks, code encapsulation
11. Specifics of the x86 linux kernel, startup, memory virtualization, process management
12. Specifics of the x86 Windows kernel, memory virtualization, HAL, process management

Seminar syllabus:
1. Basic instructions, use of registers, relationships of the machine code and assembly language
2. Branching, subroutines, IN and OUT instructions, interaction with the user
3. Use of selected BIOSu services, COM and EXE files, working with memory
4. Interrupt handling, interrupt vector manipulation, context, and reentrance
5. Protected mode mechanisms, creation, and execution of 32-bit code
6. Optimization tasks for 16/32-bit code, pipelining, basic optimization tricks
7. Computer startup, kernel startup, analysis of basic kernel parts and (un)known errors
8. Analysis of key parts of the Windows kernel, its start. Application anatomy.
9. Calling conventions, ELF, creation of a simple int 80h application, signals, minimization
10. In-line assembly, directives, symbols and constraints, impacts of a high-level optimization
11. Root-shellcode construction, privilege escallation, security bug misuse
12. Use of unpublished instructions, code steath, and polymorphism

Literature:
Brandejs, M. Mikroprocesory Intel 8086 - 80486. Brno : Fakulta informatiky, Masarykova univerzita, 2010. Dostupný z WWW: http://www.fi.muni.cz/usr/brandejs/Brandejs_Mikroprocesory_Intel_8086_80486_2010.pdf. Brandejs, M. Mikroprocesory Intel - Pentium. Brno : Fakulta informatiky, Masarykova univerzita, 2010. Dostupný z WWW: http://www.fi.muni.cz/usr/brandejs/Brandejs_Mikroprocesory_Intel_Pentium_2010.pdf.

Requirements:

Informace o předmětu a výukové materiály naleznete na https://courses.fit.cvut.cz/BI-SOJ/

The course is also part of the following Study plans:
Study Plan Study Branch/Specialization Role Recommended semester
NI-PB.2020 Computer Security V Není
NI-ZI.2020 Knowledge Engineering V Není
NI-SPOL.2020 Unspecified Branch/Specialisation of Study V Není
NI-TI.2020 Computer Science V Není
NI-TI.2023 Computer Science V Není
NI-NPVS.2020 Design and Programming of Embedded Systems V Není
NI-PSS.2020 Computer Systems and Networks V Není
NI-MI.2020 Managerial Informatics V Není
NI-SI.2020 Software Engineering (in Czech) V Není
NI-SP.2020 System Programming V Není
NI-WI.2020 Web Engineering V Není
NI-SP.2023 System Programming V Není
BI-SPOL.2015 Unspecified Branch/Specialisation of Study V Není
BI-WSI-PG.2015 Web and Software Engineering V Není
BI-WSI-WI.2015 Web and Software Engineering V Není
BI-WSI-SI.2015 Web and Software Engineering V Není
BI-ISM.2015 Information Systems and Management V Není
BI-ZI.2018 Knowledge Engineering V Není
BI-PI.2015 Computer engineering V Není
BI-TI.2015 Computer Science V Není
BI-BIT.2015 Computer Security and Information technology V Není
BI-BIT.2015 Computer Security and Information technology V 6
MI-ZI.2016 Knowledge Engineering V Není
MI-ZI.2018 Knowledge Engineering V Není
MI-SP-TI.2016 System Programming V Není
MI-SP-SP.2016 System Programming V Není
MI-SPOL.2016 Unspecified Branch/Specialisation of Study V Není
MI-WSI-WI.2016 Web and Software Engineering V Není
MI-WSI-SI.2016 Web and Software Engineering V Není
MI-WSI-ISM.2016 Web and Software Engineering V Není
MI-NPVS.2016 Design and Programming of Embedded Systems V Není
MI-PSS.2016 Computer Systems and Networks V Není
MI-PB.2016 Computer Security V Není
BI-SPOL.21 Unspecified Branch/Specialisation of Study V Není
BI-PI.21 Computer Engineering 2021 (in Czech) V Není
BI-PG.21 Computer Graphics 2021 (in Czech) V Není
BI-MI.21 Business Informatics 2021 (In Czech) V Není
BI-IB.21 Information Security 2021 (in Czech) V Není
BI-PS.21 Computer Networks and Internet 2021 (in Czech) V Není
BI-PV.21 Computer Systems and Virtualization 2021 (in Czech) V Není
BI-SI.21 Software Engineering 2021 (in Czech) V Není
BI-TI.21 Computer Science 2021 (in Czech) V Není
BI-UI.21 Artificial Intelligence 2021 (in Czech) V Není
BI-WI.21 Web Engineering 2021 (in Czech) V Není
NI-TI.2018 Computer Science V Není


Page updated 25. 4. 2024, semester: Z,L/2023-4, Z/2019-20, Z/2024-5, L/2022-3, Z/2020-1, Z,L/2021-2, L/2020-1, Z/2022-3, L/2019-20, Send comments to the content presented here to Administrator of study plans Design and implementation: J. Novák, I. Halaška