2021-07-03 05:07:57 +01:00
<!DOCTYPE HTML>
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html;charset=US-ASCII" >
2021-07-11 22:47:19 +01:00
< meta name = "generator" content = "ZealOS V0.07" >
2021-07-03 05:07:57 +01:00
< style type = "text/css" >
body {background-color:#000000;}
.cF0{color:#ffffff;background-color:#000000;}
.cF1{color:#3465a4;background-color:#000000;}
.cF2{color:#4e9a06;background-color:#000000;}
.cF3{color:#06989a;background-color:#000000;}
.cF4{color:#a24444;background-color:#000000;}
.cF5{color:#75507b;background-color:#000000;}
.cF6{color:#ce982f;background-color:#000000;}
.cF7{color:#bcc0b9;background-color:#000000;}
.cF8{color:#555753;background-color:#000000;}
.cF9{color:#729fcf;background-color:#000000;}
.cFA{color:#82bc49;background-color:#000000;}
.cFB{color:#34e2e2;background-color:#000000;}
.cFC{color:#ac3535;background-color:#000000;}
.cFD{color:#ad7fa8;background-color:#000000;}
.cFE{color:#fce94f;background-color:#000000;}
.cFF{color:#000000;background-color:#000000;}
< / style >
< / head >
< body >
2021-07-05 01:12:38 +01:00
< pre style = "font-family:monospace;font-size:12pt" >
2021-07-03 05:07:57 +01:00
< a name = "l1" > < / a > < span class = cF0 > #< / span > < span class = cF1 > help_index< / span > < span class = cF0 > < / span > < span class = cF6 > " Debugging/Dump" < / span > < span class = cF0 >
< a name = "l2" > < / a > < / span > < span class = cF1 > Bool< / span > < span class = cF0 > < / span > < span class = cF5 > ClassRep2< / span > < span class = cF0 > (< / span > < span class = cF9 > CDoc< / span > < span class = cF0 > *doc, < / span > < span class = cF1 > U8< / span > < span class = cF0 > *_d, < / span > < span class = cF1 > U8< / span > < span class = cF0 > *class_name=< / span > < span class = cF1 > lastclass< / span > < span class = cF0 > , < / span > < span class = cF1 > Bool< / span > < span class = cF0 > u8_chars, < / span > < span class = cF1 > Bool< / span > < span class = cF0 > force,
2021-07-04 23:11:34 +01:00
< a name = "l3" > < / a > < / span > < span class = cF9 > I64< / span > < span class = cF0 > depth, < / span > < span class = cF9 > I64< / span > < span class = cF0 > max_depth, < / span > < span class = cF1 > Bool< / span > < span class = cF0 > dynamic, < / span > < span class = cF9 > I64< / span > < span class = cF0 > types=< / span > < span class = cF3 > HTT_CLASS< / span > < span class = cF0 > , < / span > < span class = cF9 > I64< / span > < span class = cF0 > < / span > < span class = cF1 > offset< / span > < span class = cF0 > =< / span > < span class = cFE > 0< / span > < span class = cF0 > )
2021-07-05 01:57:09 +01:00
< a name = "l4" > < / a > {< / span > < span class = cF2 > //See < / span > < a href = "https://tomawezome.github.io/ZealOS/Demo/LastClass.CC.html#l1" > < span class = cF4 > ::/Demo/LastClass.CC< / span > < / a > < span class = cF2 > .< / span > < span class = cF0 >
2021-07-04 23:11:34 +01:00
< a name = "l5" > < / a > < / span > < span class = cF9 > I64< / span > < span class = cF0 > i, j, stars, *ptr;
< a name = "l6" > < / a > < / span > < span class = cF9 > CMemberList< / span > < span class = cF0 > *ml;
< a name = "l7" > < / a > < / span > < span class = cF9 > CDocEntry< / span > < span class = cF0 > *doc_e;
< a name = "l8" > < / a > < / span > < span class = cF1 > Bool< / span > < span class = cF0 > unlock;
< a name = "l9" > < / a > < / span > < span class = cF9 > CHashClass< / span > < span class = cF0 > *tmpc, *tmpc2;
2021-07-03 05:07:57 +01:00
< a name = "l10" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l11" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (depth > = max_depth)
< a name = "l12" > < / a > < / span > < span class = cF1 > return< / span > < span class = cF0 > < / span > < span class = cF3 > TRUE< / span > < span class = cF0 > ;
< a name = "l13" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!< / span > < span class = cF7 > (< / span > < span class = cF0 > tmpc = < / span > < span class = cF5 > HashFind< / span > < span class = cF0 > (class_name, < / span > < span class = cF5 > Fs< / span > < span class = cF0 > -> hash_table, types)< / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l14" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l15" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " Class Not Found.\n" < / span > < span class = cF0 > );
< a name = "l16" > < / a > < / span > < span class = cF1 > return< / span > < span class = cF0 > < / span > < span class = cF3 > FALSE< / span > < span class = cF0 > ;
< a name = "l17" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l18" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!force & & < / span > < span class = cF7 > (< / span > < span class = cF0 > !< / span > < span class = cF5 > CheckPtr< / span > < span class = cF0 > (_d) || !< / span > < span class = cF5 > CheckPtr< / span > < span class = cF0 > (_d< / span > < span class = cF7 > (< / span > < span class = cF1 > U8< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > + tmpc-> size)< / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l19" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l20" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " Bad Ptr:%016X\n" < / span > < span class = cF0 > , _d);
< a name = "l21" > < / a > < / span > < span class = cF1 > return< / span > < span class = cF0 > < / span > < span class = cF3 > FALSE< / span > < span class = cF0 > ;
< a name = "l22" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l23" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (tmpc-> base_class & & !< / span > < span class = cF5 > ClassRep2< / span > < span class = cF7 > (< / span > < span class = cF0 > doc, _d, tmpc-> base_class-> str, depth, max_depth, dynamic, types, < / span > < span class = cF1 > offset< / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l24" > < / a > < / span > < span class = cF1 > return< / span > < span class = cF0 > < / span > < span class = cF3 > FALSE< / span > < span class = cF0 > ;
< a name = "l25" > < / a > unlock = < / span > < span class = cF5 > DocLock< / span > < span class = cF0 > (doc);
< a name = "l26" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " Class:\" %s\" \n" < / span > < span class = cF0 > , class_name);
< a name = "l27" > < / a > ml = tmpc-> member_list_and_root;
< a name = "l28" > < / a > < / span > < span class = cF1 > while< / span > < span class = cF0 > (ml)
< a name = "l29" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l30" > < / a > tmpc2 = ml-> member_class;
< a name = "l31" > < / a > ptr = _d(< / span > < span class = cF1 > U8< / span > < span class = cF0 > *) + ml-> < / span > < span class = cF1 > offset< / span > < span class = cF0 > ;
< a name = "l32" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %08X " < / span > < span class = cF0 > , ptr< / span > < span class = cF7 > (< / span > < span class = cF1 > U8< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > + < / span > < span class = cF1 > offset< / span > < span class = cF0 > );
< a name = "l33" > < / a > stars = tmpc2-> ptr_stars_count;
< a name = "l34" > < / a > tmpc2 = < / span > < span class = cF5 > OptClassFwd< / span > < span class = cF0 > (tmpc2);
< a name = "l35" > < / a > tmpc2 -= tmpc2-> ptr_stars_count;
< a name = "l36" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (tmpc2-> type & < / span > < span class = cF3 > HTT_INTERNAL_TYPE< / span > < span class = cF0 > )
< a name = "l37" > < / a > {
< a name = "l38" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $GREEN$%-20ts:$FG$" < / span > < span class = cF0 > , ml-> str);
< a name = "l39" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (stars == < / span > < span class = cFE > 1< / span > < span class = cF0 > & & < / span > < span class = cF7 > (< / span > < span class = cF0 > tmpc2-> raw_type == < / span > < span class = cF3 > RT_I8< / span > < span class = cF0 > || tmpc2-> raw_type == < / span > < span class = cF3 > RT_U8< / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l40" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l41" > < / a > ptr = *ptr;
< a name = "l42" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (< / span > < span class = cF5 > CheckPtr< / span > < span class = cF7 > (< / span > < span class = cF0 > ptr< / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l43" > < / a > {
< a name = "l44" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l45" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l46" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM-P+RD,LEN=64,A=\" %%40ts\" $\n" < / span > < span class = cF0 > );
< a name = "l47" > < / a > doc_e-> data = ptr;
< a name = "l48" > < / a > < / span > < span class = cF5 > DocDataFormat< / span > < span class = cF0 > (doc, doc_e);
< a name = "l49" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l50" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l51" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %40ts\n" < / span > < span class = cF0 > , ptr);
< a name = "l52" > < / a > }
< a name = "l53" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l54" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!stars)
< a name = "l55" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l56" > < / a > j = < / span > < span class = cF5 > MinI64< / span > < span class = cF0 > (ml-> dim.total_count, < / span > < span class = cFE > 32< / span > < span class = cF0 > );
< a name = "l57" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (< / span > < span class = cF7 > (< / span > < span class = cF0 > tmpc2-> raw_type == < / span > < span class = cF3 > RT_I8< / span > < span class = cF0 > || tmpc2-> raw_type == < / span > < span class = cF3 > RT_U8< / span > < span class = cF7 > )< / span > < span class = cF0 > & & u8_chars)
< a name = "l58" > < / a > {
< a name = "l59" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (j == < / span > < span class = cFE > 1< / span > < span class = cF0 > )
< a name = "l60" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l61" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l62" > < / a > {
< a name = "l63" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM+RD+UD,RT=U8,A=\" %%c\" $\n" < / span > < span class = cF0 > );
< a name = "l64" > < / a > doc_e-> data = ptr;
< a name = "l65" > < / a > }
< a name = "l66" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l67" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %c\n" < / span > < span class = cF0 > , *ptr< / span > < span class = cF7 > (< / span > < span class = cF1 > U8< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > );
< a name = "l68" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l69" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l70" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l71" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l72" > < / a > {
< a name = "l73" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM-P+RD,LEN=64,A=\" %%40ts\" $\n" < / span > < span class = cF0 > );
< a name = "l74" > < / a > doc_e-> data = ptr;
< a name = "l75" > < / a > < / span > < span class = cF5 > DocDataFormat< / span > < span class = cF0 > (doc, doc_e);
< a name = "l76" > < / a > }
< a name = "l77" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l78" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %40ts\n" < / span > < span class = cF0 > , ptr);
< a name = "l79" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l80" > < / a > }
< a name = "l81" > < / a > < / span > < span class = cF1 > for< / span > < span class = cF0 > (i = < / span > < span class = cFE > 0< / span > < span class = cF0 > ; i < j; i++)
< a name = "l82" > < / a > {
< a name = "l83" > < / a > < / span > < span class = cF1 > switch< / span > < span class = cF0 > (tmpc2-> raw_type)
< a name = "l84" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l85" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cF3 > RT_I0< / span > < span class = cF0 > :
< a name = "l86" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cF3 > RT_U0< / span > < span class = cF0 > :
< a name = "l87" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l88" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l89" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cF3 > RT_I8< / span > < span class = cF0 > :
< a name = "l90" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l91" > < / a > {
< a name = "l92" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM+RD+UD,RT=I8,A=\" %%02X\" $ " < / span > < span class = cF0 > );
< a name = "l93" > < / a > doc_e-> data = ptr(< / span > < span class = cF1 > I8< / span > < span class = cF0 > *)++;
< a name = "l94" > < / a > }
< a name = "l95" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l96" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %02X " < / span > < span class = cF0 > , *ptr< / span > < span class = cF7 > (< / span > < span class = cF1 > I8< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > ++);
< a name = "l97" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l98" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l99" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cF3 > RT_U8< / span > < span class = cF0 > :
< a name = "l100" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l101" > < / a > {
< a name = "l102" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM+RD+UD,RT=U8,A=\" %%02X\" $ " < / span > < span class = cF0 > );
< a name = "l103" > < / a > doc_e-> data = ptr(< / span > < span class = cF1 > U8< / span > < span class = cF0 > *)++;
< a name = "l104" > < / a > }
< a name = "l105" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l106" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %02X " < / span > < span class = cF0 > , *ptr< / span > < span class = cF7 > (< / span > < span class = cF1 > U8< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > ++);
< a name = "l107" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l108" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l109" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cF3 > RT_I16< / span > < span class = cF0 > :
< a name = "l110" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l111" > < / a > {
< a name = "l112" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM+RD+UD,RT=I16,A=\" %%04X\" $ " < / span > < span class = cF0 > );
< a name = "l113" > < / a > doc_e-> data = ptr(< / span > < span class = cF9 > I16< / span > < span class = cF0 > *)++;
< a name = "l114" > < / a > }
< a name = "l115" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l116" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %04X " < / span > < span class = cF0 > , *ptr< / span > < span class = cF7 > (< / span > < span class = cF9 > I16< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > ++);
< a name = "l117" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l118" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l119" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cF3 > RT_U16< / span > < span class = cF0 > :
< a name = "l120" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l121" > < / a > {
< a name = "l122" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM+RD+UD,RT=U16,A=\" %%04X\" $ " < / span > < span class = cF0 > );
< a name = "l123" > < / a > doc_e-> data = ptr(< / span > < span class = cF9 > U16< / span > < span class = cF0 > *)++;
< a name = "l124" > < / a > }
< a name = "l125" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l126" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %04X " < / span > < span class = cF0 > , *ptr< / span > < span class = cF7 > (< / span > < span class = cF9 > U16< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > ++);
< a name = "l127" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l128" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l129" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cF3 > RT_I32< / span > < span class = cF0 > :
< a name = "l130" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l131" > < / a > {
< a name = "l132" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM+RD+UD,RT=I32,A=\" %%08X\" $ " < / span > < span class = cF0 > );
< a name = "l133" > < / a > doc_e-> data = ptr(< / span > < span class = cF9 > I32< / span > < span class = cF0 > *)++;
< a name = "l134" > < / a > }
< a name = "l135" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l136" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %08X " < / span > < span class = cF0 > , *ptr< / span > < span class = cF7 > (< / span > < span class = cF9 > I32< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > ++);
< a name = "l137" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l138" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l139" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cF3 > RT_U32< / span > < span class = cF0 > :
< a name = "l140" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l141" > < / a > {
< a name = "l142" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM+RD+UD,RT=U32,A=\" %%08X\" $ " < / span > < span class = cF0 > );
< a name = "l143" > < / a > doc_e-> data = ptr(< / span > < span class = cF9 > U32< / span > < span class = cF0 > *)++;
< a name = "l144" > < / a > }
< a name = "l145" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l146" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %08X " < / span > < span class = cF0 > , *ptr< / span > < span class = cF7 > (< / span > < span class = cF9 > U32< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > ++);
< a name = "l147" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l148" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l149" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cF3 > RT_U64< / span > < span class = cF0 > :
< a name = "l150" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l151" > < / a > {
< a name = "l152" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM+RD+UD,RT=U64,A=\" %%08X\" $ " < / span > < span class = cF0 > );
< a name = "l153" > < / a > doc_e-> data = ptr(< / span > < span class = cF9 > U64< / span > < span class = cF0 > *)++;
< a name = "l154" > < / a > }
< a name = "l155" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l156" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %08X " < / span > < span class = cF0 > , *ptr< / span > < span class = cF7 > (< / span > < span class = cF9 > U64< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > ++);
< a name = "l157" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l158" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l159" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cF3 > RT_F64< / span > < span class = cF0 > :
< a name = "l160" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l161" > < / a > {
< a name = "l162" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM+RD+UD,RT=F64,A=\" %%16g\" $ " < / span > < span class = cF0 > );
< a name = "l163" > < / a > doc_e-> data = ptr(< / span > < span class = cF1 > F64< / span > < span class = cF0 > *)++;
< a name = "l164" > < / a > }
< a name = "l165" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l166" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %16g " < / span > < span class = cF0 > , *ptr< / span > < span class = cF7 > (< / span > < span class = cF9 > I64< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > ++);
< a name = "l167" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l168" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l169" > < / a > < / span > < span class = cF1 > default< / span > < span class = cF0 > :
< a name = "l170" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l171" > < / a > {
< a name = "l172" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $DA-TRM+RD+UD,A=\" %%016X\" $ " < / span > < span class = cF0 > );
< a name = "l173" > < / a > doc_e-> data = ptr(< / span > < span class = cF9 > I64< / span > < span class = cF0 > *)++;
< a name = "l174" > < / a > }
< a name = "l175" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l176" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %016X " < / span > < span class = cF0 > , *ptr< / span > < span class = cF7 > (< / span > < span class = cF9 > I64< / span > < span class = cF0 > *< / span > < span class = cF7 > )< / span > < span class = cF0 > ++);
< a name = "l177" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l178" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (dynamic)
< a name = "l179" > < / a > < / span > < span class = cF5 > DocDataFormat< / span > < span class = cF0 > (doc, doc_e);
< a name = "l180" > < / a > }
< a name = "l181" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (j < ml-> dim.total_count)
< a name = "l182" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " ..." < / span > < span class = cF0 > );
< a name = "l183" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l184" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l185" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %016X" < / span > < span class = cF0 > , *ptr);
< a name = "l186" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc,< / span > < span class = cF6 > " \n" < / span > < span class = cF0 > );
< a name = "l187" > < / a > }
< a name = "l188" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l189" > < / a > {
< a name = "l190" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (depth < < / span > < span class = cFE > 2< / span > < span class = cF0 > )
< a name = "l191" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l192" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (stars == < / span > < span class = cFE > 1< / span > < span class = cF0 > & & !< / span > < span class = cF5 > CheckPtr< / span > < span class = cF7 > (< / span > < span class = cF0 > *ptr< / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l193" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %-20ts:%016X\n" < / span > < span class = cF0 > , ml-> str, *ptr);
< a name = "l194" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l195" > < / a > {
< a name = "l196" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $TR,\" %s\" $\n" < / span > < span class = cF0 > , ml-> str);
< a name = "l197" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $ID,2$" < / span > < span class = cF0 > );
< a name = "l198" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!stars)
< a name = "l199" > < / a > < / span > < span class = cF5 > ClassRep2< / span > < span class = cF0 > (doc, ptr, tmpc2-> str, u8_chars, force, depth + < / span > < span class = cFE > 1< / span > < span class = cF0 > , max_depth, dynamic);
< a name = "l200" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 > < / span > < span class = cF1 > if< / span > < span class = cF0 > (stars == < / span > < span class = cFE > 1< / span > < span class = cF0 > )
< a name = "l201" > < / a > < / span > < span class = cF5 > ClassRep2< / span > < span class = cF0 > (doc, *ptr, tmpc2-> str, u8_chars, force, depth + < / span > < span class = cFE > 1< / span > < span class = cF0 > , max_depth, dynamic);
< a name = "l202" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " $ID,-2$" < / span > < span class = cF0 > );
< a name = "l203" > < / a > }
< a name = "l204" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l205" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l206" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %-20ts\n" < / span > < span class = cF0 > , ml-> str);
< a name = "l207" > < / a > }
< a name = "l208" > < / a > ml = ml-> next;
< a name = "l209" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l210" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (unlock)
< a name = "l211" > < / a > < / span > < span class = cF5 > DocUnlock< / span > < span class = cF0 > (doc);
2021-07-03 05:07:57 +01:00
< a name = "l212" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l213" > < / a > < / span > < span class = cF1 > return< / span > < span class = cF0 > < / span > < span class = cF3 > TRUE< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l214" > < / a > }
< a name = "l215" > < / a >
< a name = "l216" > < / a > < / span > < span class = cF1 > public< / span > < span class = cF0 > < / span > < span class = cF1 > U0< / span > < span class = cF0 > < / span > < span class = cF5 > ClassRep< / span > < span class = cF0 > (< / span > < span class = cF1 > U8< / span > < span class = cF0 > *_d, < / span > < span class = cF1 > U8< / span > < span class = cF0 > *class_name=< / span > < span class = cF1 > lastclass< / span > < span class = cF0 > , < / span > < span class = cF9 > I64< / span > < span class = cF0 > max_depth=< / span > < span class = cFE > 2< / span > < span class = cF0 > , < / span > < span class = cF1 > Bool< / span > < span class = cF0 > u8_chars=< / span > < span class = cF3 > FALSE< / span > < span class = cF0 > , < / span > < span class = cF1 > Bool< / span > < span class = cF0 > force=< / span > < span class = cF3 > FALSE< / span > < span class = cF0 > ,
2021-07-04 23:11:34 +01:00
< a name = "l217" > < / a > < / span > < span class = cF1 > Bool< / span > < span class = cF0 > fun=< / span > < span class = cF3 > FALSE< / span > < span class = cF0 > , < / span > < span class = cF9 > I64< / span > < span class = cF0 > < / span > < span class = cF1 > offset< / span > < span class = cF0 > =< / span > < span class = cFE > 0< / span > < span class = cF0 > )
2021-07-03 05:07:57 +01:00
< a name = "l218" > < / a > {< / span > < span class = cF2 > //Displays members of a record by using the compiler's info.< / span > < span class = cF0 >
2021-07-04 23:11:34 +01:00
< a name = "l219" > < / a > < / span > < span class = cF9 > CDoc< / span > < span class = cF0 > *doc;
< a name = "l220" > < / a > < / span > < span class = cF9 > I64< / span > < span class = cF0 > type;
2021-07-03 05:07:57 +01:00
< a name = "l221" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l222" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (< / span > < span class = cF5 > IsRaw< / span > < span class = cF0 > )
< a name = "l223" > < / a > doc = < / span > < span class = cF5 > DocNew< / span > < span class = cF0 > ;
< a name = "l224" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l225" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l226" > < / a > < / span > < span class = cF5 > DocMax< / span > < span class = cF0 > ;
< a name = "l227" > < / a > doc = < / span > < span class = cF5 > DocPut< / span > < span class = cF0 > ;
< a name = "l228" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l229" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (fun)
< a name = "l230" > < / a > type = < / span > < span class = cF3 > HTT_FUN< / span > < span class = cF0 > ;
< a name = "l231" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l232" > < / a > type = < / span > < span class = cF3 > HTT_CLASS< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l233" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l234" > < / a > < / span > < span class = cF5 > ClassRep2< / span > < span class = cF0 > (doc, _d, class_name, u8_chars, force, < / span > < span class = cFE > 0< / span > < span class = cF0 > , max_depth, < / span > < span class = cF3 > FALSE< / span > < span class = cF0 > , type, < / span > < span class = cF1 > offset< / span > < span class = cF0 > );
2021-07-03 05:07:57 +01:00
< a name = "l235" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l236" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " \n" < / span > < span class = cF0 > );
< a name = "l237" > < / a > < / span > < span class = cF5 > DocRecalc< / span > < span class = cF0 > (doc);
2021-07-03 05:07:57 +01:00
< a name = "l238" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l239" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (< / span > < span class = cF5 > IsRaw< / span > < span class = cF0 > )
< a name = "l240" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l241" > < / a > < / span > < span class = cF5 > DocDump< / span > < span class = cF0 > (doc, < / span > < span class = cFE > 100000< / span > < span class = cF0 > );
< a name = "l242" > < / a > < / span > < span class = cF5 > DocDel< / span > < span class = cF0 > (doc);
< a name = "l243" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l244" > < / a > }
< a name = "l245" > < / a >
< a name = "l246" > < / a > < / span > < span class = cF1 > public< / span > < span class = cF0 > < / span > < span class = cF1 > U0< / span > < span class = cF0 > < / span > < span class = cF5 > ClassRepD< / span > < span class = cF0 > (< / span > < span class = cF1 > U8< / span > < span class = cF0 > *_d, < / span > < span class = cF1 > U8< / span > < span class = cF0 > *class_name=< / span > < span class = cF1 > lastclass< / span > < span class = cF0 > , < / span > < span class = cF9 > I64< / span > < span class = cF0 > max_depth=< / span > < span class = cFE > 2< / span > < span class = cF0 > , < / span > < span class = cF1 > Bool< / span > < span class = cF0 > u8_chars=< / span > < span class = cF3 > FALSE< / span > < span class = cF0 > , < / span > < span class = cF1 > Bool< / span > < span class = cF0 > force=< / span > < span class = cF3 > FALSE< / span > < span class = cF0 > ,
2021-07-04 23:11:34 +01:00
< a name = "l247" > < / a > < / span > < span class = cF1 > Bool< / span > < span class = cF0 > fun=< / span > < span class = cF3 > FALSE< / span > < span class = cF0 > , < / span > < span class = cF9 > I64< / span > < span class = cF0 > < / span > < span class = cF1 > offset< / span > < span class = cF0 > =< / span > < span class = cFE > 0< / span > < span class = cF0 > )
2021-07-03 05:07:57 +01:00
< a name = "l248" > < / a > {< / span > < span class = cF2 > //Dynamic ClassRep. Uses hex_ed widget for live changes.< / span > < span class = cF0 >
2021-07-04 23:11:34 +01:00
< a name = "l249" > < / a > < / span > < span class = cF9 > CDoc< / span > < span class = cF0 > *doc;
2021-07-03 05:07:57 +01:00
< a name = "l250" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l251" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (< / span > < span class = cF5 > IsRaw< / span > < span class = cF0 > )
< a name = "l252" > < / a > doc = < / span > < span class = cF5 > DocNew< / span > < span class = cF0 > ;
< a name = "l253" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l254" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l255" > < / a > < / span > < span class = cF5 > DocMax< / span > < span class = cF0 > ;
< a name = "l256" > < / a > doc = < / span > < span class = cF5 > DocPut< / span > < span class = cF0 > ;
< a name = "l257" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l258" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (fun)
< a name = "l259" > < / a > < / span > < span class = cF5 > ClassRep2< / span > < span class = cF0 > (doc, _d, class_name, u8_chars, force, < / span > < span class = cFE > 0< / span > < span class = cF0 > , max_depth, < / span > < span class = cF3 > TRUE< / span > < span class = cF0 > , < / span > < span class = cF3 > HTT_FUN< / span > < span class = cF0 > , < / span > < span class = cF1 > offset< / span > < span class = cF0 > );
< a name = "l260" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l261" > < / a > < / span > < span class = cF5 > ClassRep2< / span > < span class = cF0 > (doc, _d, class_name, u8_chars, force, < / span > < span class = cFE > 0< / span > < span class = cF0 > , max_depth, < / span > < span class = cF3 > TRUE< / span > < span class = cF0 > , < / span > < span class = cF3 > HTT_CLASS< / span > < span class = cF0 > , < / span > < span class = cF1 > offset< / span > < span class = cF0 > );
< a name = "l262" > < / a > < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " \n" < / span > < span class = cF0 > );
< a name = "l263" > < / a > < / span > < span class = cF5 > DocRecalc< / span > < span class = cF0 > (doc);
< a name = "l264" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (< / span > < span class = cF5 > IsRaw< / span > < span class = cF0 > )
< a name = "l265" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l266" > < / a > < / span > < span class = cF5 > DocDump< / span > < span class = cF0 > (doc, < / span > < span class = cFE > 100000< / span > < span class = cF0 > );
< a name = "l267" > < / a > < / span > < span class = cF5 > DocDel< / span > < span class = cF0 > (doc);
< a name = "l268" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l269" > < / a > }
< a name = "l270" > < / a >
< a name = "l271" > < / a > < / span > < span class = cF1 > U0< / span > < span class = cF0 > < / span > < span class = cF5 > UpdateRegVarImg< / span > < span class = cF0 > (< / span > < span class = cF9 > CHashFun< / span > < span class = cF0 > *tmpf, < / span > < span class = cF1 > U8< / span > < span class = cF0 > *_b, < / span > < span class = cF9 > CTask< / span > < span class = cF0 > *task)
< a name = "l272" > < / a > {
2021-07-04 23:11:34 +01:00
< a name = "l273" > < / a > < / span > < span class = cF9 > CMemberList< / span > < span class = cF0 > *ml;
< a name = "l274" > < / a > < / span > < span class = cF9 > CHashClass< / span > < span class = cF0 > *tmpc;
2021-07-03 05:07:57 +01:00
< a name = "l275" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l276" > < / a > ml = tmpf-> member_list_and_root;
< a name = "l277" > < / a > < / span > < span class = cF1 > while< / span > < span class = cF0 > (ml)
< a name = "l278" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l279" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (ml-> < / span > < span class = cF1 > reg< / span > < span class = cF0 > != < / span > < span class = cF3 > REG_NONE< / span > < span class = cF0 > )
< a name = "l280" > < / a > {
< a name = "l281" > < / a > tmpc = < / span > < span class = cF5 > OptClassFwd< / span > < span class = cF0 > (ml-> member_class);
< a name = "l282" > < / a > < / span > < span class = cF5 > MemCopy< / span > < span class = cF0 > (_b + ml-> < / span > < span class = cF1 > offset< / span > < span class = cF0 > , < / span > < span class = cF5 > TaskRegAddr< / span > < span class = cF7 > (< / span > < span class = cF0 > task, ml-> < / span > < span class = cF1 > reg< / span > < span class = cF7 > )< / span > < span class = cF0 > , tmpc-> size);
< a name = "l283" > < / a > }
< a name = "l284" > < / a > ml = ml-> next;
< a name = "l285" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l286" > < / a > }
< a name = "l287" > < / a >
< a name = "l288" > < / a > < / span > < span class = cF1 > public< / span > < span class = cF0 > < / span > < span class = cF1 > U0< / span > < span class = cF0 > < / span > < span class = cF5 > FunRep< / span > < span class = cF0 > (< / span > < span class = cF1 > U8< / span > < span class = cF0 > *st, < / span > < span class = cF1 > U8< / span > < span class = cF0 > *rbp=< / span > < span class = cF3 > NULL< / span > < span class = cF0 > , < / span > < span class = cF9 > I64< / span > < span class = cF0 > max_depth=< / span > < span class = cFE > 2< / span > < span class = cF0 > , < / span > < span class = cF9 > CTask< / span > < span class = cF0 > *task=< / span > < span class = cF3 > NULL< / span > < span class = cF0 > )
< a name = "l289" > < / a > {< / span > < span class = cF2 > //Shows names and vals of a fun's local vars using compiler's info.< / span > < span class = cF0 >
2021-07-04 23:11:34 +01:00
< a name = "l290" > < / a > < / span > < span class = cF9 > I64< / span > < span class = cF0 > size;
< a name = "l291" > < / a > < / span > < span class = cF1 > U8< / span > < span class = cF0 > *img;
< a name = "l292" > < / a > < / span > < span class = cF9 > CHashFun< / span > < span class = cF0 > *tmpf = < / span > < span class = cF5 > HashFind< / span > < span class = cF0 > (st, < / span > < span class = cF5 > Fs< / span > < span class = cF0 > -> hash_table, < / span > < span class = cF3 > HTT_FUN< / span > < span class = cF0 > );
< a name = "l293" > < / a > < / span > < span class = cF9 > CMemberList< / span > < span class = cF0 > *tmpm;
2021-07-03 05:07:57 +01:00
< a name = "l294" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l295" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (tmpf)
< a name = "l296" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l297" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (rbp)
< a name = "l298" > < / a > {
< a name = "l299" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (task)
< a name = "l300" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 > < / span > < span class = cF2 > //tmpf-> size is negative. It's the bottom< / span > < span class = cF0 >
< a name = "l301" > < / a > < / span > < span class = cF2 > //of the fun local var space relative to RBP.< / span > < span class = cF0 >
< a name = "l302" > < / a > size = tmpf-> arg_count * < / span > < span class = cFE > 8< / span > < span class = cF0 > - tmpf-> size + < / span > < span class = cFE > 16< / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l303" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l304" > < / a > img = < / span > < span class = cF5 > MAlloc< / span > < span class = cF0 > (size);
< a name = "l305" > < / a > < / span > < span class = cF5 > MemCopy< / span > < span class = cF0 > (img, rbp + tmpf-> size, size);
< a name = "l306" > < / a > < / span > < span class = cF5 > UpdateRegVarImg< / span > < span class = cF0 > (tmpf, img - tmpf-> size, task);
< a name = "l307" > < / a > < / span > < span class = cF5 > ClassRep< / span > < span class = cF0 > (img - tmpf-> size, st, max_depth, < / span > < span class = cF3 > FALSE< / span > < span class = cF0 > , < / span > < span class = cF3 > FALSE< / span > < span class = cF0 > , < / span > < span class = cF3 > TRUE< / span > < span class = cF0 > , rbp - img + tmpf-> size);
< a name = "l308" > < / a > < / span > < span class = cF5 > Free< / span > < span class = cF0 > (img);
< a name = "l309" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l310" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l311" > < / a > < / span > < span class = cF5 > ClassRep< / span > < span class = cF0 > (rbp, st, max_depth, < / span > < span class = cF3 > FALSE< / span > < span class = cF0 > , < / span > < span class = cF3 > FALSE< / span > < span class = cF0 > , < / span > < span class = cF3 > TRUE< / span > < span class = cF0 > );
< a name = "l312" > < / a > }
< a name = "l313" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l314" > < / a > {
< a name = "l315" > < / a > tmpm = tmpf-> member_list_and_root;
< a name = "l316" > < / a > < / span > < span class = cF1 > while< / span > < span class = cF0 > (tmpm)
< a name = "l317" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l318" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (< / span > < span class = cFE > 0< / span > < span class = cF0 > < = tmpm-> < / span > < span class = cF1 > reg< / span > < span class = cF0 > < < / span > < span class = cF3 > REG_REGS_NUM< / span > < span class = cF0 > )
< a name = "l319" > < / a > < / span > < span class = cF6 > " %08Z %s\n" < / span > < span class = cF0 > , tmpm-> < / span > < span class = cF1 > reg< / span > < span class = cF0 > , < / span > < span class = cF6 > " ST_U64_REGS" < / span > < span class = cF0 > , tmpm-> str;
< a name = "l320" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l321" > < / a > < / span > < span class = cF6 > " %08tX %s\n" < / span > < span class = cF0 > , tmpm-> < / span > < span class = cF1 > offset< / span > < span class = cF0 > , tmpm-> str;
< a name = "l322" > < / a > tmpm = tmpm-> next;
< a name = "l323" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l324" > < / a > < / span > < span class = cF6 > " %08tX Stack Size\n" < / span > < span class = cF0 > , tmpf-> size;
< a name = "l325" > < / a > }
< a name = "l326" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l327" > < / a > }
< a name = "l328" > < / a >
< a name = "l329" > < / a > #< / span > < span class = cF1 > help_index< / span > < span class = cF0 > < / span > < span class = cF6 > " Debugging/Unassemble" < / span > < span class = cF0 >
< a name = "l330" > < / a > < / span > < span class = cF1 > public< / span > < span class = cF0 > < / span > < span class = cF1 > U0< / span > < span class = cF0 > < / span > < span class = cF5 > Uf< / span > < span class = cF0 > (< / span > < span class = cF1 > U8< / span > < span class = cF0 > *st)
< a name = "l331" > < / a > {< / span > < span class = cF2 > //Unassembles a named fun< / span > < span class = cF0 >
2021-07-04 23:11:34 +01:00
< a name = "l332" > < / a > < / span > < span class = cF9 > I64< / span > < span class = cF0 > i;
< a name = "l333" > < / a > < / span > < span class = cF9 > CHashSrcSym< / span > < span class = cF0 > *tmpf;
< a name = "l334" > < / a > < / span > < span class = cF9 > CDebugInfo< / span > < span class = cF0 > *debug_info;
2021-07-03 05:07:57 +01:00
< a name = "l335" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l336" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (tmpf = < / span > < span class = cF5 > HashFind< / span > < span class = cF7 > (< / span > < span class = cF0 > st, < / span > < span class = cF5 > Fs< / span > < span class = cF0 > -> hash_table, < / span > < span class = cF3 > HTT_FUN< / span > < span class = cF0 > | < / span > < span class = cF3 > HTT_EXPORT_SYS_SYM< / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l337" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l338" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (tmpf-> type & < / span > < span class = cF3 > HTT_FUN< / span > < span class = cF0 > )
< a name = "l339" > < / a > < / span > < span class = cF5 > FunRep< / span > < span class = cF0 > (st);
< a name = "l340" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (debug_info = tmpf-> debug_info)
< a name = "l341" > < / a > {
< a name = "l342" > < / a > i = debug_info-> body[debug_info-> max_line + < / span > < span class = cFE > 1< / span > < span class = cF0 > - debug_info-> min_line] - debug_info-> body[< / span > < span class = cFE > 0< / span > < span class = cF0 > ];
< a name = "l343" > < / a > < / span > < span class = cF5 > Un< / span > < span class = cF0 > (debug_info-> body[< / span > < span class = cFE > 0< / span > < span class = cF0 > ], i);
< a name = "l344" > < / a > < / span > < span class = cF6 > " Code Size:%04X\n" < / span > < span class = cF0 > , i;
< a name = "l345" > < / a > }
< a name = "l346" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l347" > < / a > < / span > < span class = cF5 > U< / span > < span class = cF0 > (< / span > < span class = cF5 > HashVal< / span > < span class = cF7 > (< / span > < span class = cF0 > tmpf< / span > < span class = cF7 > )< / span > < span class = cF0 > );
< a name = "l348" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l349" > < / a > }
< / span > < / pre > < / body >
< / html >