Title: Theory / Important / CS / Algo / Hacking / Art of exploitation{ / Programming;
Tags: hasNotNewEffectReturnsMeaning computer_to_instruction FromInstruction fromCommandLine some_instruction FromVariables has_seen_instruction_2 seen_description type

Instruction: Until (foo)
bar
Page: 10
Effect: Evaluate foo
if it holds, halt
Execute bar
Start from beginning
Context: Hacking, the art of exploitation book
Chapter: 0x2
Section: 32

Instruction: int
Page: 11
Effect: The type of integral number
Chapter: 0x2
Section: 40

Typ: float
Meaning: The type of floating point number
Page: 11
Chapter: 0x2
Section: 40

Instruction: char
Page: 11
Effect: The type of characters
Chapter: 0x2
Section: 40

Instruction: x=v;
Page: 11
Effect: Evaluate v and assign its value to x
Chapter: 0x2
Section: 41
Variables: t a type
x a variable of type t
v an expression of type t

Instruction: v_1+v_2
Page: 11
Effect: The sum of the evaluation of the v_i
Chapter: 0x2
Section: 42
Variables: t a numeric type
v_i expression of type t
+ may be -, *, /

Instruction: v_1%v_2
Page: 11
Effect: The remaining of the division of v_1 by v_2
Chapter: 0x2
Section: 42
Variables: v_i an expression of type int

Instruction: x++ (x--)
Page: 11
Effect: Increment (decrement) x. The value of this expression is the old value of x
Chapter: 0x2
Section: 42
Variables: x a variable of type int

Instruction: ++x (--x)
Page: 11
Effect: Increment (decrement) x.
Chapter: 0x2
Section: 42
Returns: the new value of x
Variables: x a variable of type int

Question: int a, b;
a = 5;
b = a++ * 6;
Answer: a=6
b=30
Page: 11
Chapter: 0x2
Section: 42

Question: int a, b;
a = 5;
b = ++a * 6;
Answer: a=6
b=36
Page: 11
Chapter: 0x2
Section: 42

Instruction: t#=v
Page: 14
Effect: abbreviation for t=t#v
Chapter: 0x2
Section: 42
Variables: t a numerical type
x a variable of type t
v an expression of type t
# be +, -, * or /

Instruction: IF (foo) then
bar
Else
buzl
Page: 8
Effect: Evaluate foo. If it holds do bar, otherwise do buz
Context: Hacking, the art of exploitation book
Chapter: 0x2
Section: 31

Instruction: {
foo_1
_ ...
_ foo_n
}
Page: 9
Effect: An instruction consisting in executing foo_i up to_ foo_n
Language: c
Context: Hacking, the art of exploitation book
Chapter: 0x2
Section: 31

Instruction: While (foo)
bar
Page: 10
Effect: Evaluate foo
if it does not hold, halt
Execute bar
Start from beginning
Context: Hacking, the art of exploitation book
Chapter: 0x2
Section: 32

Variable: disassembly
Meaning: The language in which the code is dissassembled
Page: 25
Context: GDB
Section: 53
Chapter: 2

Instruction: foo bar, buz
Page: 25
Effect: The instruction foo, with destination bar and source buz
Context: GDB
Chapter: 2
Section: 53

Instruction: mov bar, buz
Page: 25
Effect: Copy content of buz to bar
Context: GDB
Chapter: 2
Section: 53

Instruction: sub bar, buz
Page: 25
Effect: Put bar-buz into bar
Context: GDB
Chapter: 2
Section: 53

Page: 27
Effect: examine memory at location foo and display in format bar
Context: GDB
Chapter: 2
Section: 53
Abbreviation: x/foo bar

Page: 28
Effect: The value contained in the register foo
Context: GDB
Chapter: 2
Section: 53
Abbreviation: $foo

Name: A word
Definition: A four-byte unit
Page: 28
Chapter: 2
Section: 53
Context: GDB

Name: Possible size of memory shown
Definition: b for byte
Page: 28
Chapter: 2
Section: 53
Context: GDB
Definition2: h for half-word
Conjdef: all
Definition3: w for word
Definition4: g for giant (two words)

Page: 30
Effect: Display the memory at position foo as a disasembled assembly language instruction
Chapter: 2
Section: 53
Abbreviation: x/i foo

Page: 31
Effect: Execute one instruction
Chapter: 2
Section: 53
Abbreviation: nexti

Page: 35
Effect: Examine memory at position foo, and n characters after, as ASCII character
Chapter: 2
Section: 53
Abbreviation: x/nc foo

Instruction: JMP foo
Page: 36
Effect: Jmp at position foo
Context: Intel
Chapter: 2
Section: 53