Debug functions to control amount of remaining stack space

RESOLVED DUPLICATE of bug 1395240

Status

()

--
enhancement
RESOLVED DUPLICATE of bug 1395240
7 years ago
10 months ago

People

(Reporter: jruderman, Unassigned)

Tracking

({sec-want})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [js:p2][fuzzblocker])

(Reporter)

Description

7 years ago
I'd like a debug function that takes two parameters:
* The amount of native stack space to leave available
* A callback

The function would use alloca to gobble up the difference between a stack dummy and RuntimeFriendFields::get(rt)->nativeStackLimit, then call its callback.

This would let my fuzzer create more precise and more portable testcases than my current "nearNativeStackLimit" gadget.

I'd also like something similar for script stack space (to replace another gadget, "nearScriptStackLimit"), but I don't understand that as well.
Whiteboard: [js:p2]
(Reporter)

Updated

6 years ago
Keywords: sec-want
(Reporter)

Comment 1

6 years ago
See also bug 735082.
Whiteboard: [js:p2] → [js:p2][fuzzblocker]
(Assignee)

Updated

4 years ago
Assignee: general → nobody
Status: NEW → RESOLVED
Last Resolved: 10 months ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1395240
You need to log in before you can comment on or make changes to this bug.