Pelles C forum

Assembly language => Assembly discussions => Topic started by: HellOfMice on December 14, 2024, 12:33:35 PM

Title: PARMAREA
Post by: HellOfMice on December 14, 2024, 12:33:35 PM
Hello the world,

I had a problem similar to a stack overflow, or a bad stack pointer, some functions need to add a number to the stack (add rsp+888)
None of these problem met.

I searched...

Until I realized that a sqlite3_snprintf function had more than 4 parameters.

I had "PARMAREA = 4 * QWORD" rather than "PARAMAREA = 16 * QWORD"...

If you have a strange problem think to PARMAREA
Title: Re: PARMAREA
Post by: Vortex on December 14, 2024, 12:36:38 PM
Hi Philippe,

PARAMAREA should be always adjusted to take in acoount the maximum number of parameters specified by an invoke statement.