Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Laya the open source version of Jev(convaiinnovations.com ↗)
    139comments
  2. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    47comments
  3. Tin: full-text search for Postgres(planetscale.com ↗)
    39comments
  4. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    450comments
  5. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    180comments
  6. “The Secret Life of Circuits” is here(coredump.cx ↗)
    51comments
  7. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    34comments
  8. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    12comments
  9. I built the fastest PHP webserver in the world(qbixserver.com ↗)
    27comments
  10. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    549comments
  11. San Francisco Onion Futures Company(onionfutures.com ↗)
    115comments
  12. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    132comments
  13. New evidence for hidden chambers beyond Tutankhamun's tomb(nature.com ↗)
    4comments
  14. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    189comments
  15. What Zig felt like, coming from Rust(besok.github.io ↗)
    106comments
  16. Cloudflare Quick Tunnels(cloudflare.com ↗)
    301comments
  17. Learning Another Language May Be One of the Best Ways to Keep Your Brain Healthy(theconversation.com ↗)
    39comments
  18. How to Write with an LLM(sockpuppet.org ↗)
    360comments
  19. Agreement between the USA and Denmark (1951,2004) [pdf](state.gov ↗)
    12comments
  20. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    24comments
  21. Communication by means of modulated Johnson noise(pnas.org ↗)
    18comments
  22. Saving another 100TB of RAM(cloudflare.com ↗)
    89comments
  23. SDCC – Small Device C Compiler(sourceforge.net ↗)
    23comments
  24. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    11comments
  25. Science Is Open Software(jepedersen.dk ↗)
    51comments
  26. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    44comments
  27. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    7comments
  28. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    122comments
  29. OpenJev(openjev.com ↗)
    278comments
  30. From Stonemasons to Carpenters(thelastsoftwareengineer.substack.com ↗)
    4comments

Diaphora: an open-source program diffing IDA plugin

122 pointsby 3y agogithub.com
25 comments
3y agoHN ↗

not really...it is an IDA(interactive disassembler) Pro plugin

3y agoHN ↗

Thanks. I had no idea what “IDA” was.

Disappointing.

3y agoHN ↗

Thanks - we've made the title say IDA plugin now.

3y agoHN ↗

It's a "program-diffing" tool, not a "Free-and-Open-Source-program".

The title would be less confusing if written as "Diaphora, the most advanced, Free and Open Source, program-diffing tool".

3y agoHN ↗

And less misleading if it disclosed that it’s only a plug-in for Interactive Disassembler.

3y agoHN ↗

Submitted title was "Diaphora, the most advanced Free and Open Source program diffing tool". We've attempted to make it less misleading.

3y agoHN ↗

Would be very useful as a standalone tool.

3y agoHN ↗

Thanks, just today I decided that the current status of Meld (https://meldmerge.org/) was untenable for me.

It used to be a fast program, with a reasonable interface.

For a long time now its interface has been "simplifed" following GNOME 3's User Interface Guidelines, and everything ended up being hidden inside a hamburger menu.

But what definitely made it untenable was not the UX, but its tendency to crash and being really slow under the slightest load.

I was considering contributing to the project, but honestly a better engineered alternative would be welcome.

Thanks for the info (and thanks Kai Willadsen for Meld).

3y agoHN ↗

diffuse (and meld) are great tools for diffing text files. However, this link seems to be a binary analysis tool for diffing disassembled binaries. It is a plugin for IDA Pro, one of the foremost reverse engineering tools.

So I don't think it is in the same category as diffuse.

3y agoHN ↗

On a related note, can anybody recommend a effective, portable, lightweight, open/free app for diffing and patching artibrary binary files (not just executables) ?

My long-time fave is JojoDiff https://jojodiff.sourceforge.net

...but I'm always curious to know what else is out there.

3y agoHN ↗

It's an IDA Plugin to diff binaries. Very useful for creating 1-day exploits i.e. when a vendor patches a vulnerablity, you use Diaphora to diff the vulnerable binary vs the patched one to understand what was going on, and create an exploit based off of that.

Many of Microsoft POC exploits that come out after an update are made this way.

3y agoHN ↗

Anyone still using Winmerge? Been using it for 10-15 years and it’s just been absolutley fantastic for my use

3y agoHN ↗

What would it take to add an adapter to or port Diaphora to Ghidra?

A bunch of open source Ghidra plugins, some ported from IDA: https://github.com/fr0gger/awesome-ida-x64-olly-plugin/blob/... ctrl-f 'diff', 'bindiff'

ghidra-patchdiff-correlator#how-does-it-work: https://github.com/threatrack/ghidra-patchdiff-correlator#ho...

https://ghidra.re/ghidra_docs/api/ghidra/python/PythonPlugin...

ghidra-jython-kernel + jupyter_console: https://github.com/AllsafeCyberSecurity/ghidra-jython-kernel

ghidrathon https://www.mandiant.com/resources/blog/ghidrathon-snaking-g... :

Ghidrathon replaces the existing Python 2 extension implemented via Jython. This includes the interactive interpreter window, integration with the Ghidra Script Manager, and script execution in Ghidra headless mode. You can build and install Ghidrathon using the steps outlined in our README to start using the features described below [...]

Alternatives: Ghidrathon is one of multiple solutions, including Ghidraal, Ghidra Bridge, and pyhidra, that enables Python 3 scripting in Ghidra. Each solution is implemented differently with accompanying benefits and limitations. We encourage you to explore all solutions and choose which best fits your needs.

3y agoHN ↗

I love this tool, but the AGPL license means I cannot use it at work due to company policies.

I'm sympathetic and understand the author's reasoning for relicensing it under the AGPL, but I wonder how much that holds back adoption, which is a shame considering how useful the software is.

3y agoHN ↗

They write that commercial licenses are available.

Is it a shame the Apple's pricing holds back adoption considering how good their product quality is [*]?

[*] Not a fanboy and not ever a user since 1995ish. Just an analogy.

3y agoHN ↗

I saw the name Diaphora and thought it would be the perfect name for a reddit replacement... like Diaspora and Fora (multiple forums) combined. This is pretty cool too though.

3y agoHN ↗

I cannot parse the title. Probably the plugin is open-source. But where does "program" belong to?

Either way, if you don't use IDA or don't even know what it really is (like myself), this is not for you.

Comments telling how (un)happy they are with meld or BeyondCompare are off-topic. This plugin is a different category.

3y agoHN ↗

An (open-source ((program diffing) (IDA plugin)))