|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78716 Function name mangling is wrong for some parameter types
Submitted: 2019-10-22 08:53 UTC Modified: 2019-10-22 08:53 UTC
From: Assigned: cmb (profile)
Status: Closed Package: *Extensibility Functions
PHP Version: 7.4Git-2019-10-22 (Git) OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
9 - 2 = ?
Subscribe to this entry?

 [2019-10-22 08:53 UTC]
The current name mangling for __stdcall and __fastcall functions
yields wrong results for parameter types whose size is smaller
than sizeof(size_t).  For instance,

    void __fastcall foo(char a1)

will be looked up as @foo@1 on 32bit, but is actually @foo@4.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-22 08:53 UTC]
-Assigned To: +Assigned To: cmb
 [2019-10-22 09:40 UTC]
Automatic comment on behalf of
Log: Fix #78716: Function name mangling is wrong for some parameter types
 [2019-10-22 09:40 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 22:01:32 2024 UTC