From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Cherry Pang <cherrypang99@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Inquiry Regarding Initial Seed for pgsql Protocol Fuzz Testing
Date: Thu, 23 Nov 2023 21:21:18 -0800
Message-ID: <966f45a2-c4c9-4064-a926-3e35ef8be766@aklaver.com> (raw)
In-Reply-To: <CANRuYSKNFB+PdYEApPU=te_-t+vhgwo6AZY6_icv3JuO2Le2dg@mail.gmail.com>
References: <CANRuYSJzaEGTA_Ex6cjT+XJzvYjyHOBnTvo1KF4_=pYYx2FtiQ@mail.gmail.com>
<82a2a2eb-7e62-4041-80dd-4cb3a1b43c36@aklaver.com>
<CANRuYSKNFB+PdYEApPU=te_-t+vhgwo6AZY6_icv3JuO2Le2dg@mail.gmail.com>
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 <adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.com>> 于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 <mailto:adrian.klaver@aklaver.com>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, cherrypang99@gmail.com
Subject: Re: Inquiry Regarding Initial Seed for pgsql Protocol Fuzz Testing
In-Reply-To: <966f45a2-c4c9-4064-a926-3e35ef8be766@aklaver.com>
References: <CANRuYSJzaEGTA_Ex6cjT+XJzvYjyHOBnTvo1KF4_=pYYx2FtiQ@mail.gmail.com> <82a2a2eb-7e62-4041-80dd-4cb3a1b43c36@aklaver.com> <CANRuYSKNFB+PdYEApPU=te_-t+vhgwo6AZY6_icv3JuO2Le2dg@mail.gmail.com> <966f45a2-c4c9-4064-a926-3e35ef8be766@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox