You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let address = 0x000000010;// should be in the main subprogram >= low_pc
138
-
//std::println!("address of {:?}: {:?}", *self.ip.get(), address);
139
-
// TODO: make this be a field with correct lifetime
140
-
letmut tracer = WasmTracer::new(std::path::Path::new("/home/pesho/code/codetracer-wasmi-recorder/wasm_test.wasm"));// "<path to test.wasm>: for now hardcoded TODO pass");
141
-
tracer.load_local_variables(address);
142
-
137
+
ifself.tracing{
138
+
// TODO: change that, just startting from somewehre
let address = 0x000000010;// should be in the main subprogram >= low_pc
143
+
//std::println!("address of {:?}: {:?}", *self.ip.get(), address);
144
+
// TODO: make this be a field with correct lifetime
145
+
letmut tracer = WasmTracer::new(std::path::Path::new("/home/pesho/code/codetracer-wasmi-recorder/wasm_test.wasm"));// "<path to test.wasm>: for now hardcoded TODO pass");
146
+
tracer.load_local_variables(address);
147
+
}
143
148
// load debuginfo from gimli <- for this ip;
144
149
// -> find out current scope and vars in it:
145
150
// some kind of mapping between them and locations
0 commit comments