• Jason Cooper's avatar
    scripts: objdiff: detect object code changes between two commits · 79192ca8
    Jason Cooper authored
    objdiff is useful when doing large code cleanups.  For example, when
    removing checkpatch warnings and errors from new drivers in the staging
    tree.
    
    objdiff can be used in conjunction with a git rebase to confirm that
    each commit made no changes to the resulting object code.  It has the
    same return values as diff(1).
    
    This was written specifically to support adding the skein and threefish
    cryto drivers to the staging tree.  I needed a programmatic way to
    confirm that commits changing >90% of the lines didn't inadvertently
    change the code.
    
    Temporary files (objdump output) are stored in
    
      /path/to/linux/.tmp_objdiff
    
    'make mrproper' will remove this directory.
    Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    79192ca8
objdiff 2.48 KB