about summary refs log blame commit diff stats
path: root/transect/compiler2
blob: 5c06cc4f7b6569e7d93f1cef52fa06718fa433f3 (plain) (tree)


























                                                                         
to dereference a heap allocation
  copy handle to stack
  perform lookup to stack

lookup x in *(ESP+4) of type (handle T)

  reg <- copy *(ESP+5) : (address T stack)
  payload alloc id <- copy *reg
  address alloc id <- copy *(ESP+4)
  compare payload alloc id, address alloc id
  jump if not equal to print stack trace and panic
  address <- add reg, 1

types:

  address T reg
  address T stack
  address T heap
  address T global

copy down this spectrum is not permitted, but up is.

addresses aren't allowed in types, globals and on the heap. Only handles.
addresses are only for temporary manipulations.


*(address T) <- copy T
> 2019-06-26 17:49:35 +0100 core iptables revision' href='/punk/doc/commit/core/conf/iptables/ipt-conf.sh?id=eddfa5ed593e67c9b2e6c53382b4fe044663451a'>eddfa5e ^
b6b79e6 ^
eddfa5e ^

045ea9a ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
           

                        
 


                             
                                                
           
                           
                   
                 
             
              

                    
                           
                   

                                 

               
                
                

                                
                     
#!/bin/bash

IPT="/usr/sbin/iptables"

SPAMLIST="blockedip"
SPAMDROPMSG="BLOCKED IP DROP"

# bridge interface with interface facing gateway
BR_IF="br0"
# bridge ip network address
BR_NET="10.0.0.0/8"
# network gateway
GW="10.0.0.1"
# external dns
DNS="212.55.154.174"

# static machine ip address
PUB_IP="10.0.0.254"

# public interface facing gateway
PUB_IF="enp8s0"

# wifi interface
WIFI_IF="wlp7s0"

# static wifi ip network address
WIFI_NET="10.0.0.0/8"