mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-05-02 06:46:07 -04:00
👩🏻🦱Update README
This commit is contained in:
parent
f4546a6eb4
commit
3db3d6bfc7
1 changed files with 6 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
* Low-level OS structures and executable file format.
|
||||
|
||||
---
|
||||
##Assembly 101
|
||||
## Assembly 101
|
||||
|
||||
### Arithmetic Instructions
|
||||
|
||||
|
@ -118,7 +118,7 @@ p = q + (z + 1)
|
|||
```
|
||||
|
||||
becomes
|
||||
````
|
||||
```
|
||||
temp = z + 1
|
||||
a = b + z
|
||||
p = q + z
|
||||
|
@ -166,6 +166,7 @@ Becomes:
|
|||
y = x + x
|
||||
y = (x << 4) - x
|
||||
```
|
||||
|
||||
#### Code block reordering
|
||||
|
||||
Codes such as :
|
||||
|
@ -179,6 +180,7 @@ l1:
|
|||
l2:
|
||||
return;
|
||||
```
|
||||
|
||||
Becomes:
|
||||
```
|
||||
if (a > 10) goto l1
|
||||
|
@ -200,6 +202,7 @@ goto l2
|
|||
#### Instruction scheduling
|
||||
|
||||
Assembly code like:
|
||||
|
||||
```
|
||||
mov eax, [esi]
|
||||
add eax, 1
|
||||
|
@ -207,6 +210,7 @@ mov ebx, [edi]
|
|||
add ebx, 1
|
||||
```
|
||||
Becomes:
|
||||
|
||||
```
|
||||
mov eax, [esi]
|
||||
mov ebx, [edi]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue