summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-01-24 17:16:59 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-01-24 17:16:59 (GMT)
commitb758d4da4a8e15f84b0a43cb4f7f76f997fda6f7 (patch)
tree9dd8099a9fc4ba0246b15961598ae77f42cb544e /src/format
parent13c6b1b9fabf3b75c69e70489ab53abbd300c5fb (diff)
Typo.
Diffstat (limited to 'src/format')
-rw-r--r--src/format/dwarf/abbrev.c2
-rw-r--r--src/format/dwarf/info.c2
-rw-r--r--src/format/dwarf/utils.c4
-rw-r--r--src/format/format.c2
-rw-r--r--src/format/mangling/itanium/abi.c8
-rw-r--r--src/format/mangling/itanium/component-int.h2
-rw-r--r--src/format/mangling/itanium/component.c4
-rw-r--r--src/format/mangling/itanium/component.h2
-rw-r--r--src/format/pe/pe_def.h2
9 files changed, 14 insertions, 14 deletions
diff --git a/src/format/dwarf/abbrev.c b/src/format/dwarf/abbrev.c
index f1c6adf..3d838d5 100644
--- a/src/format/dwarf/abbrev.c
+++ b/src/format/dwarf/abbrev.c
@@ -1015,7 +1015,7 @@ bool _read_dwarf_abbrev_attribute(dwarf_format *format, off_t *pos, DwarfForm fo
uint64_t tmp64; /* Données sur 64 bits */
uint64_t stmp64; /* Données sur 64 bits (signée)*/
uint64_t size_to_read; /* Nombre d'octets à lire */
- off_t offset; /* Décallage dans une zone */
+ off_t offset; /* Décalage dans une zone */
char **strval; /* Chaîne de caractères */
size_t length; /* Taille d'une chaîne */
diff --git a/src/format/dwarf/info.c b/src/format/dwarf/info.c
index 2569c8a..ced856d 100644
--- a/src/format/dwarf/info.c
+++ b/src/format/dwarf/info.c
@@ -484,7 +484,7 @@ bool parse_dwarf_compilation_unit(dwarf_format *format, off_t *pos, const compil
dw_dbg_function *look_for_dwarf_subprograms(dwarf_format *format, const dw_abbrev *abbrev, off_t *pos, const compil_unit *cu)
{
dw_dbg_function *result; /* Structure à retourner */
- uint32_t type_pos; /* Décallage p/r au pt courant */
+ uint32_t type_pos; /* Décalage p/r au pt courant */
off_t subpos; /* Sous-position de lecture #1 */
const dw_abbrev *subabbrev; /* Abréviation fille à lire */
char *retstr; /* Elément du prototype */
diff --git a/src/format/dwarf/utils.c b/src/format/dwarf/utils.c
index 9f3092f..27b1685 100644
--- a/src/format/dwarf/utils.c
+++ b/src/format/dwarf/utils.c
@@ -49,7 +49,7 @@
bool read_leb128(dwarf_format *format, off_t *pos, int64_t *value, bool update)
{
off_t curpos; /* Tête de lecture effective */
- int shift; /* Décallage à appliquer */
+ int shift; /* Décalage à appliquer */
off_t i; /* Boucle de parcours */
curpos = *pos;
@@ -98,7 +98,7 @@ bool read_leb128(dwarf_format *format, off_t *pos, int64_t *value, bool update)
bool read_uleb128(dwarf_format *format, off_t *pos, uint64_t *value, bool update)
{
off_t curpos; /* Tête de lecture effective */
- int shift; /* Décallage à appliquer */
+ int shift; /* Décalage à appliquer */
off_t i; /* Boucle de parcours */
curpos = *pos;
diff --git a/src/format/format.c b/src/format/format.c
index b975a7c..5b96b59 100644
--- a/src/format/format.c
+++ b/src/format/format.c
@@ -1059,7 +1059,7 @@ bool g_binary_format_find_next_symbol_at(GBinFormat *format, const vmpa2t *addr,
* addr = adresse à cibler lors des recherches. *
* strict = indication de tolérance acceptée. *
* symbol = éventuel symbole trouvé à déréfenrencer. [OUT] *
-* diff = décallage entre l'adresse et le symbole. [OUT] *
+* diff = décalage entre l'adresse et le symbole. [OUT] *
* *
* Description : Recherche le symbole correspondant à une adresse. *
* *
diff --git a/src/format/mangling/itanium/abi.c b/src/format/mangling/itanium/abi.c
index d0a8e37..5645a05 100644
--- a/src/format/mangling/itanium/abi.c
+++ b/src/format/mangling/itanium/abi.c
@@ -1321,7 +1321,7 @@ static itanium_component *itd_special_name(GItaniumDContext *context)
itanium_component *result; /* Construction à retourner */
char next; /* Caractère suivant */
char peek; /* Prochain caractère lu */
- itanium_component *offset1; /* Décallage extrait #1 */
+ itanium_component *offset1; /* Décalage extrait #1 */
itanium_component *encoding; /* Encodage suivant */
/**
@@ -1453,7 +1453,7 @@ static itanium_component *itd_call_offset(GItaniumDContext *context)
static itanium_component *itd_nv_offset(GItaniumDContext *context)
{
itanium_component *result; /* Construction à retourner */
- ssize_t offset; /* Décallage obtenu */
+ ssize_t offset; /* Décalage obtenu */
/**
* La règle traitée ici est la suivante :
@@ -1487,8 +1487,8 @@ static itanium_component *itd_nv_offset(GItaniumDContext *context)
static itanium_component *itd_v_offset(GItaniumDContext *context)
{
itanium_component *result; /* Construction à retourner */
- ssize_t offset; /* Décallage obtenu #1 */
- ssize_t voffset; /* Décallage obtenu #2 */
+ ssize_t offset; /* Décalage obtenu #1 */
+ ssize_t voffset; /* Décalage obtenu #2 */
/**
* La règle traitée ici est la suivante :
diff --git a/src/format/mangling/itanium/component-int.h b/src/format/mangling/itanium/component-int.h
index e6d86b6..3d4c1d0 100644
--- a/src/format/mangling/itanium/component-int.h
+++ b/src/format/mangling/itanium/component-int.h
@@ -44,7 +44,7 @@ struct _itanium_component
/* ICT_NON_VIRTUAL_OFFSET */
/* ICT_VIRTUAL_OFFSET */
- ssize_t offset; /* Décallage de fonction */
+ ssize_t offset; /* Décalage de fonction */
/* ICT_TYPE */
GDataType *dtype; /* Type instancié */
diff --git a/src/format/mangling/itanium/component.c b/src/format/mangling/itanium/component.c
index 1173c17..c2edc17 100644
--- a/src/format/mangling/itanium/component.c
+++ b/src/format/mangling/itanium/component.c
@@ -329,8 +329,8 @@ itanium_component *itd_make_operator(GItaniumDContext *context, const itanium_op
/******************************************************************************
* *
* Paramètres : context = contexte de décodage à utiliser. *
-* type = type exacte de décallage. *
-* offset = décallage extrait de l'encodage. *
+* type = type exacte de décalage. *
+* offset = décalage extrait de l'encodage. *
* *
* Description : Construit un composant dans un contexte Itanium. *
* *
diff --git a/src/format/mangling/itanium/component.h b/src/format/mangling/itanium/component.h
index cc00d47..6aa4e57 100644
--- a/src/format/mangling/itanium/component.h
+++ b/src/format/mangling/itanium/component.h
@@ -75,7 +75,7 @@ typedef enum _ItaniumComponentType
/**
* Fonctions virtuelles.
- * -> décallage : 'offset'.
+ * -> décalage : 'offset'.
* -> fonctions simples : 'binary'.
* -> fonctions complexes : 'ternary'.
*/
diff --git a/src/format/pe/pe_def.h b/src/format/pe/pe_def.h
index 2557226..d6d34f2 100644
--- a/src/format/pe/pe_def.h
+++ b/src/format/pe/pe_def.h
@@ -55,7 +55,7 @@ typedef struct _image_dos_header
uint16_t e_oemid; /* Identifiant OEM */
uint16_t e_oeminfo; /* Infos OEM pour e_oemid */
uint16_t e_res2[10]; /* Mots réservés */
- uint32_t e_lfanew; /* Décallage de bonne en-tête */
+ uint32_t e_lfanew; /* Décalage de bon en-tête */
} image_dos_header;