Zum Inhalt springen

Cmpsymtbl.pl: Unterschied zwischen den Versionen

Cyphunk (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „Script to compare the symbol tables of two objects and show missing symbols from the second. Example execution: <pre> ./symbtblcmp.pl objdump tpsession/tpsessio…“
 
Cyphunk (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 7: Zeile 7:
</pre>
</pre>


<code>
cmpsymtbl.pl
<pre>
#!/usr/bin/perl
#!/usr/bin/perl


Zeile 52: Zeile 53:
print scalar keys %symtbl2, " in $file2\n";
print scalar keys %symtbl2, " in $file2\n";
print "latter missing $missinginfile2 with $matches matching\n";
print "latter missing $missinginfile2 with $matches matching\n";
</code>
</pre>