File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -210,13 +210,6 @@ impl ObjArch for ObjArchPpc {
210210 let op = Opcode :: from ( instruction. op as u8 ) ;
211211 if let Some ( ty) = guess_data_type_from_load_store_inst_op ( op) {
212212 Some ( ty)
213- } else if op == Opcode :: Addi {
214- // Assume that any addi instruction that references a local symbol is loading a string.
215- // This hack is not ideal and results in tons of false positives where it will show
216- // garbage strings (e.g. misinterpreting arrays, float literals, etc).
217- // But not all strings are in the @stringBase pool, so the condition above that checks
218- // the target symbol name would miss some.
219- Some ( DataType :: String )
220213 } else {
221214 None
222215 }
Original file line number Diff line number Diff line change @@ -243,7 +243,6 @@ fn reloc_eq(
243243 || address_eq ( left, right)
244244 || config. relax_shifted_data_diffs )
245245 && ( left. target . kind != ObjSymbolKind :: Object
246- || right. target . name . starts_with ( "..." )
247246 || left_obj. arch . display_ins_data ( left_ins)
248247 == left_obj. arch . display_ins_data ( right_ins) )
249248 }
You can’t perform that action at this time.
0 commit comments