Bounded loops in BPF programs
Bounded loops in BPF programs
Posted Dec 4, 2018 11:50 UTC (Tue) by ibukanov (subscriber, #3942)Parent article: Bounded loops in BPF programs
      Posted Dec 4, 2018 14:19 UTC (Tue)
                               by dskoll (subscriber, #1630)
                              [Link] (4 responses)
       A few nested loops and once again you can execute billions of iterations...
      
           
     
    
      Posted Dec 4, 2018 22:46 UTC (Tue)
                               by ibukanov (subscriber, #3942)
                              [Link] (1 responses)
       
     
    
      Posted Dec 5, 2018 2:24 UTC (Wed)
                               by dskoll (subscriber, #1630)
                              [Link] 
       That would work if BPF programs couldn't call subroutines, or if the verifier chased subroutines down to make sure anything called within a loop didn't contain its own loop.  Sounds pretty tricky and tedious. I don't envy those doing this work.
      
           
     
      Posted Dec 5, 2018 14:25 UTC (Wed)
                               by mina86 (guest, #68442)
                              [Link] (1 responses)
       
     
    
      Posted Dec 5, 2018 20:10 UTC (Wed)
                               by matthias (subscriber, #94967)
                              [Link] 
       
     
    Bounded loops in BPF programs
      Bounded loops in BPF programs
      
Bounded loops in BPF programs
      Bounded loops in BPF programs
      
Bounded loops in BPF programs
      
           