name
string
code
string
asm
string
file
string
wabt::(anonymous namespace)::Validator::OnTableFillExpr(wabt::VarExpr<(wabt::ExprType)57>*)
Result Validator::OnTableFillExpr(TableFillExpr* expr) { result_ |= validator_.OnTableFill(expr->loc, expr->var); return Result::Ok; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx leaq 0x18(%rdi), %r14 leaq 0x18(%rsi), %r15 addq $0x40, %rsi movq %rsp, %r12 movq %r12, %rdi callq 0x3e72c movq %r14, %rdi movq %r15, %rsi movq %r12, %rdx callq 0x512ee cmpl $0x1, 0x298(%rbx) sete %cl cmpl $0x1, %eax sete %al orb %cl, %al movz...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnReturnCallExpr(wabt::VarExpr<(wabt::ExprType)40>*)
Result Validator::OnReturnCallExpr(ReturnCallExpr* expr) { result_ |= validator_.OnReturnCall(expr->loc, expr->var); return Result::Ok; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx leaq 0x18(%rdi), %r14 leaq 0x18(%rsi), %r15 addq $0x40, %rsi movq %rsp, %r12 movq %r12, %rdi callq 0x3e72c movq %r14, %rdi movq %r15, %rsi movq %r12, %rdx callq 0x50af4 cmpl $0x1, 0x298(%rbx) sete %cl cmpl $0x1, %eax sete %al orb %cl, %al movz...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnReturnCallIndirectExpr(wabt::ReturnCallIndirectExpr*)
Result Validator::OnReturnCallIndirectExpr(ReturnCallIndirectExpr* expr) { result_ |= validator_.OnReturnCallIndirect( expr->loc, GetFuncTypeIndex(expr->loc, expr->decl), expr->table); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rsi, %r15 movq %rdi, %r14 leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x40(%rsi), %rcx leaq 0x50(%rsp), %rbx movq %rbx, %rdi movq %r14, %rsi movq %r13, %rdx callq 0x47586 addq $0xc0, %r15 leaq 0x8(%rsp), %rbp movq %rbp, %rdi m...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnSelectExpr(wabt::SelectExpr*)
Result Validator::OnSelectExpr(SelectExpr* expr) { result_ |= validator_.OnSelect(expr->loc, expr->result_type.size(), expr->result_type.data()); return Result::Ok; }
pushq %rbx movq %rdi, %rbx addq $0x18, %rdi leaq 0x18(%rsi), %rax movq 0x40(%rsi), %rcx movq 0x48(%rsi), %rdx subq %rcx, %rdx shrq $0x3, %rdx movq %rax, %rsi callq 0x50d4e cmpl $0x1, 0x298(%rbx) sete %cl cmpl $0x1, %eax sete %al orb %cl, %al movzbl %al, %eax movl %eax, 0x298(%rbx) xorl %eax, %eax popq %rbx retq
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnStoreExpr(wabt::LoadStoreExpr<(wabt::ExprType)49>*)
Result Validator::OnStoreExpr(StoreExpr* expr) { result_ |= validator_.OnStore(expr->loc, expr->opcode, expr->memidx, expr->opcode.GetAlignment(expr->align), expr->offset); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x88(%rsi), %rbp movl 0x88(%rsi), %r14d addq $0x40, %rsi movq %rsp, %rdi callq 0x3e72c movq 0x90(%r15), %rsi movq %rbp, %rdi callq 0x4140a movq 0x98(%r15), ...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnCatchExpr(wabt::TryExpr*, wabt::Catch*)
Result Validator::OnCatchExpr(TryExpr*, Catch* catch_) { result_ |= validator_.OnCatch(catch_->loc, catch_->var, catch_->IsCatchAll()); return Result::Ok; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x20(%rdx), %rsi movq %rsp, %r14 movq %r14, %rdi callq 0x3e72c movl 0x48(%r15), %eax notl %eax xorl %ecx, %ecx orl 0x40(%r15), %eax sete %cl movq %r12, %rdi movq %r15, %rsi movq %r14, %rdx callq 0x4f9...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnDelegateExpr(wabt::TryExpr*)
Result Validator::OnDelegateExpr(TryExpr* expr) { result_ |= validator_.OnDelegate(expr->loc, expr->delegate_target); return Result::Ok; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx leaq 0x18(%rdi), %r14 leaq 0x18(%rsi), %r15 addq $0x130, %rsi # imm = 0x130 movq %rsp, %r12 movq %r12, %rdi callq 0x3e72c movq %r14, %rdi movq %r15, %rsi movq %r12, %rdx callq 0x4fb74 cmpl $0x1, 0x298(%rbx) sete %cl cmpl $0x1, %eax ...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnRethrowExpr(wabt::VarExpr<(wabt::ExprType)38>*)
Result Validator::OnRethrowExpr(RethrowExpr* expr) { result_ |= validator_.OnRethrow(expr->loc, expr->var); return Result::Ok; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx leaq 0x18(%rdi), %r14 leaq 0x18(%rsi), %r15 addq $0x40, %rsi movq %rsp, %r12 movq %r12, %rdi callq 0x3e72c movq %r14, %rdi movq %r15, %rsi movq %r12, %rdx callq 0x50a90 cmpl $0x1, 0x298(%rbx) sete %cl cmpl $0x1, %eax sete %al orb %cl, %al movz...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnAtomicWaitExpr(wabt::LoadStoreExpr<(wabt::ExprType)6>*)
Result Validator::OnAtomicWaitExpr(AtomicWaitExpr* expr) { result_ |= validator_.OnAtomicWait(expr->loc, expr->opcode, expr->memidx, expr->opcode.GetAlignment(expr->align), expr->offset); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x88(%rsi), %rbp movl 0x88(%rsi), %r14d addq $0x40, %rsi movq %rsp, %rdi callq 0x3e72c movq 0x90(%r15), %rsi movq %rbp, %rdi callq 0x4140a movq 0x98(%r15), ...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnAtomicNotifyExpr(wabt::LoadStoreExpr<(wabt::ExprType)4>*)
Result Validator::OnAtomicNotifyExpr(AtomicNotifyExpr* expr) { result_ |= validator_.OnAtomicNotify(expr->loc, expr->opcode, expr->memidx, expr->opcode.GetAlignment(expr->align), expr->offset); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x88(%rsi), %rbp movl 0x88(%rsi), %r14d addq $0x40, %rsi movq %rsp, %rdi callq 0x3e72c movq 0x90(%r15), %rsi movq %rbp, %rdi callq 0x4140a movq 0x98(%r15), ...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnAtomicLoadExpr(wabt::LoadStoreExpr<(wabt::ExprType)0>*)
Result Validator::OnAtomicLoadExpr(AtomicLoadExpr* expr) { result_ |= validator_.OnAtomicLoad(expr->loc, expr->opcode, expr->memidx, expr->opcode.GetAlignment(expr->align), expr->offset); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x88(%rsi), %rbp movl 0x88(%rsi), %r14d addq $0x40, %rsi movq %rsp, %rdi callq 0x3e72c movq 0x90(%r15), %rsi movq %rbp, %rdi callq 0x4140a movq 0x98(%r15), ...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnAtomicStoreExpr(wabt::LoadStoreExpr<(wabt::ExprType)3>*)
Result Validator::OnAtomicStoreExpr(AtomicStoreExpr* expr) { result_ |= validator_.OnAtomicStore(expr->loc, expr->opcode, expr->memidx, expr->opcode.GetAlignment(expr->align), expr->offset); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x88(%rsi), %rbp movl 0x88(%rsi), %r14d addq $0x40, %rsi movq %rsp, %rdi callq 0x3e72c movq 0x90(%r15), %rsi movq %rbp, %rdi callq 0x4140a movq 0x98(%r15), ...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnAtomicRmwExpr(wabt::LoadStoreExpr<(wabt::ExprType)1>*)
Result Validator::OnAtomicRmwExpr(AtomicRmwExpr* expr) { result_ |= validator_.OnAtomicRmw(expr->loc, expr->opcode, expr->memidx, expr->opcode.GetAlignment(expr->align), expr->offset); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x88(%rsi), %rbp movl 0x88(%rsi), %r14d addq $0x40, %rsi movq %rsp, %rdi callq 0x3e72c movq 0x90(%r15), %rsi movq %rbp, %rdi callq 0x4140a movq 0x98(%r15), ...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnAtomicRmwCmpxchgExpr(wabt::LoadStoreExpr<(wabt::ExprType)2>*)
Result Validator::OnAtomicRmwCmpxchgExpr(AtomicRmwCmpxchgExpr* expr) { result_ |= validator_.OnAtomicRmwCmpxchg( expr->loc, expr->opcode, expr->memidx, expr->opcode.GetAlignment(expr->align), expr->offset); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x88(%rsi), %rbp movl 0x88(%rsi), %r14d addq $0x40, %rsi movq %rsp, %rdi callq 0x3e72c movq 0x90(%r15), %rsi movq %rbp, %rdi callq 0x4140a movq 0x98(%r15), ...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnSimdLoadLaneExpr(wabt::SimdLoadLaneExpr*)
Result Validator::OnSimdLoadLaneExpr(SimdLoadLaneExpr* expr) { result_ |= validator_.OnSimdLoadLane(expr->loc, expr->opcode, expr->memidx, expr->opcode.GetAlignment(expr->align), expr->offset, expr->val); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x88(%rsi), %rbp movl 0x88(%rsi), %r14d addq $0x40, %rsi leaq 0x10(%rsp), %rdi callq 0x3e72c movq 0x90(%r15), %rsi movq %rbp, %rdi callq 0x4140a movq 0x98(%...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnSimdStoreLaneExpr(wabt::SimdStoreLaneExpr*)
Result Validator::OnSimdStoreLaneExpr(SimdStoreLaneExpr* expr) { result_ |= validator_.OnSimdStoreLane(expr->loc, expr->opcode, expr->memidx, expr->opcode.GetAlignment(expr->align), expr->offset, expr->val); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x88(%rsi), %rbp movl 0x88(%rsi), %r14d addq $0x40, %rsi leaq 0x10(%rsp), %rdi callq 0x3e72c movq 0x90(%r15), %rsi movq %rbp, %rdi callq 0x4140a movq 0x98(%...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnLoadSplatExpr(wabt::LoadStoreExpr<(wabt::ExprType)47>*)
Result Validator::OnLoadSplatExpr(LoadSplatExpr* expr) { result_ |= validator_.OnLoadSplat(expr->loc, expr->opcode, expr->memidx, expr->opcode.GetAlignment(expr->align), expr->offset); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x88(%rsi), %rbp movl 0x88(%rsi), %r14d addq $0x40, %rsi movq %rsp, %rdi callq 0x3e72c movq 0x90(%r15), %rsi movq %rbp, %rdi callq 0x4140a movq 0x98(%r15), ...
/WebAssembly[P]wabt/src/validator.cc
wabt::(anonymous namespace)::Validator::OnLoadZeroExpr(wabt::LoadStoreExpr<(wabt::ExprType)48>*)
Result Validator::OnLoadZeroExpr(LoadZeroExpr* expr) { result_ |= validator_.OnLoadZero(expr->loc, expr->opcode, expr->memidx, expr->opcode.GetAlignment(expr->align), expr->offset); return Result::Ok; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rdi), %r12 leaq 0x18(%rsi), %r13 leaq 0x88(%rsi), %rbp movl 0x88(%rsi), %r14d addq $0x40, %rsi movq %rsp, %rdi callq 0x3e72c movq 0x90(%r15), %rsi movq %rbp, %rdi callq 0x4140a movq 0x98(%r15), ...
/WebAssembly[P]wabt/src/validator.cc
wabt::BinaryReaderLogging::WriteIndent()
void BinaryReaderLogging::WriteIndent() { static char s_indent[] = " " " "; static const size_t s_indent_len = sizeof(s_indent) - 1; size_t i = indent_; while (...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movslq 0x20(%rdi), %r15 cmpq $0x8f, %r15 jb 0x47f22 leaq 0xc66c4(%rip), %r14 # 0x10e5c0 movq 0x10(%rbx), %rdi movl $0x8e, %edx movq %r14, %rsi xorl %ecx, %ecx xorl %r8d, %r8d callq 0x438c2 addq $-0x8e, %r15 cmpq $0x8e, %r15 ja 0x47efc testq %r15, %r15 je 0x47f45 movq...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::LogType(wabt::Type)
void BinaryReaderLogging::LogType(Type type) { if (type.IsIndex()) { LOGF_NOINDENT("typeidx[%d]", type.GetIndex()); } else { LOGF_NOINDENT("%s", type.GetName().c_str()); } }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rsi, %rdx movq %rsi, (%rsp) movq 0x10(%rdi), %rbx testl %edx, %edx js 0x47f7a leaq 0x1b9a8(%rip), %rsi # 0x63911 movq %rbx, %rdi xorl %eax, %eax addq $0x28, %rsp popq %rbx popq %r14 jmp 0x4394e leaq 0x8(%rsp), %r14 movq %rsp, %rsi movq %r14, %rdi callq 0x2df88 movq (%r14...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::LogTypes(unsigned int, wabt::Type*)
void BinaryReaderLogging::LogTypes(Index type_count, Type* types) { LOGF_NOINDENT("["); for (Index i = 0; i < type_count; ++i) { LogType(types[i]); if (i != type_count - 1) { LOGF_NOINDENT(", "); } } LOGF_NOINDENT("]"); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movl %esi, %r15d movq %rdi, %r14 movq 0x10(%rdi), %rdi leaq 0x1bdfc(%rip), %rsi # 0x63ddb xorl %eax, %eax callq 0x4394e testl %r15d, %r15d je 0x48022 leal -0x1(%r15), %r12d movl %r15d, %r13d leaq 0x160a4(%rip), %r15 # 0...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::OnFuncType(unsigned int, unsigned int, wabt::Type*, unsigned int, wabt::Type*)
Result BinaryReaderLogging::OnFuncType(Index index, Index param_count, Type* param_types, Index result_count, Type* result_types) { LOGF("OnFuncType(index: %" PRI...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, %rbx movl %r8d, %ebp movq %rcx, %r14 movl %edx, %r15d movl %esi, %r12d movq %rdi, %r13 callq 0x47ee0 movq 0x10(%r13), %rdi leaq 0x1b7bf(%rip), %rsi # 0x63964 movl %r12d, %edx xorl %eax, %eax callq 0x4394e movq %r13, %rdi movl %r1...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::OnStructType(unsigned int, unsigned int, wabt::TypeMut*)
Result BinaryReaderLogging::OnStructType(Index index, Index field_count, TypeMut* fields) { LOGF("OnStructType(index: %" PRIindex ", fields: ", index); LOGF_NOINDENT("["); for (Index i = 0; i < field_count; ++i) { LogField(field...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %rbx movl %edx, %r14d movl %esi, %ebp movq %rdi, %r15 callq 0x47ee0 movq 0x10(%r15), %rdi leaq 0x1b74e(%rip), %rsi # 0x6398f movl %ebp, 0xc(%rsp) movl %ebp, %edx xorl %eax, %eax callq 0x4394e movq 0x10(%r15), %rdi leaq 0x1...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::OnImport(unsigned int, wabt::ExternalKind, std::basic_string_view<char, std::char_traits<char>>, std::basic_string_view<char, std::char_traits<char>>)
Result BinaryReaderLogging::OnImport(Index index, ExternalKind kind, std::string_view module_name, std::string_view field_name) { LOGF("OnImport(index: %" PRIindex ", kind: %s, module: \"" PRIstringview ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r8, %rbx movq %rcx, %r14 movl %edx, %ebp movl %esi, %r15d movq %rdi, %r12 leaq 0x40(%rsp), %r13 callq 0x47ee0 movq 0x10(%r12), %rdi cmpl $0x4, %ebp ja 0x48398 movl %ebp, %eax leaq 0x3bf0e(%rip), %rcx # 0x842a0 movq (%rcx,%rax,8), %rc...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::OnImportTable(unsigned int, std::basic_string_view<char, std::char_traits<char>>, std::basic_string_view<char, std::char_traits<char>>, unsigned int, wabt::Type, wabt::Limits const*)
Result BinaryReaderLogging::OnImportTable(Index import_index, std::string_view module_name, std::string_view field_name, Index table_index, Type elem_ty...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa8, %rsp movq %r9, 0x18(%rsp) movq %r8, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq %rdx, %rbp movl %esi, %r14d movq %rdi, %r13 movq 0xf0(%rsp), %rsi leaq 0x40(%rsp), %rbx movq %rbx, %rdi callq 0x48550 movq %r13, %rdi callq 0x47ee0 movq 0x10(%r13), %r15...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::(anonymous namespace)::SPrintLimits(char*, unsigned long, wabt::Limits const*)
void SPrintLimits(char* dst, size_t size, const Limits* limits) { int result; if (limits->has_max) { result = wabt_snprintf(dst, size, "initial: %" PRIu64 ", max: %" PRIu64, limits->initial, limits->max); } else { result = wabt_snprintf(dst, size, "initial: %" PRIu64, limits->in...
pushq %rax movq (%rsi), %rcx cmpb $0x1, 0x10(%rsi) jne 0x48573 movq 0x8(%rsi), %r8 leaq 0x1cf54(%rip), %rdx # 0x654b9 movl $0x64, %esi xorl %eax, %eax callq 0x153c0 jmp 0x48586 leaq 0x1cf56(%rip), %rdx # 0x654d0 movl $0x64, %esi xorl %eax, %eax callq 0x153c0 cmpl $0x64, %eax jae 0x4858d popq %rax retq leaq 0x1c...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::OnImportMemory(unsigned int, std::basic_string_view<char, std::char_traits<char>>, std::basic_string_view<char, std::char_traits<char>>, unsigned int, wabt::Limits const*, unsigned int)
Result BinaryReaderLogging::OnImportMemory(Index import_index, std::string_view module_name, std::string_view field_name, Index memory_index, const ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %r9, 0x8(%rsp) movq %r8, (%rsp) movq %rcx, %r12 movq %rdx, %rbp movl %esi, %r14d movq %rdi, %r13 movl 0xb0(%rsp), %r15d movq 0xb8(%rsp), %rsi leaq 0x10(%rsp), %rbx movq %rbx, %rdi callq 0x48550 movq %r13, %rdi callq 0x47ee0 movq 0x1...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::OnImportGlobal(unsigned int, std::basic_string_view<char, std::char_traits<char>>, std::basic_string_view<char, std::char_traits<char>>, unsigned int, wabt::Type, bool)
Result BinaryReaderLogging::OnImportGlobal(Index import_index, std::string_view module_name, std::string_view field_name, Index global_index, Type t...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r9, 0x10(%rsp) movq %r8, 0x8(%rsp) movq %rcx, %r12 movq %rdx, %r13 movl %esi, %ebp movq %rdi, %r14 callq 0x47ee0 movq 0x10(%r14), %rbx leaq 0x18(%rsp), %r15 leaq 0x78(%rsp), %rsi movq %r15, %rdi callq 0x2df88 movq (%r15), %r8 leaq ...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::OnTable(unsigned int, wabt::Type, wabt::Limits const*)
Result BinaryReaderLogging::OnTable(Index index, Type elem_type, const Limits* elem_limits) { char buf[100]; SPrintLimits(buf, sizeof(buf), elem_limits); LOGF("OnTable(index: %" PRIindex ", elem_type: %s, %s)\n", index, elem_type.GetNa...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rcx, %rbx movl %esi, %ebp movq %rdi, %r14 leaq 0x8(%rsp), %r15 movq %rdx, (%r15) leaq 0x30(%rsp), %rdi movq %rcx, %rsi callq 0x48550 movq %r14, %rdi callq 0x47ee0 movq 0x10(%r14), %r13 leaq 0x10(%rsp), %r12 movq %r12, %rdi movq %r1...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::BeginGlobal(unsigned int, wabt::Type, bool)
Result BinaryReaderLogging::BeginGlobal(Index index, Type type, bool mutable_) { LOGF("BeginGlobal(index: %" PRIindex ", type: %s, mutable: %s)\n", index, type.GetName().c_str(), mutable_ ? "true" : "false"); return reader_->BeginGlobal(index, type, mutable_); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %ecx, %ebp movl %esi, %ebx movq %rdi, %r14 movq %rsp, %r15 movq %rdx, (%r15) callq 0x47ee0 movq 0x10(%r14), %r12 leaq 0x8(%rsp), %r13 movq %r13, %rdi movq %r15, %rsi callq 0x2df88 movq (%r13), %rcx leaq 0x198b8(%rip), %rax # 0x6...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::OnBrTableExpr(unsigned int, unsigned int*, unsigned int)
Result BinaryReaderLogging::OnBrTableExpr(Index num_targets, Index* target_depths, Index default_target_depth) { LOGF("OnBrTableExpr(num_targets: %" PRIindex ", depths: [", num_targets); for (Index i = 0; i < num_targets; ++i) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %ecx, 0xc(%rsp) movq %rdx, %r14 movl %esi, %ebx movq %rdi, %r12 callq 0x47ee0 movq 0x10(%r12), %rdi leaq 0x1b0e6(%rip), %rsi # 0x63c8d movl %ebx, %edx xorl %eax, %eax callq 0x4394e movq %rbx, 0x10(%rsp) testl %ebx, %ebx je 0x48c...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::OnTryTableExpr(wabt::Type, std::vector<wabt::CatchClause, std::allocator<wabt::CatchClause>> const&)
Result BinaryReaderLogging::OnTryTableExpr(Type sig_type, const CatchClauseVector& catches) { LOGF("OnTryTableExpr(sig: "); LogType(sig_type); Index count = catches.size(); LOGF_NOINDENT(", n: %" PRIindex ", catches: [", count); for (auto& catch_ : catches) { au...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 callq 0x47ee0 movq 0x10(%r15), %rdi leaq 0x1ae77(%rip), %rsi # 0x63db4 xorl %eax, %eax callq 0x4394e movq %r15, %rdi movq %r14, 0x8(%rsp) movq %r14, %rsi callq 0x47f4c movq 0x8(%rbx), %...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BinaryReaderLogging::OnElemSegmentElemType(unsigned int, wabt::Type)
Result BinaryReaderLogging::OnElemSegmentElemType(Index index, Type elem_type) { LOGF("OnElemSegmentElemType(index: %" PRIindex ", type: %s)\n", index, elem_type.GetName().c_str()); return reader_->OnElemSegmentElemType(index, elem_type); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x30, %rsp movl %esi, %ebx movq %rdi, %r14 leaq 0x8(%rsp), %r15 movq %rdx, (%r15) callq 0x47ee0 movq 0x10(%r14), %r12 leaq 0x10(%rsp), %r13 movq %r13, %rdi movq %r15, %rsi callq 0x2df88 movq (%r13), %rcx leaq 0x1ad11(%rip), %rsi # 0x63ea1 movq %r12, %rdi ...
/WebAssembly[P]wabt/src/binary-reader-logging.cc
wabt::BindingHash::FindDuplicates(std::function<void (std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, wabt::Binding> const&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, wabt::Binding> const&)>) const
void BindingHash::FindDuplicates(DuplicateCallback callback) const { if (size() > 0) { ValueTypeVector duplicates; CreateDuplicatesVector(&duplicates); SortDuplicatesVectorByLocation(&duplicates); CallCallbacks(duplicates, callback); } }
cmpq $0x0, 0x18(%rdi) je 0x4c80c pushq %r14 pushq %rbx subq $0x48, %rsp movq %rsi, %rbx xorps %xmm0, %xmm0 movq %rsp, %r14 movaps %xmm0, (%r14) movq $0x0, 0x10(%r14) movq %r14, %rsi callq 0x4c80e movq %r14, %rsi callq 0x4c8ba xorps %xmm0, %xmm0 movaps %xmm0, 0x30(%rsp) movaps %xmm0, 0x20(%rsp) movq 0x10(%rbx), %rax tes...
/WebAssembly[P]wabt/src/binding-hash.cc
wabt::BindingHash::CreateDuplicatesVector(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, wabt::Binding> const*, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, wabt::Binding> const*>>*) const
void BindingHash::CreateDuplicatesVector( ValueTypeVector* out_duplicates) const { // This relies on the fact that in an unordered_multimap, all values with the // same key are adjacent in iteration order. auto first = begin(); bool is_first = true; for (auto iter = std::next(first); iter != end(); ++iter...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, 0x10(%rsp) movq 0x10(%rdi), %r12 movq (%r12), %r15 testq %r15, %r15 je 0x4c8ab movb $0x1, %bpl leaq 0x8(%r12), %r14 leaq 0x8(%r15), %r13 movq 0x10(%r12), %rdx cmpq 0x10(%r15), %rdx jne 0x4c85d testq %rdx, %rdx je 0x4c861 movq ...
/WebAssembly[P]wabt/src/binding-hash.cc
wabt::BindingHash::FindIndex(wabt::Var const&) const
Index BindingHash::FindIndex(const Var& var) const { if (var.is_name()) { return FindIndex(var.name()); } return var.index(); }
pushq %rax movl 0x20(%rsi), %eax testl %eax, %eax je 0x4cb12 cmpl $0x1, %eax jne 0x4cb21 addq $0x28, %rsi callq 0x24f6c testq %rax, %rax je 0x4cb1a movq %rax, %rsi addq $0x48, %rsi jmp 0x4cb16 addq $0x28, %rsi movl (%rsi), %eax popq %rcx retq movl $0xffffffff, %eax # imm = 0xFFFFFFFF jmp 0x4cb18 leaq 0xa7b4(%rip)...
/WebAssembly[P]wabt/src/binding-hash.cc
wabt::Color::SupportsColor(_IO_FILE*)
bool Color::SupportsColor(FILE* file) { char* force = getenv("FORCE_COLOR"); if (force) { return atoi(force) != 0; } #if HAVE_WIN32_VT100 HANDLE handle; if (file == stdout) { handle = GetStdHandle(STD_OUTPUT_HANDLE); } else if (file == stderr) { handle = GetStdHandle(STD_ERROR_HANDLE); } els...
pushq %rbx movq %rdi, %rbx leaq 0x185a3(%rip), %rdi # 0x6561a callq 0x15300 testq %rax, %rax je 0x4d08b movq %rax, %rdi callq 0x153a0 jmp 0x4d09a movq %rbx, %rdi callq 0x15250 movl %eax, %edi callq 0x153e0 testl %eax, %eax setne %al popq %rbx retq nop
/WebAssembly[P]wabt/src/color.cc
wabt::SharedValidator::SharedValidator(std::vector<wabt::Error, std::allocator<wabt::Error>>*, wabt::ValidateOptions const&)
SharedValidator::SharedValidator(Errors* errors, const ValidateOptions& options) : options_(options), errors_(errors), typechecker_(options.features) { typechecker_.set_error_callback( [this](const char* msg) { OnTypecheckerError(msg); }); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movl 0xf(%rdx), %eax movl %eax, 0xf(%rdi) movups (%rdx), %xmm0 movups %xmm0, (%rdi) movq %rsi, 0x18(%rdi) leaq 0x20(%rdi), %r14 xorps %xmm0, %xmm0 movups %xmm0, 0x20(%rdi) movups %xmm0, 0x30(%rdi) movups %xmm0, 0x40(%rdi) movups %xmm0, 0x50(%r...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnStructType(wabt::Location const&, unsigned int, wabt::TypeMut*)
Result SharedValidator::OnStructType(const Location&, Index field_count, TypeMut* fields) { struct_types_.emplace(num_types_++, StructType{TypeMutVector( &fields[0], &fields[field_count])}); return Re...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp leaq 0xe8(%rdi), %rbx movl 0xb4(%rdi), %eax leal 0x1(%rax), %esi movl %esi, 0xb4(%rdi) leaq 0xc(%rsp), %r14 movl %eax, (%r14) movl %edx, %eax leaq (%rax,%rax,2), %rax leaq (%rcx,%rax,4), %rdx xorps %xmm0, %xmm0 leaq 0x10(%rsp), %r15 movaps %xmm0, (%r15) movq ...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnFunction(wabt::Location const&, wabt::Var)
Result SharedValidator::OnFunction(const Location& loc, Var sig_var) { Result result = Result::Ok; FuncType type; result |= CheckFuncTypeIndex(sig_var, &type); funcs_.push_back(type); return result; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdi, %r14 xorps %xmm0, %xmm0 movq %rsp, %r15 movaps %xmm0, 0x20(%r15) movaps %xmm0, 0x10(%r15) movaps %xmm0, (%r15) leaq 0x40(%rsp), %r12 movq %r12, %rdi movq %rdx, %rsi callq 0x3e72c movq %r14, %rdi movq %r12, %rsi movq %r15, %rdx callq 0x4d69e movl %e...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::CheckFuncTypeIndex(wabt::Var, wabt::SharedValidator::FuncType*)
Result SharedValidator::CheckFuncTypeIndex(Var sig_var, FuncType* out) { Result result = CheckIndex(sig_var, num_types_, "function type"); if (Failed(result)) { *out = FuncType{}; return Result::Error; } auto iter = func_types_.find(sig_var.index()); if (iter == func_types_.end()) { return PrintE...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x80, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 leaq 0x38(%rsp), %r12 movq %r12, %rdi callq 0x3e72c movl 0xb4(%r15), %edx leaq 0x182fd(%rip), %rcx # 0x659ce movq %r15, %rdi movq %r12, %rsi callq 0x4e5a6 movl %eax, %ebp movq %r12, %rdi callq 0x3...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::CheckLimits(wabt::Location const&, wabt::Limits const&, unsigned long, char const*)
Result SharedValidator::CheckLimits(const Location& loc, const Limits& limits, uint64_t absolute_max, const char* desc) { Result result = Result::Ok; if (limits.initial > absolute_max) { result |= ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r8, %rbx movq %rcx, %r13 movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %r15 movq (%rdx), %r8 xorl %ebp, %ebp cmpq %rcx, %r8 jbe 0x4d869 leaq 0x17e8a(%rip), %rdx # 0x656d7 movq %r15, %rdi movq %r14, %rsi movq %rbx, %rcx movq %r13, %r9 xo...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnTable(wabt::Location const&, wabt::Type, wabt::Limits const&)
Result SharedValidator::OnTable(const Location& loc, Type elem_type, const Limits& limits) { Result result = Result::Ok; if (tables_.size() > 0 && !options_.features.reference_types_enabled()) { result |= PrintError(loc, "only one table allowed"); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %r15 movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %rbx movq 0x168(%rdi), %rax cmpq 0x160(%rdi), %rax je 0x4d91a cmpb $0x0, 0xa(%rbx) je 0x4d91f xorl %r13d, %r13d jmp 0x4d93a leaq 0x17e1a(%rip), %rdx # 0x65740 movq %rbx, %rdi...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnMemory(wabt::Location const&, wabt::Limits const&, unsigned int)
Result SharedValidator::OnMemory(const Location& loc, const Limits& limits, uint32_t page_size) { Result result = Result::Ok; if (memories_.size() > 0 && !options_.features.multi_memory_enabled()) { result |= PrintError(loc, "only one memory bloc...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x20, %rsp movl %ecx, %r12d movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq 0x180(%rdi), %rax xorl %ebp, %ebp cmpq 0x178(%rdi), %rax je 0x4da9f cmpb $0x0, 0xf(%rbx) jne 0x4da9f leaq 0x17d13(%rip), %rdx # 0x6579c movq %rbx, %rdi movq %r15, %rsi xorl %...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnGlobalImport(wabt::Location const&, wabt::Type, bool)
Result SharedValidator::OnGlobalImport(const Location& loc, Type type, bool mutable_) { Result result = Result::Ok; if (mutable_ && !options_.features.mutable_globals_enabled()) { result |= PrintError(loc, "mutable globals cannot be i...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x18, %rsp movl %ecx, %r14d movq %rdx, %r15 movq %rdi, %rbx xorl %ebp, %ebp testl %ecx, %ecx je 0x4dc0d cmpb $0x0, 0x1(%rbx) jne 0x4dc0d leaq 0x17c5d(%rip), %rdx # 0x65857 movq %rbx, %rdi xorl %eax, %eax callq 0x4d29a xorl %ebp, %ebp cmpl $0x1, %eax sete %bpl movq %...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnGlobal(wabt::Location const&, wabt::Type, bool)
Result SharedValidator::OnGlobal(const Location& loc, Type type, bool mutable_) { globals_.push_back(GlobalType{type, mutable_}); return Result::Ok; }
subq $0x18, %rsp movq %rdx, 0x8(%rsp) movb %cl, 0x10(%rsp) movq 0x198(%rdi), %rsi cmpq 0x1a0(%rdi), %rsi je 0x4dc9a movl 0x10(%rsp), %eax movl %eax, 0x8(%rsi) movq 0x8(%rsp), %rax movq %rax, (%rsi) addq $0xc, 0x198(%rdi) jmp 0x4dcab addq $0x190, %rdi # imm = 0x190 leaq 0x8(%rsp), %rdx callq 0x52ce6 xorl %eax...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::CheckType(wabt::Location const&, wabt::Type, wabt::Type, char const*)
Result SharedValidator::CheckType(const Location& loc, Type actual, Type expected, const char* desc) { if (Failed(TypeChecker::CheckType(actual, expected))) { PrintError(loc, "type mismatch at %s. got %s, expecte...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %r8, %rbx movq %rsi, %r14 movq %rdi, %r15 movq %rdx, 0x8(%rsp) movq %rcx, (%rsp) movq %rdx, %rdi movq %rcx, %rsi callq 0x53cd0 movl %eax, %ecx xorl %eax, %eax cmpl $0x1, %ecx jne 0x4dd64 leaq 0x30(%rsp), %r12 leaq 0x8(%rsp), %rsi movq %r12, %r...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnTag(wabt::Location const&, wabt::Var)
Result SharedValidator::OnTag(const Location& loc, Var sig_var) { Result result = Result::Ok; FuncType type; result |= CheckFuncTypeIndex(sig_var, &type); if (!type.results.empty()) { result |= PrintError(loc, "Tag signature must have 0 results."); } tags_.push_back(TagType{type.params}); return resul...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rsi, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 movq %rsp, %r15 movaps %xmm0, 0x20(%r15) movaps %xmm0, 0x10(%r15) movaps %xmm0, (%r15) leaq 0x50(%rsp), %r12 movq %r12, %rdi movq %rdx, %rsi callq 0x3e72c movq %rbx, %rdi movq %r12, %rsi...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnExport(wabt::Location const&, wabt::ExternalKind, wabt::Var, std::basic_string_view<char, std::char_traits<char>>)
Result SharedValidator::OnExport(const Location& loc, ExternalKind kind, Var item_var, std::string_view name) { Result result = Result::Ok; auto name_str = std::string(name); if (export_names_.find(name_str) != expo...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq %r9, %rbx movq %r8, %r13 movq %rcx, 0x8(%rsp) movl %edx, %ebp movq %rsi, 0x30(%rsp) movq %rdi, %r14 leaq 0x20(%rsp), %rax movq %rax, -0x10(%rax) leaq (%r9,%r8), %rdx leaq 0x10(%rsp), %r15 movq %r15, %rdi mo...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnStart(wabt::Location const&, wabt::Var)
Result SharedValidator::OnStart(const Location& loc, Var func_var) { Result result = Result::Ok; if (starts_++ > 0) { result |= PrintError(loc, "only one start function allowed"); } FuncType func_type; result |= CheckFuncIndex(func_var, &func_type); if (func_type.params.size() != 0) { result |= Prin...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdx, %r15 movq %rdi, %r14 movl 0x1d8(%rdi), %eax leal 0x1(%rax), %ecx movl %ecx, 0x1d8(%rdi) testl %eax, %eax movq %rsi, 0x8(%rsp) je 0x4e24c leaq 0x176a4(%rip), %rdx # 0x658de movq %r14, %rdi xorl %eax, %eax callq 0x4d29a cmpl...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnElemSegment(wabt::Location const&, wabt::Var, wabt::SegmentKind)
Result SharedValidator::OnElemSegment(const Location& loc, Var table_var, SegmentKind kind) { Result result = Result::Ok; TableType table_type; if (kind == SegmentKind::Active) { result |= CheckTableIndex(table_var, &table_type); } ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x88, %rsp movl %ecx, %r14d movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, 0x2b(%rsp) movaps %xmm0, 0x20(%rsp) xorl %ebp, %ebp testl %ecx, %ecx jne 0x4e38f leaq 0x40(%rsp), %r15 movq %r15, %rdi movq %rdx, %rsi callq 0x3e72c leaq 0x20(%rsp), %rdx movq %rbx, %rdi movq %...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnElemSegmentElemType(wabt::Location const&, wabt::Type)
Result SharedValidator::OnElemSegmentElemType(const Location& loc, Type elem_type) { Result result = Result::Ok; auto& elem = elems_.back(); if (elem.is_active) { // Check that the type of the elem segment matches the table in which // it is active. result...
pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx movq 0x1c8(%rdi), %r14 xorl %eax, %eax cmpb $0x1, -0xc(%r14) jne 0x4e42c movq -0x8(%r14), %rcx leaq 0x1752b(%rip), %r8 # 0x65945 movq %rbx, %rdx callq 0x4dcb2 movl %eax, %ecx xorl %eax, %eax cmpl $0x1, %ecx sete %al movq %rbx, -0x14(%r14) addq $0x8, %rsp popq %rbx p...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::CheckDeclaredFunc(wabt::Var)
Result SharedValidator::CheckDeclaredFunc(Var func_var) { if (declared_funcs_.count(func_var.index()) == 0) { return PrintError(func_var.loc, "function %" PRIindex " is not declared in any elem sections", func_var.index()); } return Result::Ok;...
pushq %rax cmpl $0x0, 0x20(%rsi) jne 0x4e4f3 movl 0x28(%rsi), %ecx movq 0x240(%rdi), %r8 leaq 0x238(%rdi), %rax movq %rax, %rdx testq %r8, %r8 je 0x4e4c8 movq %rax, %rdx xorl %r9d, %r9d cmpl %ecx, 0x20(%r8) setb %r9b cmovaeq %r8, %rdx movq 0x10(%r8,%r9,8), %r8 testq %r8, %r8 jne 0x4e4af movq %rax, %r8 cmpq %rax, %rdx j...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::EndModule()
Result SharedValidator::OnRethrow(const Location& loc, Var depth) { Result result = CheckInstr(Opcode::Rethrow, loc); result |= typechecker_.OnRethrow(depth.index()); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq 0x260(%rdi), %r14 movq 0x268(%rdi), %r13 cmpq %r13, %r14 je 0x4e591 movq %rdi, %rbx xorl %ebp, %ebp leaq 0x50(%rsp), %r15 leaq 0x8(%rsp), %r12 movq %r15, %rdi movq %r14, %rsi callq 0x3e72c movq %r12, %rdi movq %r15, %rsi callq 0x3e7...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::CheckIndex(wabt::Var, unsigned int, char const*)
Index index() const { assert(is_index()); return index_; }
cmpl $0x0, 0x20(%rsi) jne 0x4e5c9 movl %edx, %r9d movl 0x28(%rsi), %r8d cmpl %edx, %r8d jae 0x4e5bb xorl %eax, %eax retq leaq 0x173c1(%rip), %rdx # 0x65983 xorl %eax, %eax jmp 0x4d29a pushq %rax leaq 0x8d0b(%rip), %rdi # 0x572dc leaq 0x8cad(%rip), %rsi # 0x57285 leaq 0x8d08(%rip), %rcx # 0x572e7 movl...
/WebAssembly[P]wabt/include/wabt/ir.h
wabt::SharedValidator::CheckBlockSignature(wabt::Location const&, wabt::Opcode, wabt::Type, std::vector<wabt::Type, std::allocator<wabt::Type>>*, std::vector<wabt::Type, std::allocator<wabt::Type>>*)
Result SharedValidator::CheckBlockSignature(const Location& loc, Opcode opcode, Type sig_type, TypeVector* out_param_types, TypeVector* out_resu...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %r9, %r13 movq %r8, %r14 movl %edx, 0xc(%rsp) movq %rcx, 0x18(%rsp) testl %ecx, %ecx js 0x4e83d movq %rsi, %r15 movq %rdi, %r12 movq %r13, 0x10(%rsp) xorps %xmm0, %xmm0 leaq 0x20(%rsp), %r13 movaps %xmm0, 0x20(%r13) movaps %xmm0, 0x...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::BeginFunctionBody(wabt::Location const&, unsigned int)
Result SharedValidator::BeginFunctionBody(const Location& loc, Index func_index) { expr_loc_ = loc; locals_.clear(); if (func_index < funcs_.size()) { for (Type type : funcs_[func_index].params) { // TODO: Coalesce parameters of the same type? locals_.push...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movups (%rsi), %xmm0 movups 0x10(%rsi), %xmm1 movups %xmm1, 0xa0(%rdi) movups %xmm0, 0x90(%rdi) movq 0x1e8(%rdi), %rax cmpq %rax, 0x1f0(%rdi) je 0x4e9af movq %rax, 0x1f0(%rbx) movl %edx, %eax movq 0x148(%rbx), %rcx movq 0...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::CheckAtomicAlign(wabt::Location const&, unsigned long, unsigned long)
Result SharedValidator::CheckAtomicAlign(const Location& loc, Address alignment, Address natural_alignment) { if (!is_power_of_two(alignment)) { PrintError(loc, "alignment (%" PRIaddress ") must be a power of 2", alig...
pushq %rax movq %rdx, %r8 leal -0x1(%rdx), %eax xorl %eax, %edx cmpl %eax, %edx jbe 0x4ebf7 xorl %eax, %eax cmpq %rcx, %r8 je 0x4ec0d leaq 0x16fa5(%rip), %rdx # 0x65b9a jmp 0x4ec01 leaq 0x16f0d(%rip), %rdx # 0x65b0b movq %r8, %rcx xorl %eax, %eax callq 0x4d29a movl $0x1, %eax popq %rcx retq nop
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::ValidInitOpcode(wabt::Opcode) const
bool SharedValidator::ValidInitOpcode(Opcode opcode) const { if (opcode == Opcode::GlobalGet || opcode == Opcode::I32Const || opcode == Opcode::I64Const || opcode == Opcode::F32Const || opcode == Opcode::F64Const || opcode == Opcode::RefFunc || opcode == Opcode::RefNull) { return true; } if ...
movb $0x1, %al cmpl $0x3c, %esi ja 0x4ec2c movl %esi, %ecx movabsq $0x1e00000040000000, %rdx # imm = 0x1E00000040000000 btq %rcx, %rdx jae 0x4ec2c andb $0x1, %al retq cmpl $0xdb, %esi je 0x4ec29 cmpl $0xdd, %esi je 0x4ec29 cmpb $0x1, 0x10(%rdi) jne 0x4ec55 addl $-0x62, %esi cmpl $0x14, %esi ja 0x4ec55 movl $0x1c0007, %...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::CheckInstr(wabt::Opcode, wabt::Location const&)
Result SharedValidator::CheckInstr(Opcode opcode, const Location& loc) { expr_loc_ = loc; if (in_init_expr_ && !ValidInitOpcode(opcode)) { PrintError(loc, "invalid initializer: instruction not valid in initializer " "expression: %s", opcode.GetName()); return Res...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x58, %rsp movl %esi, 0xc(%rsp) movups (%rdx), %xmm0 movups 0x10(%rdx), %xmm1 movups %xmm1, 0xa0(%rdi) movups %xmm0, 0x90(%rdi) xorl %ebp, %ebp cmpb $0x1, 0xb0(%rdi) jne 0x4ecc5 movq %rdx, %rbx movq %rdi, %r14 callq 0x4ec10 testb %al, %al jne 0x4ecc5 leaq 0x10(%rsp), %r...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnAtomicFence(wabt::Location const&, unsigned int)
Result SharedValidator::OnAtomicFence(const Location& loc, uint32_t consistency_model) { Result result = CheckInstr(Opcode::AtomicFence, loc); if (consistency_model != 0) { result |= PrintError( loc, "unexpected atomic.fence consistency model (expected 0): %u", ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movl %edx, %ebx movq %rsi, %r15 movq %rdi, %r14 movl $0x1e1, %esi # imm = 0x1E1 movq %r15, %rdx callq 0x4ec5a movl %eax, %ebp testl %ebx, %ebx je 0x4ed1b leaq 0x16f1b(%rip), %rdx # 0x65c16 movq %r14, %rdi movq %r15, %rsi movl %ebx, %ecx xorl %eax, %e...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnAtomicLoad(wabt::Location const&, wabt::Opcode, wabt::Var, unsigned long, unsigned long)
Result SharedValidator::OnAtomicLoad(const Location& loc, Opcode opcode, Var memidx, Address alignment, Address offset) { Result result = CheckInstr(opcode, loc); Memor...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r9, %r15 movq %r8, 0x8(%rsp) movq %rcx, %r13 movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rax movl %edx, (%rax) movl %edx, %esi movq %r14, %rdx callq 0x4ec5a movl %eax, 0x4(%rsp) xorps %xmm0, %xmm0 leaq 0x10(%rsp), %rbp movaps %xmm0...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnAtomicNotify(wabt::Location const&, wabt::Opcode, wabt::Var, unsigned long, unsigned long)
Result SharedValidator::OnAtomicNotify(const Location& loc, Opcode opcode, Var memidx, Address alignment, Address offset) { Result result = CheckInstr(opcode, loc...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r9, %r15 movq %r8, 0x8(%rsp) movq %rcx, %r13 movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rax movl %edx, (%rax) movl %edx, %esi movq %r14, %rdx callq 0x4ec5a movl %eax, 0x4(%rsp) xorps %xmm0, %xmm0 leaq 0x10(%rsp), %rbp movaps %xmm0...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnAtomicRmwCmpxchg(wabt::Location const&, wabt::Opcode, wabt::Var, unsigned long, unsigned long)
Result SharedValidator::OnAtomicRmwCmpxchg(const Location& loc, Opcode opcode, Var memidx, Address alignment, Address offset) { Result result = Ch...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r9, %r15 movq %r8, 0x8(%rsp) movq %rcx, %r13 movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rax movl %edx, (%rax) movl %edx, %esi movq %r14, %rdx callq 0x4ec5a movl %eax, 0x4(%rsp) xorps %xmm0, %xmm0 leaq 0x10(%rsp), %rbp movaps %xmm0...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnAtomicRmw(wabt::Location const&, wabt::Opcode, wabt::Var, unsigned long, unsigned long)
Result SharedValidator::OnAtomicRmw(const Location& loc, Opcode opcode, Var memidx, Address alignment, Address offset) { Result result = CheckInstr(opcode, loc); MemoryType...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r9, %r15 movq %r8, 0x8(%rsp) movq %rcx, %r13 movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rax movl %edx, (%rax) movl %edx, %esi movq %r14, %rdx callq 0x4ec5a movl %eax, 0x4(%rsp) xorps %xmm0, %xmm0 leaq 0x10(%rsp), %rbp movaps %xmm0...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnAtomicStore(wabt::Location const&, wabt::Opcode, wabt::Var, unsigned long, unsigned long)
Result SharedValidator::OnAtomicStore(const Location& loc, Opcode opcode, Var memidx, Address alignment, Address offset) { Result result = CheckInstr(opcode, loc); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r9, %r15 movq %r8, 0x8(%rsp) movq %rcx, %r13 movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rax movl %edx, (%rax) movl %edx, %esi movq %r14, %rdx callq 0x4ec5a movl %eax, 0x4(%rsp) xorps %xmm0, %xmm0 leaq 0x10(%rsp), %rbp movaps %xmm0...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnAtomicWait(wabt::Location const&, wabt::Opcode, wabt::Var, unsigned long, unsigned long)
Result SharedValidator::OnAtomicWait(const Location& loc, Opcode opcode, Var memidx, Address alignment, Address offset) { Result result = CheckInstr(opcode, loc); Memor...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r9, %r15 movq %r8, 0x8(%rsp) movq %rcx, %r13 movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rax movl %edx, (%rax) movl %edx, %esi movq %r14, %rdx callq 0x4ec5a movl %eax, 0x4(%rsp) xorps %xmm0, %xmm0 leaq 0x10(%rsp), %rbp movaps %xmm0...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnBlock(wabt::Location const&, wabt::Type)
Result SharedValidator::OnBlock(const Location& loc, Type sig_type) { Result result = CheckInstr(Opcode::Block, loc); TypeVector param_types, result_types; result |= CheckBlockSignature(loc, Opcode::Block, sig_type, &param_types, &result_types); result |= typechecker_.OnBlock(par...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 movl $0x2, %esi movq %r12, %rdx callq 0x4ec5a movl %eax, 0xc(%rsp) xorl %eax, %eax leaq 0x10(%rsp), %r13 movq %rax, 0x10(%r13) xorps %xmm0, %xmm0 movaps %xmm0, (%r13) leaq 0x30(%rsp), %rbx ...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnBr(wabt::Location const&, wabt::Var)
Result SharedValidator::OnBr(const Location& loc, Var depth) { Result result = CheckInstr(Opcode::Br, loc); result |= typechecker_.OnBr(depth.index()); return result; }
pushq %rbp pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %rdx movq %rdi, %r14 movl $0xc, %esi callq 0x4ec5a cmpl $0x0, 0x20(%rbx) jne 0x4f4f2 movl %eax, %ebp addq $0x20, %r14 movl 0x28(%rbx), %esi movq %r14, %rdi callq 0x54a52 cmpl $0x1, %ebp sete %cl cmpl $0x1, %eax sete %al orb %cl, %al movzbl %al, %eax popq %rbx ...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnBrIf(wabt::Location const&, wabt::Var)
Result SharedValidator::OnBrIf(const Location& loc, Var depth) { Result result = CheckInstr(Opcode::BrIf, loc); result |= typechecker_.OnBrIf(depth.index()); return result; }
pushq %rbp pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %rdx movq %rdi, %r14 movl $0xd, %esi callq 0x4ec5a cmpl $0x0, 0x20(%rbx) jne 0x4f556 movl %eax, %ebp addq $0x20, %r14 movl 0x28(%rbx), %esi movq %r14, %rdi callq 0x54ab0 cmpl $0x1, %ebp sete %cl cmpl $0x1, %eax sete %al orb %cl, %al movzbl %al, %eax popq %rbx ...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnCall(wabt::Location const&, wabt::Var)
Result SharedValidator::OnCall(const Location& loc, Var func_var) { Result result = CheckInstr(Opcode::Call, loc); FuncType func_type; result |= CheckFuncIndex(func_var, &func_type); result |= typechecker_.OnCall(func_type.params, func_type.results); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %r15 movq %rsi, %rdx movq %rdi, %r14 movl $0x10, %esi callq 0x4ec5a movl %eax, %ebx xorps %xmm0, %xmm0 movq %rsp, %r12 movaps %xmm0, 0x20(%r12) movaps %xmm0, 0x10(%r12) movaps %xmm0, (%r12) leaq 0x40(%rsp), %r13 movq %r13, %rd...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnCallRef(wabt::Location const&, unsigned int*)
Result SharedValidator::OnCallRef(const Location& loc, Index* function_type_index) { Result result = CheckInstr(Opcode::CallRef, loc); Index func_index; result |= typechecker_.OnIndexedFuncRef(&func_index); if (Failed(result)) { return result; } FuncType func_type; re...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdx, %rbx movq %rsi, %r12 movq %rdi, %r15 movl $0x14, %esi movq %r12, %rdx callq 0x4ec5a movl %eax, %ebp leaq 0x20(%r15), %r14 leaq 0xc(%rsp), %rsi movq %r14, %rdi callq 0x54cda cmpl $0x1, %ebp sete %cl cmpl $0x1, %eax sete %bpl or...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnCatch(wabt::Location const&, wabt::Var, bool)
Result SharedValidator::OnCatch(const Location& loc, Var tag_var, bool is_catch_all) { Result result = CheckInstr(Opcode::Catch, loc); if (is_catch_all) { TypeVector empty; result |= typechecker_.OnCatch(empty); } else { TagType tag_type;...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movl %ecx, %ebp movq %rdx, %r15 movq %rsi, %rdx movq %rdi, %rbx movl $0x7, %esi callq 0x4ec5a testl %ebp, %ebp je 0x4f9a2 cmpl $0x1, %eax sete %bpl xorps %xmm0, %xmm0 movq %rsp, %r14 movaps %xmm0, (%r14) movq $0x0, 0x10(%r14) jmp 0x4f9eb...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnDataDrop(wabt::Location const&, wabt::Var)
Result SharedValidator::OnDataDrop(const Location& loc, Var segment_var) { Result result = CheckInstr(Opcode::DataDrop, loc); result |= CheckDataSegmentIndex(segment_var); result |= typechecker_.OnDataDrop(segment_var.index()); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rsi, %rdx movq %rdi, %r14 movl $0xd0, %esi callq 0x4ec5a movl %eax, %ebp leaq 0x8(%rsp), %r12 movq %r12, %rdi movq %rbx, %rsi callq 0x3e72c movq %r14, %rdi movq %r12, %rsi callq 0x4e71e movl %eax, %r15d movq %r12, %rdi callq 0...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnGlobalSet(wabt::Location const&, wabt::Var)
Result SharedValidator::OnGlobalSet(const Location& loc, Var global_var) { Result result = CheckInstr(Opcode::GlobalSet, loc); GlobalType global_type; result |= CheckGlobalIndex(global_var, &global_type); if (!global_type.mutable_) { result |= PrintError( loc, "can't global.set on immutable global a...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movl $0x1f, %esi movq %r14, %rdx callq 0x4ec5a movl %eax, %ebp movq %rsp, %r12 movq $0x0, (%r12) movb $0x1, 0x8(%r12) leaq 0x10(%rsp), %r13 movq %r13, %rdi movq %r15, %rsi callq 0x3e72c mov...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnLoad(wabt::Location const&, wabt::Opcode, wabt::Var, unsigned long, unsigned long)
Result SharedValidator::OnLoad(const Location& loc, Opcode opcode, Var memidx, Address alignment, Address offset) { Result result = CheckInstr(opcode, loc); MemoryType mt; result |= CheckMem...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r9, %r15 movq %r8, 0x8(%rsp) movq %rcx, %r13 movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rax movl %edx, (%rax) movl %edx, %esi movq %r14, %rdx callq 0x4ec5a movl %eax, 0x4(%rsp) xorps %xmm0, %xmm0 leaq 0x10(%rsp), %rbp movaps %xmm0...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnLoadZero(wabt::Location const&, wabt::Opcode, wabt::Var, unsigned long, unsigned long)
Result SharedValidator::OnLoadZero(const Location& loc, Opcode opcode, Var memidx, Address alignment, Address offset) { Result result = CheckInstr(opcode, loc); MemoryType mt; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r9, %r15 movq %r8, 0x8(%rsp) movq %rcx, %r13 movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rax movl %edx, (%rax) movl %edx, %esi movq %r14, %rdx callq 0x4ec5a movl %eax, 0x4(%rsp) xorps %xmm0, %xmm0 leaq 0x10(%rsp), %rbp movaps %xmm0...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnLocalGet(wabt::Location const&, wabt::Var)
Result SharedValidator::OnLocalGet(const Location& loc, Var local_var) { CHECK_RESULT(CheckInstr(Opcode::LocalGet, loc)); Result result = Result::Ok; Type type = Type::Any; result |= CheckLocalIndex(local_var, &type); result |= typechecker_.OnLocalGet(type); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %r14 movq %rsi, %rdx movq %rdi, %rbx movl $0x1b, %esi callq 0x4ec5a movl %eax, %ecx movl $0x1, %eax cmpl $0x1, %ecx je 0x50391 movq %rsp, %r15 movq $0x0, (%r15) leaq 0x8(%rsp), %r12 movq %r12, %rdi movq %r14, %rsi callq 0x3e72c movq %rbx...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnLocalSet(wabt::Location const&, wabt::Var)
Result SharedValidator::OnLocalSet(const Location& loc, Var local_var) { CHECK_RESULT(CheckInstr(Opcode::LocalSet, loc)); Result result = Result::Ok; Type type = Type::Any; result |= CheckLocalIndex(local_var, &type); result |= typechecker_.OnLocalSet(type); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %r14 movq %rsi, %rdx movq %rdi, %rbx movl $0x1c, %esi callq 0x4ec5a movl %eax, %ecx movl $0x1, %eax cmpl $0x1, %ecx je 0x5041b movq %rsp, %r15 movq $0x0, (%r15) leaq 0x8(%rsp), %r12 movq %r12, %rdi movq %r14, %rsi callq 0x3e72c movq %rbx...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnMemoryCopy(wabt::Location const&, wabt::Var, wabt::Var)
Result SharedValidator::OnMemoryCopy(const Location& loc, Var destmemidx, Var srcmemidx) { Result result = CheckInstr(Opcode::MemoryCopy, loc); MemoryType srcmt; MemoryType dstmt; result |= CheckMemoryIndex(destmemidx, &dstmt); result |...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xd8, %rsp movq %rcx, 0x8(%rsp) movq %rdx, %r13 movq %rsi, %rdx movq %rdi, %rbx movl $0xd1, %esi callq 0x4ec5a movl %eax, %ebp xorl %eax, %eax leaq 0x30(%rsp), %r14 movl %eax, 0xf(%r14) xorps %xmm0, %xmm0 movaps %xmm0, (%r14) leaq 0x10(%rsp), %r15 ...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnMemoryFill(wabt::Location const&, wabt::Var)
Result SharedValidator::OnMemoryFill(const Location& loc, Var memidx) { Result result = CheckInstr(Opcode::MemoryFill, loc); MemoryType mt; result |= CheckMemoryIndex(memidx, &mt); result |= typechecker_.OnMemoryFill(mt.limits); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x60, %rsp movq %rdx, %r14 movq %rsi, %rdx movq %rdi, %rbx movl $0xd2, %esi callq 0x4ec5a movl %eax, %ebp xorps %xmm0, %xmm0 movq %rsp, %r15 movaps %xmm0, (%r15) movl $0x0, 0xf(%r15) leaq 0x18(%rsp), %r12 movq %r12, %rdi movq %r14, %rsi callq 0x3e72c movq %rb...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnMemoryGrow(wabt::Location const&, wabt::Var)
Result SharedValidator::OnMemoryGrow(const Location& loc, Var memidx) { Result result = CheckInstr(Opcode::MemoryGrow, loc); MemoryType mt; result |= CheckMemoryIndex(memidx, &mt); result |= typechecker_.OnMemoryGrow(mt.limits); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x60, %rsp movq %rdx, %r14 movq %rsi, %rdx movq %rdi, %rbx movl $0x38, %esi callq 0x4ec5a movl %eax, %ebp xorps %xmm0, %xmm0 movq %rsp, %r15 movaps %xmm0, (%r15) movl $0x0, 0xf(%r15) leaq 0x18(%rsp), %r12 movq %r12, %rdi movq %r14, %rsi callq 0x3e72c movq %rb...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnMemorySize(wabt::Location const&, wabt::Var)
Result SharedValidator::OnMemorySize(const Location& loc, Var memidx) { Result result = CheckInstr(Opcode::MemorySize, loc); MemoryType mt; result |= CheckMemoryIndex(memidx, &mt); result |= typechecker_.OnMemorySize(mt.limits); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x60, %rsp movq %rdx, %r14 movq %rsi, %rdx movq %rdi, %rbx movl $0x37, %esi callq 0x4ec5a movl %eax, %ebp xorps %xmm0, %xmm0 movq %rsp, %r15 movaps %xmm0, (%r15) movl $0x0, 0xf(%r15) leaq 0x18(%rsp), %r12 movq %r12, %rdi movq %r14, %rsi callq 0x3e72c movq %rb...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnRethrow(wabt::Location const&, wabt::Var)
Result SharedValidator::OnRethrow(const Location& loc, Var depth) { Result result = CheckInstr(Opcode::Rethrow, loc); result |= typechecker_.OnRethrow(depth.index()); return result; }
pushq %rbp pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %rdx movq %rdi, %r14 movl $0x9, %esi callq 0x4ec5a cmpl $0x0, 0x20(%rbx) jne 0x50ad4 movl %eax, %ebp addq $0x20, %r14 movl 0x28(%rbx), %esi movq %r14, %rdi callq 0x556aa cmpl $0x1, %ebp sete %cl cmpl $0x1, %eax sete %al orb %cl, %al movzbl %al, %eax popq %rbx ...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnReturnCallIndirect(wabt::Location const&, wabt::Var, wabt::Var)
Result SharedValidator::OnReturnCallIndirect(const Location& loc, Var sig_var, Var table_var) { Result result = CheckInstr(Opcode::CallIndirect, loc); FuncType func_type; TableType table_type; result |= CheckFuncTypeIndex(...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %rcx, 0x8(%rsp) movq %rdx, %r13 movq %rsi, %rdx movq %rdi, %rbx movl $0x11, %esi movq %rdx, (%rsp) callq 0x4ec5a movl %eax, %ebp xorps %xmm0, %xmm0 leaq 0x10(%rsp), %r14 movaps %xmm0, 0x20(%r14) movaps %xmm...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnSelect(wabt::Location const&, unsigned int, wabt::Type*)
Result SharedValidator::OnSelect(const Location& loc, Index result_count, Type* result_types) { Result result = CheckInstr(Opcode::Select, loc); if (result_count > 1) { result |= PrintError(loc, "invalid arity in select instruction: %" PR...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rcx, %r15 movl %edx, %ebp movq %rsi, %r12 movq %rdi, %r14 movl $0x18, %esi movq %r12, %rdx callq 0x4ec5a movl %eax, %ebx cmpl $0x2, %ebp jb 0x50d9f leaq 0x15004(%rip), %rdx # 0x65d84 movq %r14, %rdi movq %r12, %rsi movl %ebp, %ecx xorl %e...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnSimdStoreLane(wabt::Location const&, wabt::Opcode, wabt::Var, unsigned long, unsigned long, unsigned long)
Result SharedValidator::OnSimdStoreLane(const Location& loc, Opcode opcode, Var memidx, Address alignment, Address offset, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r9, %r12 movq %r8, 0x8(%rsp) movq %rcx, %rbx movq %rsi, %r15 movq %rdi, %r14 movq %rsp, %rax movl %edx, (%rax) movl %edx, %esi movq %r15, %rdx callq 0x4ec5a movl %eax, 0x4(%rsp) xorps %xmm0, %xmm0 leaq 0x10(%rsp), %rbp movaps %xmm0...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnTableCopy(wabt::Location const&, wabt::Var, wabt::Var)
Result SharedValidator::OnTableCopy(const Location& loc, Var dst_var, Var src_var) { Result result = CheckInstr(Opcode::TableCopy, loc); TableType dst_table; TableType src_table; result |= CheckTableIndex(dst_var, &dst_table); result |= C...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %rcx, (%rsp) movq %rdx, %r13 movq %rsi, %rdx movq %rsi, 0x8(%rsp) movq %rdi, %r14 movl $0xd5, %esi callq 0x4ec5a movl %eax, %ebp xorps %xmm0, %xmm0 leaq 0x30(%rsp), %rbx movups %xmm0, 0xb(%rbx) movaps %xmm0, (%rbx) leaq 0x10(%rsp), ...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnTableFill(wabt::Location const&, wabt::Var)
Result SharedValidator::OnTableFill(const Location& loc, Var table_var) { Result result = CheckInstr(Opcode::TableFill, loc); TableType table_type; result |= CheckTableIndex(table_var, &table_type); result |= typechecker_.OnTableFill(table_type.element, table_type.limits); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x70, %rsp movq %rdx, %r14 movq %rsi, %rdx movq %rdi, %rbx movl $0xda, %esi callq 0x4ec5a movl %eax, %ebp xorps %xmm0, %xmm0 movq %rsp, %r15 movups %xmm0, 0xb(%r15) movaps %xmm0, (%r15) leaq 0x28(%rsp), %r12 movq %r12, %rdi movq %r14, %rsi callq 0x3e72c movq ...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnTableGet(wabt::Location const&, wabt::Var)
Result SharedValidator::OnTableGet(const Location& loc, Var table_var) { Result result = CheckInstr(Opcode::TableGet, loc); TableType table_type; result |= CheckTableIndex(table_var, &table_type); result |= typechecker_.OnTableGet(table_type.element, table_type.limits); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x70, %rsp movq %rdx, %r14 movq %rsi, %rdx movq %rdi, %rbx movl $0xd6, %esi callq 0x4ec5a movl %eax, %ebp xorps %xmm0, %xmm0 movq %rsp, %r15 movups %xmm0, 0xb(%r15) movaps %xmm0, (%r15) leaq 0x28(%rsp), %r12 movq %r12, %rdi movq %r14, %rsi callq 0x3e72c movq ...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnTableGrow(wabt::Location const&, wabt::Var)
Result SharedValidator::OnTableGrow(const Location& loc, Var table_var) { Result result = CheckInstr(Opcode::TableGrow, loc); TableType table_type; result |= CheckTableIndex(table_var, &table_type); result |= typechecker_.OnTableGrow(table_type.element, table_type.limits); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x70, %rsp movq %rdx, %r14 movq %rsi, %rdx movq %rdi, %rbx movl $0xd8, %esi callq 0x4ec5a movl %eax, %ebp xorps %xmm0, %xmm0 movq %rsp, %r15 movups %xmm0, 0xb(%r15) movaps %xmm0, (%r15) leaq 0x28(%rsp), %r12 movq %r12, %rdi movq %r14, %rsi callq 0x3e72c movq ...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnTableSet(wabt::Location const&, wabt::Var)
Result SharedValidator::OnTableSet(const Location& loc, Var table_var) { Result result = CheckInstr(Opcode::TableSet, loc); TableType table_type; result |= CheckTableIndex(table_var, &table_type); result |= typechecker_.OnTableSet(table_type.element, table_type.limits); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x70, %rsp movq %rdx, %r14 movq %rsi, %rdx movq %rdi, %rbx movl $0xd7, %esi callq 0x4ec5a movl %eax, %ebp xorps %xmm0, %xmm0 movq %rsp, %r15 movups %xmm0, 0xb(%r15) movaps %xmm0, (%r15) leaq 0x28(%rsp), %r12 movq %r12, %rdi movq %r14, %rsi callq 0x3e72c movq ...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnThrow(wabt::Location const&, wabt::Var)
Result SharedValidator::OnThrow(const Location& loc, Var tag_var) { Result result = CheckInstr(Opcode::Throw, loc); TagType tag_type; result |= CheckTagIndex(tag_var, &tag_type); result |= typechecker_.OnThrow(tag_type.params); return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdx, %r15 movq %rsi, %rdx movq %rdi, %r14 movl $0x8, %esi callq 0x4ec5a movl %eax, %ebx xorps %xmm0, %xmm0 movq %rsp, %r12 movaps %xmm0, (%r12) movq $0x0, 0x10(%r12) leaq 0x20(%rsp), %r13 movq %r13, %rdi movq %r15, %rsi callq 0x3e7...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::BeginTryTable(wabt::Location const&, wabt::Type)
Result SharedValidator::BeginTryTable(const Location& loc, Type sig_type) { Result result = CheckInstr(Opcode::TryTable, loc); TypeVector param_types, result_types; result |= CheckBlockSignature(loc, Opcode::TryTable, sig_type, &param_types, &result_types); result |= typechecker_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 movl $0x1a, %esi movq %r12, %rdx callq 0x4ec5a movl %eax, 0xc(%rsp) xorl %eax, %eax leaq 0x10(%rsp), %r13 movq %rax, 0x10(%r13) xorps %xmm0, %xmm0 movaps %xmm0, (%r13) leaq 0x30(%rsp), %rbx...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::OnTryTableCatch(wabt::Location const&, wabt::TableCatch const&)
Result SharedValidator::OnTryTableCatch(const Location& loc, const TableCatch& catch_) { Result result = Result::Ok; TagType tag_type; expr_loc_ = loc; if (!catch_.IsCatchAll()) { result |= CheckTagIndex(catch_.tag, &tag_type); } if (catch_.IsRef()) { tag_type...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x68, %rsp movq %rdx, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 movaps %xmm0, (%rsp) movq $0x0, 0x10(%rsp) movups (%rsi), %xmm0 movups 0x10(%rsi), %xmm1 movups %xmm1, 0xa0(%rdi) movups %xmm0, 0x90(%rdi) movl 0xb0(%rdx), %eax andl $-0x2, %eax cmpl $0x2, %eax jne 0x51a03 xo...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::SharedValidator::EndTryTable(wabt::Location const&, wabt::Type)
Result SharedValidator::EndTryTable(const Location& loc, Type sig_type) { Result result = CheckInstr(Opcode::TryTable, loc); TypeVector param_types, result_types; result |= CheckBlockSignature(loc, Opcode::TryTable, sig_type, &param_types, &result_types); result |= typechecker_.E...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 movl $0x1a, %esi movq %r12, %rdx callq 0x4ec5a movl %eax, 0xc(%rsp) xorl %eax, %eax leaq 0x10(%rsp), %r13 movq %rax, 0x10(%r13) xorps %xmm0, %xmm0 movaps %xmm0, (%r13) leaq 0x30(%rsp), %rbx...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::Result wabt::SharedValidator::CheckIndexWithValue<wabt::SharedValidator::FuncType>(wabt::Var, std::vector<wabt::SharedValidator::FuncType, std::allocator<wabt::SharedValidator::FuncType>> const&, wabt::SharedValidator::FuncType*, char const*)
Result SharedValidator::CheckIndexWithValue(Var var, const std::vector<T>& values, T* out, const char* desc) { Result result = CheckIndex(var, values.size(), desc); if (out) { *out...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %r8, %rbx movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r13 leaq 0x40(%rsp), %rbp movq %rbp, %rdi callq 0x3e72c movq 0x8(%r15), %rax subq (%r15), %rax shrq $0x3, %rax imull $0xb6db6db7, %eax, %edx # imm = 0xB6DB6DB7 mo...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::Result wabt::SharedValidator::CheckIndexWithValue<wabt::SharedValidator::MemoryType>(wabt::Var, std::vector<wabt::SharedValidator::MemoryType, std::allocator<wabt::SharedValidator::MemoryType>> const&, wabt::SharedValidator::MemoryType*, char const*)
Result SharedValidator::CheckIndexWithValue(Var var, const std::vector<T>& values, T* out, const char* desc) { Result result = CheckIndex(var, values.size(), desc); if (out) { *out...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %r8, %r12 movq %rcx, %rbx movq %rdx, %r14 movq %rdi, %r13 leaq 0x20(%rsp), %r15 movq %r15, %rdi movq %rsi, 0x18(%rsp) callq 0x3e72c movq 0x8(%r14), %rax subq (%r14), %rax shrq $0x3, %rax imull $0xaaaaaaab, %eax, %edx # imm = 0xAAAAA...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::Result wabt::SharedValidator::CheckIndexWithValue<wabt::SharedValidator::TableType>(wabt::Var, std::vector<wabt::SharedValidator::TableType, std::allocator<wabt::SharedValidator::TableType>> const&, wabt::SharedValidator::TableType*, char const*)
Result SharedValidator::CheckIndexWithValue(Var var, const std::vector<T>& values, T* out, const char* desc) { Result result = CheckIndex(var, values.size(), desc); if (out) { *out...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %r8, %r12 movq %rcx, 0x8(%rsp) movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r13 leaq 0x30(%rsp), %rbx movq %rbx, %rdi callq 0x3e72c movq 0x8(%r14), %rdx subq (%r14), %rdx shrq $0x5, %rdx movq %r13, %rdi movq %rbx, %rsi movq %r12, %rc...
/WebAssembly[P]wabt/src/shared-validator.cc
wabt::Result wabt::SharedValidator::CheckIndexWithValue<wabt::SharedValidator::TagType>(wabt::Var, std::vector<wabt::SharedValidator::TagType, std::allocator<wabt::SharedValidator::TagType>> const&, wabt::SharedValidator::TagType*, char const*)
Result SharedValidator::CheckIndexWithValue(Var var, const std::vector<T>& values, T* out, const char* desc) { Result result = CheckIndex(var, values.size(), desc); if (out) { *out...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %r8, %r12 movq %rcx, %rbp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r13 leaq 0x20(%rsp), %rbx movq %rbx, %rdi callq 0x3e72c movq 0x8(%r14), %rax subq (%r14), %rax shrq $0x3, %rax imull $0xaaaaaaab, %eax, %edx # imm = 0xAAAAAAAB mo...
/WebAssembly[P]wabt/src/shared-validator.cc