Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 14 of 14) sorted by relevance

/wasmtime-44.0.1/crates/wmemcheck/src/
H A Dlib.rs201 assert!(wmemcheck_state.malloc(0x1000, 32).is_ok()); in basic_wmemcheck()
213 assert!(wmemcheck_state.malloc(0x1000, 32).is_ok()); in read_before_initializing()
229 assert!(wmemcheck_state.malloc(0x1000, 32).is_ok()); in use_after_free()
260 wmemcheck_state.malloc(640 * 1024, 1), in out_of_bounds_malloc()
267 wmemcheck_state.malloc(640 * 1024 - 10, 15), in out_of_bounds_malloc()
296 wmemcheck_state.malloc(0x1000, 32), in double_malloc()
303 wmemcheck_state.malloc(0x1002, 32), in double_malloc()
318 wmemcheck_state.malloc(0x1000, 32), in error_type()
325 wmemcheck_state.malloc(640 * 1024, 32), in error_type()
357 wmemcheck_state.malloc(512, 32), in bad_stack_malloc()
[all …]
/wasmtime-44.0.1/docs/
H A Dwmemcheck.md5 (`malloc` and `free` functions are visible and your program uses only the
17 address, double-free, or an internal error in malloc that allocates the same
24 char* p = malloc(1024);
H A Dsecurity-what-is-considered-a-security-vulnerability.md21 guest's* point of view, such as corruption of its `malloc`'s free list or
H A Dcontributing-architecture.md75 (with `malloc`) or in a pooling fashion (using the pooling allocator). The
279 is allocated depends on the strategy (malloc for on-demand, slab allocation
377 `malloc` is implemented). The matrix of all of these combinations is then used
449 Rust's `Vec` which uses `malloc` and friends for memory. With the pooling
H A Dexamples-minimal.md376 * Wasmtime depends on the availability of a memory allocator (e.g. `malloc`).
/wasmtime-44.0.1/tests/misc_testsuite/
H A Drs2wasm-add-func.wast20 (data (i32.const 1049092) "invalid malloc request"))
/wasmtime-44.0.1/tests/all/cli_tests/
H A Drs2wasm-add-func.wat20 (data (i32.const 1049092) "invalid malloc request"))
/wasmtime-44.0.1/examples/min-platform/embedding/
H A Dwasmtime-platform.c180 pthread_mutex_t *new_mutex = malloc(sizeof(pthread_mutex_t)); in mutex_lazy_init()
218 pthread_rwlock_t *new_rwlock = malloc(sizeof(pthread_rwlock_t)); in rwlock_lazy_init()
/wasmtime-44.0.1/examples/min-platform/embedding/src/
H A Dallocator.rs42 .malloc(layout.size(), layout.align()) in alloc()
/wasmtime-44.0.1/examples/
H A Dthreads.c168 thread_args *args = malloc(sizeof(thread_args)); in main()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dmemory.rs96 mod malloc; module
97 pub use self::malloc::MallocMemory;
H A Dlibcalls.rs1363 let result = wmemcheck_state.malloc(addr as usize, len as usize); in check_malloc()
/wasmtime-44.0.1/crates/environ/src/fact/
H A Dtrampoline.rs970 Destination::Memory(self.malloc(lift_opts, size, align)) in translate_params()
1802 let dst_mem = self.malloc( in string_copy()
1918 let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 1); in string_deflate_to_utf8()
2112 let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 2); in string_utf8_to_utf16()
2196 let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 2); in string_compact_utf16_to_compact()
2285 let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 2); in string_to_compact()
2607 let dst_mem = self.malloc( in begin_translate_sequence()
3748 fn malloc<'c>(&mut self, opts: &'c Options, size: MallocSize, align: u32) -> Memory<'c> { in malloc() method
/wasmtime-44.0.1/crates/wasmtime/
H A DCargo.toml386 # with `malloc` instead. This feature can be used, for these platforms, to