Closed Bug 561883 Opened 14 years ago Closed 6 years ago

Need a way to trace function calls on Windows builds

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: taras.mozilla, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

1.98 KB, application/x-zip-compressed
Details
I need the desktop windows equivalent of work in bug 493427. I tried callcap on x86 and could not even get a simple testcase to work without crashing.

_penter is a functional equivalent, unfortunately I don't know assembler so I can't get it to work.
Attached file testcase (obsolete) —
"__asm mov DWORD PTR [framePtr], ebp" causes the testcase to crash. That doesn't make any sense to me
Attachment #441632 - Attachment is patch: false
Attachment #441632 - Attachment mime type: text/plain → application/zip
Attached file working testcase
Fixed the crash. khuey on #developers pointed out that I needed to make some room on the stack for the local variable.
http://msdn.microsoft.com/en-us/magazine/cc301382.aspx and http://msdn.microsoft.com/en-us/magazine/bb984918.aspx are somewhat useful for reference on this.
Attachment #441632 - Attachment is obsolete: true
Product: Core → Firefox Build System
wontfix?
Flags: needinfo?(nika)
Yeah, I think so. We have the gecko profiler now.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(nika)
Resolution: --- → WONTFIX
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: