TEXT   28
hashtable dd
Guest on 17th March 2023 01:21:41 PM


  1. hashtable:
  2.   dd      4                    ; number of buckets = 0..3 (modulo 4)
  3.   dd      5                    ; number of chains = 0..4 (dummy plus four symbols)
  4. buckets:  ; y=0..3
  5.   dd      0                    ; y=0, nothing
  6.   dd      2                    ; y=1, first match is SymIdx=2, dlsym
  7.   dd      1                    ; y=2, first match is SymIdx=1, dlopen
  8.   dd      0                    ; nothing for y=3
  9. chains:
  10.   dd      0                    ; 0=dummy
  11.   dd      4                    ; 1=dlopen, not dlopen, try dlerror
  12.   dd      3                    ; 2=dlsym, not dlsym, try dlclose
  13.   dd      0                    ; 3=dlclose, last in chain for y=1
  14.   dd      0                    ; 4=dlerror, last in chain for y=2

Raw Paste

Login or Register to edit or fork this paste. It's free.