Return-Path: Received: from mail-wm0-f48.google.com ([74.125.82.48]:38336 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750718AbdESHj3 (ORCPT ); Fri, 19 May 2017 03:39:29 -0400 Received: by mail-wm0-f48.google.com with SMTP id v15so77310148wmv.1 for ; Fri, 19 May 2017 00:39:28 -0700 (PDT) Subject: Re: BPF Verifier Overview References: <20170518.140009.2301493573177276287.davem@davemloft.net> From: Quentin Monnet Message-ID: Date: Fri, 19 May 2017 09:39:22 +0200 MIME-Version: 1.0 In-Reply-To: <20170518.140009.2301493573177276287.davem@davemloft.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: xdp-newbies-owner@vger.kernel.org List-ID: To: David Miller , xdp-newbies@vger.kernel.org Thanks a lot for this overview! 2017-05-18 (14:00 -0400) ~ David Miller > […] > > You can capture dumps like this quite simply by using the > bpf_verify_program() library helper. You can see how this is > used in tools/testing/samples/bpf/test_align.c Minor correction: the actual path seems to be tools/testing/selftests/bpf/test_align.c Best, Quentin