(size, fill, encoding)
| 598 | // future sandbox lookups of `Buffer.alloc` route through the cap. |
| 599 | const localBufferAllocOriginal = LocalBuffer.alloc; |
| 600 | function alloc(size, fill, encoding) { |
| 601 | checkBufferAllocLimit(size); |
| 602 | // Use raw Reflect.apply (`apply`) here — LocalBuffer is a frozen bridge proxy. |
| 603 | return apply(localBufferAllocOriginal, LocalBuffer, arguments); |
| 604 | } |
| 605 | |
| 606 | connect(alloc, host.Buffer.alloc); |
| 607 |
nothing calls this directly
no test coverage detected
searching dependent graphs…