To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit fecd4d6e authored by John Zhang's avatar John Zhang
Browse files

fix: wrong function signature

parent 8fad7bb2
......@@ -147,7 +147,7 @@ def test_commoninst_pin(cmdopt):
.const @c_1 <@i64> = 1
.const @c_len <@i64> = 5
.const @c_bufsz <@i64> = 6
.funcsig @sig__i64 = (@voidp @i64) -> ()
.funcsig @sig__i64 = () -> (@i64)
.funcsig @sig_i32voidpi64_i64 = (@i32 @voidp @i64) -> (@i64)
.typedef @fnpsig_i32voidpi64_i64 = ufuncptr<@sig_i32voidpi64_i64>
.const c_write <@fnpsig_voidpi64_i64> = EXTERN "write"
......@@ -200,7 +200,7 @@ def test_commoninst_pin(cmdopt):
c_len = bldr.gen_sym("@c_len"); bldr.new_const_int(c_len, i64, 5)
c_bufsz = bldr.gen_sym("@c_bufsz"); bldr.new_const_int(c_bufsz, i64, 6)
sig__i64 = bldr.gen_sym("@sig__i64"); bldr.new_funcsig(sig__i64, [voidp, i64], [i64])
sig__i64 = bldr.gen_sym("@sig__i64"); bldr.new_funcsig(sig__i64, [], [i64])
sig_i32voidpi64_i64 = bldr.gen_sym("@sig_i32voidpi64_i64"); bldr.new_funcsig(sig_i32voidpi64_i64, [i32, voidp, i64], [i64])
fnpsig_i32voidpi64_i64 = bldr.gen_sym("@fnpsig_i32voidpi64_i64"); bldr.new_type_ufuncptr(fnpsig_i32voidpi64_i64, sig_i32voidpi64_i64)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment