cambios SS
This commit is contained in:
17
.obsidian/workspace.json
vendored
17
.obsidian/workspace.json
vendored
@@ -4,11 +4,11 @@
|
|||||||
"type": "split",
|
"type": "split",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "d7daec3383317892",
|
"id": "0d1ea4f169e4254d",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "5a867c9b37d93159",
|
"id": "63151d4aca9e230c",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
@@ -69,7 +69,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "horizontal",
|
"direction": "horizontal",
|
||||||
"width": 300
|
"width": 300,
|
||||||
|
"collapsed": true
|
||||||
},
|
},
|
||||||
"right": {
|
"right": {
|
||||||
"id": "44cf06183e1c1c7d",
|
"id": "44cf06183e1c1c7d",
|
||||||
@@ -142,7 +143,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "horizontal",
|
"direction": "horizontal",
|
||||||
"width": 300
|
"width": 749.5
|
||||||
},
|
},
|
||||||
"left-ribbon": {
|
"left-ribbon": {
|
||||||
"hiddenItems": {
|
"hiddenItems": {
|
||||||
@@ -156,12 +157,14 @@
|
|||||||
"obsidian-git:Open Git source control": false
|
"obsidian-git:Open Git source control": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "5a867c9b37d93159",
|
"active": "b40a18c39aef8e17",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"TERCERO/SS/images/Pasted image 20241010115957.png",
|
||||||
|
"TERCERO/SS/SS 24-25.md",
|
||||||
|
"TERCERO/SS/images/Pasted image 20241010120358.png",
|
||||||
"TERCERO/IA/Teoría_2425.md",
|
"TERCERO/IA/Teoría_2425.md",
|
||||||
"TERCERO/SPD/Teoría_2425.md",
|
"TERCERO/SPD/Teoría_2425.md",
|
||||||
"TERCERO/ATR1/Teoría_2425.md",
|
"TERCERO/ATR1/Teoría_2425.md",
|
||||||
"TERCERO/SS/SS 24-25.md",
|
|
||||||
"TERCERO/SS/images/Pasted image 20241010092102.png",
|
"TERCERO/SS/images/Pasted image 20241010092102.png",
|
||||||
"TERCERO/SS/images/Pasted image 20241010091834.png",
|
"TERCERO/SS/images/Pasted image 20241010091834.png",
|
||||||
"TERCERO/SPD/images/Imagen de WhatsApp 2024-10-09 a las 21.20.30_7d2eb4f4.jpg",
|
"TERCERO/SPD/images/Imagen de WhatsApp 2024-10-09 a las 21.20.30_7d2eb4f4.jpg",
|
||||||
@@ -172,8 +175,6 @@
|
|||||||
"TERCERO/SS/images/Pasted image 20241003113528.png",
|
"TERCERO/SS/images/Pasted image 20241003113528.png",
|
||||||
"TERCERO/SS/SS Lab.md",
|
"TERCERO/SS/SS Lab.md",
|
||||||
"SEGUNDO/ADDA/Teoría_2324.md",
|
"SEGUNDO/ADDA/Teoría_2324.md",
|
||||||
"TERCERO/SS/images/Pasted image 20241002112436.png",
|
|
||||||
"TERCERO/SS/images/Pasted image 20241002112350.png",
|
|
||||||
"TERCERO/IA/Apuntes Julia.md",
|
"TERCERO/IA/Apuntes Julia.md",
|
||||||
"SEGUNDO/IISSI2/Teoría_2324.md",
|
"SEGUNDO/IISSI2/Teoría_2324.md",
|
||||||
"SEGUNDO/IISSI1/Teoría_2324.md",
|
"SEGUNDO/IISSI1/Teoría_2324.md",
|
||||||
|
|||||||
@@ -133,4 +133,32 @@ Hay al menos tres formatos:
|
|||||||
## <mark style="background: #ADCCFFA6;">4. Tipos de archivo ejecutable</mark>
|
## <mark style="background: #ADCCFFA6;">4. Tipos de archivo ejecutable</mark>
|
||||||
Hay tantos tipos de ejecutable como mecanismos de carga distintos. Los detalles del mecanismo de carga dependen del SO.
|
Hay tantos tipos de ejecutable como mecanismos de carga distintos. Los detalles del mecanismo de carga dependen del SO.
|
||||||
### <mark style="background: #FFB86CA6;">Imágenes binarias</mark>
|
### <mark style="background: #FFB86CA6;">Imágenes binarias</mark>
|
||||||
El ejecutable es un **mapa de memoria**. Es el formato más simple, sin información de carga/reubicación. En el archivo están las zonas de memoria que usa el programa (el SO lo carga y se ejecuta). Se usan en computadores donde el SO o es muy simple o no existe (embedded).
|
- El ejecutable es un **mapa de memoria**.
|
||||||
|
- Es el formato más simple, sin información de carga/reubicación.
|
||||||
|
- En el archivo están las zonas de memoria que usa el programa (el SO lo carga y se ejecuta).
|
||||||
|
- Se usan en computadores donde el SO o es muy simple o no existe (embedded).
|
||||||
|
### <mark style="background: #FFB86CA6;">Ejecutables con información de carga/reubicación</mark>
|
||||||
|
- El ejecutable también es un mapa de memoria, pero más complejo
|
||||||
|
- Hay varios formatos muy utilizados:
|
||||||
|
- **COFF (Common Object File Format):** UNIX y Windows (sólo para archivos .obj y .lib).
|
||||||
|
- **PE (Portable Executable):** variante del COFF para Windows con código ejecutable (.exe y .dll).
|
||||||
|
- **ELF (Executable and Linkable Format):** variante del COFF usado en UNIX.
|
||||||
|
|
||||||
|
¿Qué contiene un ejecutable?
|
||||||
|
- Descripción de los **recursos iniciales** del programa
|
||||||
|
- código
|
||||||
|
- datos inicializados
|
||||||
|
- atributos estáticos
|
||||||
|
- constantes
|
||||||
|
- tamaño de datos no inicializados y pila
|
||||||
|
- **Instrucción inicial** donde comienza el código
|
||||||
|
- **Tablas de reubicación** de datos y código
|
||||||
|
- Información de debug (opcional)
|
||||||
|
|
||||||
|
Las **secciones mínimas** son:
|
||||||
|
![[Pasted image 20241010115957.png]]
|
||||||
|
## <mark style="background: #ADCCFFA6;">5. Generación del ejecutable: enlace (link)</mark>
|
||||||
|
Es el proceso final de la construcción del ejecutable. Hay dos tipos:
|
||||||
|
- **Estático:** posible en todos los IDE.
|
||||||
|
- **Dinámico:** posible en algunos SO/IDE. En el dinámico, el SO completa parte del enlace en la carga del programa y/o durante su ejecución.
|
||||||
|
![[Pasted image 20241010120358.png]]
|
||||||
|
|||||||
BIN
TERCERO/SS/images/Pasted image 20241010115957.png
Normal file
BIN
TERCERO/SS/images/Pasted image 20241010115957.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
BIN
TERCERO/SS/images/Pasted image 20241010120358.png
Normal file
BIN
TERCERO/SS/images/Pasted image 20241010120358.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 71 KiB |
Reference in New Issue
Block a user