MCPcopy Index your code
hub / github.com/encounter/objdiff / symbol_hover

Method symbol_hover

objdiff-core/src/arch/ppc/mod.rs:382–397  ·  view source on GitHub ↗
(&self, _obj: &Object, symbol_index: usize)

Source from the content-addressed store, hash-verified

380 }
381
382 fn symbol_hover(&self, _obj: &Object, symbol_index: usize) -> Vec<HoverItem> {
383 let mut out = Vec::new();
384 if let Some(extab) = self.extab_for_symbol(symbol_index) {
385 out.push(HoverItem::Text {
386 label: "extab symbol".into(),
387 value: extab.etb_symbol.name.clone(),
388 color: HoverItemColor::Special,
389 });
390 out.push(HoverItem::Text {
391 label: "extabindex symbol".into(),
392 value: extab.eti_symbol.name.clone(),
393 color: HoverItemColor::Special,
394 });
395 }
396 out
397 }
398
399 fn symbol_context(&self, _obj: &Object, symbol_index: usize) -> Vec<ContextItem> {
400 let mut out = Vec::new();

Callers 1

symbol_hoverFunction · 0.45

Calls 2

extab_for_symbolMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected