Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r6Od8-000kan-Sp for pgsql-general@arkaria.postgresql.org; Fri, 24 Nov 2023 05:21:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r6Od6-007zjf-BQ for pgsql-general@arkaria.postgresql.org; Fri, 24 Nov 2023 05:21:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r6Od4-007zjW-JL for pgsql-general@lists.postgresql.org; Fri, 24 Nov 2023 05:21:27 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r6Od1-0075V1-2i for pgsql-general@postgresql.org; Fri, 24 Nov 2023 05:21:25 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 56EF93200922; Fri, 24 Nov 2023 00:21:20 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 24 Nov 2023 00:21:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1700803279; x=1700889679; bh=xNB1oJK2E7zmsckTHXMGIqpt9UiDm+VO98c +TlU7Zn0=; b=QEPPAzWjUCjxILVPYMIOcS2Spl6A/eYf70JwdhpuBEhm+/leh1x ysH2Ql8LNpRZaY/CFTk2LR9JRYLTF7qzVkzpY/trP6Lf4W0bL0DtPZhyQ628PQcM FW8IGgqRIHXCoQnegQJkDHPl8XZq32ti0hGxzObfEiX4U9tXVoEjNkwpbtGxig3m wzUEaWE3tZaRLpNIBPSzehvET0n/sl9ljInzBDU1OqDr4j+4RSelDxyZZuic3sds +4vDCO6fq3fyFpLpoTw91juawpWikP8xl0fD/MUBsObREZ/8BeL1pJGZsi7WsgUP pcaEsYbJqBOcuZlY6d7mY6+q0spcZ5HgDLw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1700803279; x=1700889679; bh=xNB1oJK2E7zmsckTHXMGIqpt9UiDm+VO98c +TlU7Zn0=; b=bflCGHNPF8u/9SSrPHlF74Knvv6OBjDWCyRKtTA63YgXd/P+Phv esvuyxNxFNqLqGwA+AwKIex/NriW0gck8ZvE2uDDbE/veqG5TXIFV9fqtMQSAqwq Y36GFHJr8r3TdtGMXIUahXl3pEyIhcOgUmYvl67zwtwfSTaLCZcVN1/8cJfTQCSe 9I7gmF9VQ4oaqB9g3dljPbf1iZd9RvokcC3ESyJ4584zG6ccscYHCCViAb3i8OBx dlXl93LWcw25h5V0ZKJvziYgAJZhCFs54c6pWCDooXVmTiKp/pZQq8ilC++KcyIg 0WECZOpcJaOkAMIqQw02rwfjc5a4DnEA21A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudehgedgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhevhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepffevhefggfdtgfefvddtjeetteegtddtueejhfel ieejheeitdejgefggeeiudfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Nov 2023 00:21:19 -0500 (EST) Message-ID: <966f45a2-c4c9-4064-a926-3e35ef8be766@aklaver.com> Date: Thu, 23 Nov 2023 21:21:18 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Inquiry Regarding Initial Seed for pgsql Protocol Fuzz Testing To: Cherry Pang References: <82a2a2eb-7e62-4041-80dd-4cb3a1b43c36@aklaver.com> Content-Language: en-US Cc: pgsql-general From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/23/23 17:42, Cherry Pang wrote: Reply to list also. Ccing list. > Firstly, I apologize for my mistake. I meant PostgreSQL, not SQLite. > > Secondly, when it comes to fuzzing tests, it refers to using > automatically generated inputs to test the security and stability of > software. In the realm of databases, particularly with respect to > PostgreSQL, fuzzing tests can help uncover logic errors and crash bugs > in the database. Fuzzing inputs for these types of bugs typically > encompass various SQL statements, such as creating tables, creating > indexes, inserting data, deleting data, and so forth. These inputs > simulate various scenarios within the database system, aiding in the > discovery of potential vulnerabilities and issues, thus enhancing the > stability and security of the database What I was getting at is that details about the tools/software you are using as well as how you are currently using them would help those that also do this to guide you. > > Adrian Klaver > 于2023年11月23日周四 23:54写道: > > On 11/22/23 22:56, Cherry Pang wrote: > > hello! > > I am a novice enthusiast in the field of fuzz testing and have an > > interest in conducting fuzz testing for the SQLite protocol. I > > understand that testing the logic bugs or crash bugs in Data > > Manipulation Language (DML) functionalities differs > significantly, and > > as such, I am unsure about the initial seed format required. > > 1) FYI, this is the list for Postgres not SQLite. > > 2) I don't know anything about fuzzy testing, but for those that do it > might be helpful to mention what tools you are using. > > > > >  From my understanding, the seed for protocol testing refers to > queries > > or commands sent to the database server. How does this differ > from seeds > > used in regular logic testing? I would greatly appreciate it if you > > could shed some light on the format of the initial seed for this > > purpose. If possible, providing a few seed examples would be > immensely > > helpful. > > > > Thank you very much for your time and assistance. > > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com