On 19/4/24 12:21, Peter Maydell wrote:
On Fri, 19 Apr 2024 at 10:37, 姜智伟 wrote:
Peter Maydell wrote:
I feel like this might be a bug elsewhere. Can you provide
a repro binary and command line?
The test file has been attached with RISCV CBO instruction as the first
instruction to execute, wi
On Fri, 19 Apr 2024 at 10:37, 姜智伟 wrote:
> Peter Maydell wrote:
> > I feel like this might be a bug elsewhere. Can you provide
> > a repro binary and command line?
>
> The test file has been attached with RISCV CBO instruction as the first
> instruction to execute, with command-line arguments as
> > > On 4/18/24 03:27, Zhiwei Jiang wrote:
> > > > Sometimes, when the address of the passed TCGTemp *ts variable is the
> > > > same as tcg_ctx,
> > >
> > > Pardon? When would TCGTemp *ts == TCGContext *tcg_ctx?
> > >
> > >
> > > > the index calculated in the temp_idx function, i.e., ts -
> >
On Fri, 19 Apr 2024 at 04:49, 姜智伟 wrote:
>
> > On 4/18/24 03:27, Zhiwei Jiang wrote:
> > > Sometimes, when the address of the passed TCGTemp *ts variable is the
> > > same as tcg_ctx,
> >
> > Pardon? When would TCGTemp *ts == TCGContext *tcg_ctx?
> >
> >
> > > the index calculated in the temp_id
> On 4/18/24 03:27, Zhiwei Jiang wrote:
> > Sometimes, when the address of the passed TCGTemp *ts variable is the same
> > as tcg_ctx,
>
> Pardon? When would TCGTemp *ts == TCGContext *tcg_ctx?
>
>
> > the index calculated in the temp_idx function, i.e., ts - tcg_ctx->temps,
> > can result in
On 4/18/24 03:27, Zhiwei Jiang wrote:
Sometimes, when the address of the passed TCGTemp *ts variable is the same as
tcg_ctx,
Pardon? When would TCGTemp *ts == TCGContext *tcg_ctx?
the index calculated in the temp_idx function, i.e., ts - tcg_ctx->temps,
can result in a particularly large v
Sometimes, when the address of the passed TCGTemp *ts variable is the same as
tcg_ctx,
the index calculated in the temp_idx function, i.e., ts - tcg_ctx->temps,
can result in a particularly large value, causing overflow in the subsequent
array access.
0 0x7f79590132ac in test_bit (addr=, nr