1{module, bad_dsetel}. %% version = 0 2 3{exports, [{module_info,0},{module_info,1},{t,1}]}. 4 5{attributes, []}. 6 7{labels, 8}. 8 9 10{function, t, 1, 2}. 11 {label,1}. 12 {func_info,{atom,t},{atom,t},1}. 13 {label,2}. 14 {test,is_tuple,{f,3},[{x,0}]}. 15 {test,test_arity,{f,3},[{x,0},7]}. 16 {get_tuple_element,{x,0},0,{x,1}}. 17 {test,is_eq_exact,{f,3},[{x,1},{atom,r}]}. 18 {allocate,0,1}. 19 {move,{x,0},{x,1}}. 20 {move,{integer,1},{x,2}}. 21 {move,{integer,3},{x,0}}. 22 {call_ext,3,{extfunc,erlang,setelement,3}}. 23 {test_heap,6,1}. 24 {put_list,{integer,99},nil,{x,1}}. 25 {put_list,{integer,98},{x,1},{x,1}}. 26 {put_list,{integer,97},{x,1},{x,1}}. 27 {set_tuple_element,{x,1},{x,0},1}. 28 {'%live',1}. 29 {deallocate,0}. 30 return. 31 {label,3}. 32 {test_heap,3,0}. 33 {put_tuple,2,{x,0}}. 34 {put,{atom,badrecord}}. 35 {put,{atom,r}}. 36 {'%live',1}. 37 {call_ext_only,1,{extfunc,erlang,error,1}}. 38 39 40{function, module_info, 0, 5}. 41 {label,4}. 42 {func_info,{atom,t},{atom,module_info},0}. 43 {label,5}. 44 {move,{atom,t},{x,0}}. 45 {call_ext_only,1,{extfunc,erlang,get_module_info,1}}. 46 47 48{function, module_info, 1, 7}. 49 {label,6}. 50 {func_info,{atom,t},{atom,module_info},1}. 51 {label,7}. 52 {move,{x,0},{x,1}}. 53 {move,{atom,t},{x,0}}. 54 {call_ext_only,2,{extfunc,erlang,get_module_info,2}}. 55