MCPcopy Create free account
hub / github.com/encounter/objdiff / generate_pooled_relocations

Method generate_pooled_relocations

objdiff-core/src/arch/ppc/mod.rs:189–203  ·  view source on GitHub ↗

Could be replaced by data_flow_analysis once that feature stabilizes

(
        &self,
        address: u64,
        code: &[u8],
        relocations: &[Relocation],
        symbols: &[Symbol],
    )

Source from the content-addressed store, hash-verified

187
188 // Could be replaced by data_flow_analysis once that feature stabilizes
189 fn generate_pooled_relocations(
190 &self,
191 address: u64,
192 code: &[u8],
193 relocations: &[Relocation],
194 symbols: &[Symbol],
195 ) -> Vec<Relocation> {
196 generate_fake_pool_relocations_for_function(
197 address,
198 code,
199 relocations,
200 symbols,
201 self.extensions,
202 )
203 }
204
205 fn data_flow_analysis(
206 &self,

Callers 1

Tested by

no test coverage detected