I don't want tools for actually performing refactorings, but tools for finding and suggesting potential refactorings. Particularly tools for identifying blocks of code that are similar and could be merged into a utility functions.
The background here is that I've been asked to investigate reducing the code size of an embedded C system. This task seems to mostly break down into removing code that isn't needed (dead code) and merging code that is duplicated. The various lint like tools will find the dead code. But I still need a way of finding the duplicated code.