{"id":{"repo_id":"greece","oai_identifier":"oai:10442/62338"},"canonical_url":"https://search.ndltd.org/etd/greece/oai:10442/62338","repository":{"repo_id":"greece","name":"Greek National Archive of PhD Theses","base_url":"https://phdtheses.ekt.gr/eadd_oai/request"},"display":{"title":"Graph-based divide-and-conquer techniques for binary diffing","abstract":"In this thesis, we propose a solution to the binary diffing problem aimed at improving runtime efficiency and precision of the results generated. Our approach leverages program partitioning and applies binary diffing algorithms using a divide-and-conquer strategy, implemented in an extensible binary diffing pipeline. Specifically, we introduce three novel program partitioning techniques; (i) a method combining consensus-based Louvain community detection on programs’ Function Call Graphs (FCGs), followed by further splitting of communities into hash buckets using Locality Sensitive Hashing (LSH), (ii) an approximate recovery of a program’s object-file structure (referred to as the REcover technique), and (iii) a modular decomposition of program FCGs into MD-trees, which are unique up to isomorphism for a given graph. Components resulting from these partitionings are first compared at a coarse level, followed by a finer-grained comparison of the functions they contain. Furthermore, we explore efficient features for abstractly representing function characteristics, as well as clusters of functions generated by the above partitionings, using feature vector aggregation. Binary lifting to the VEX Intermediate Representation (IR) is employed to abstract away Instruction Set Architecture (ISA) details. Using these techniques, we develop REveal, a binary diffing framework that implements generic algorithms for performing divide-and-conquer binary diffing, independently of the specific partitioning method used. We demonstrate the efficiency and applicability of the proposed methodologies through a series of experiments against the BinKit dataset, comparing our results with those ofBinDiff and Diaphora, the state-of-the-art tools for binary diffing. Last but not least, we provide open-source implementations of all software in our pipeline for further evaluation by the reverse engineering community.","abstract_html":"In this thesis, we propose a solution to the binary diffing problem aimed at improving runtime efficiency and precision of the results generated. Our approach leverages program partitioning and applies binary diffing algorithms using a divide-and-conquer strategy, implemented in an extensible binary diffing pipeline. Specifically, we introduce three novel program partitioning techniques; (i) a method combining consensus-based Louvain community detection on programs’ Function Call Graphs (FCGs), followed by further splitting of communities into hash buckets using Locality Sensitive Hashing (LSH), (ii) an approximate recovery of a program’s object-file structure (referred to as the REcover technique), and (iii) a modular decomposition of program FCGs into MD-trees, which are unique up to isomorphism for a given graph. Components resulting from these partitionings are first compared at a coarse level, followed by a finer-grained comparison of the functions they contain. Furthermore, we explore efficient features for abstractly representing function characteristics, as well as clusters of functions generated by the above partitionings, using feature vector aggregation. Binary lifting to the VEX Intermediate Representation (IR) is employed to abstract away Instruction Set Architecture (ISA) details. Using these techniques, we develop REveal, a binary diffing framework that implements generic algorithms for performing divide-and-conquer binary diffing, independently of the specific partitioning method used. We demonstrate the efficiency and applicability of the proposed methodologies through a series of experiments against the BinKit dataset, comparing our results with those ofBinDiff and Diaphora, the state-of-the-art tools for binary diffing. Last but not least, we provide open-source implementations of all software in our pipeline for further evaluation by the reverse engineering community.","abstract_has_math":false,"creators":["Karamitas, Chariton","Καραμήτας, Χαρίτων"],"institution":"Aristotle University Of Thessaloniki (AUTH)","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-18T22:28:13Z","subjects":["Σύγκριση Εκτελέσιμων Αρχείων","Διαίρεση-Κατάκτηση","Θεωρία γράφων","Binary Diffing","Divide-and-Conquer","Graph theory","Επιστήμη Ηλεκτρολόγου Μηχανικού, Ηλεκτρονικού Μηχανικού, Μηχανικού Η/Υ","Επιστήμες Μηχανικού και Τεχνολογία","Υπολογιστές, Υλικό (hardware) και Αρχιτεκτονική","Electrical Engineering, Electronic Engineering, Information Engineering","Engineering and Technology","Computer science, Hardware and Architecture"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["10.12681/eadd/62338"],"render_values":[{"text":"10.12681/eadd/62338","href":"https://doi.org/10.12681/eadd/62338","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"http://hdl.handle.net/10442/hedi/62338","outbound_label":"Handle","outbound_source":"dc:identifier","record_url":"http://hdl.handle.net/10442/hedi/62338","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://phdtheses.ekt.gr/eadd_oai/request?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3A10442%2F62338","prefix":"oai_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Karamitas, Chariton","Καραμήτας, Χαρίτων"]},{"key":"dc:creator.fathername","label":"Dc Creator Fathername","values":["Athanasios"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026"]},{"key":"dc:publisher","label":"Institution","values":["Aristotle University Of Thessaloniki (AUTH)","Αριστοτέλειο Πανεπιστήμιο Θεσσαλονίκης (ΑΠΘ)"]},{"key":"dc:type","label":"Dc Type","values":["PhD Thesis"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Σύγκριση Εκτελέσιμων Αρχείων","Διαίρεση-Κατάκτηση","Θεωρία γράφων","Binary Diffing","Divide-and-Conquer","Graph theory","Επιστήμη Ηλεκτρολόγου Μηχανικού, Ηλεκτρονικού Μηχανικού, Μηχανικού Η/Υ","Επιστήμες Μηχανικού και Τεχνολογία","Υπολογιστές, Υλικό (hardware) και Αρχιτεκτονική","Electrical Engineering, Electronic Engineering, Information Engineering","Engineering and Technology","Computer science, Hardware and Architecture"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["10.12681/eadd/62338","http://hdl.handle.net/10442/hedi/62338"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["In this thesis, we propose a solution to the binary diffing problem aimed at improving runtime efficiency and precision of the results generated. Our approach leverages program partitioning and applies binary diffing algorithms using a divide-and-conquer strategy, implemented in an extensible binary diffing pipeline. Specifically, we introduce three novel program partitioning techniques; (i) a method combining consensus-based Louvain community detection on programs’ Function Call Graphs (FCGs), followed by further splitting of communities into hash buckets using Locality Sensitive Hashing (LSH), (ii) an approximate recovery of a program’s object-file structure (referred to as the REcover technique), and (iii) a modular decomposition of program FCGs into MD-trees, which are unique up to isomorphism for a given graph. Components resulting from these partitionings are first compared at a coarse level, followed by a finer-grained comparison of the functions they contain. Furthermore, we explore efficient features for abstractly representing function characteristics, as well as clusters of functions generated by the above partitionings, using feature vector aggregation. Binary lifting to the VEX Intermediate Representation (IR) is employed to abstract away Instruction Set Architecture (ISA) details. Using these techniques, we develop REveal, a binary diffing framework that implements generic algorithms for performing divide-and-conquer binary diffing, independently of the specific partitioning method used. We demonstrate the efficiency and applicability of the proposed methodologies through a series of experiments against the BinKit dataset, comparing our results with those ofBinDiff and Diaphora, the state-of-the-art tools for binary diffing. Last but not least, we provide open-source implementations of all software in our pipeline for further evaluation by the reverse engineering community.","Στην παρούσα διδακτορική διατριβή προτείνουμε μια λύση στο πρόβλημα του binary diffing, με στόχο τη βελτίωση τόσο της αποδοτικότητας κατά την εκτέλεση, όσο και της ακρίβειας των παραγόμενων αποτελεσμάτων. Η προσέγγισή μας αξιοποιεί την διαμέριση προγραμμάτων (program partitioning) σε επιμέρους κομμάτια και εφαρμόζει αλγορίθμους binary diffing χρησιμοποιώντας στρατηγική διαίρει-και-βασίλευε (divide-and-conquer), υλοποιημένη σε μία επεκτάσιμη ροή εργασιών. Συγκεκριμένα, εισάγουμε τρεις νέες τεχνικές διαμέρισης προγραμμάτων: (i) μια μέθοδο που συνδυάζει συναινετική ανίχνευση κοινοτήτων με χρήση του αλγορίθμου Louvain στα Function Call Graphs (FCGs) των προγραμμάτων, ακολουθούμενη από περαιτέρω διαχωρισμό των κοινοτήτων σε hash buckets χρησιμοποιώντας Locality Sensitive Hashing (LSH), (ii) μια προσεγγιστική ανακατασκευή της δομής ενός προγράμματος στα επιμέρους αρχεία-αντικείμενα (object-files) που το απαρτίζουν (γνωστή ως τεχνική REcover), και (iii) μια τεχνική βασισμένη στο modular decomposition των FCGs σε MD-trees, τα οποία είναι μοναδικά, με ακρίβεια ισομορφισμού, για δοσμένο γράφο. Τα στοιχεία που προκύπτουν από αυτές τις διαμερίσεις συγκρίνονται πρώτα σε υψηλό επίπεδο, ακολουθούμενα από λεπτομερέστερη σύγκριση των συναρτήσεων που περιέχουν. Επιπλέον, διερευνούμε αποδοτικά χαρακτηριστικά με σκοπό την αφηρημένη αναπαράσταση των ιδιοτήτων των συναρτήσεων προγραμμάτων, καθώς και των συστάδων (clusters) συναρτήσεων που προκύπτουν από τις παραπάνω διαμερίσεις, χρησιμοποιώντας συσσωμάτωση (aggregation) των διανυσμάτων χαρακτηριστικών τους, ενώ χρήση τεχνικών binary lifting στο VEX Intermediate Representation (IR) χρησιμοποιείται για την παράβλεψη λεπτομερειών μεταξύ διαφορετικών Instruction Set Architectures (ISA). Με βάση τα παραπάνω, αναπτύσσουμε το REveal, ένα εργαλείο που υλοποιεί γενικούς αλγορίθμους binary diffing με χρήση τεχνικών διαίρει-και-βασίλευε, ανεξαρτήτως της συγκεκριμένης μεθόδου διαμέρισης που χρησιμοποιείται. Αποδεικνύουμε την αποδοτικότητα και την εφαρμοσιμότητα των προτεινόμενων τεχνικών μέσω μιας σειράς πειραμάτων στο σύνολο δεδομένων του BinKit, συγκρίνοντας τα αποτελέσματα μας με αυτά των BinDiff και Diaphora, δύο καθιερωμένων εργαλείων binary diffing. Τέλος, παρέχουμε υλοποιήσεις ανοιχτού κώδικα όλων των εργαλείων της ροής εργασιών μας για περαιτέρω αξιολόγηση από την επιστημονική κοινότητα."]},{"key":"dc:title","label":"Title","values":["Graph-based divide-and-conquer techniques for binary diffing","Γραφοθεωρητικές μέθοδοι διαίρεσης-κατάκτησης για σύγκριση εκτελέσιμων αρχείων"]}]}],"canonical_facts":{"dc:creator":["Karamitas, Chariton","Καραμήτας, Χαρίτων"],"dc:creator.fathername":["Athanasios"],"dc:date":["2026"],"dc:description":["In this thesis, we propose a solution to the binary diffing problem aimed at improving runtime efficiency and precision of the results generated. Our approach leverages program partitioning and applies binary diffing algorithms using a divide-and-conquer strategy, implemented in an extensible binary diffing pipeline. Specifically, we introduce three novel program partitioning techniques; (i) a method combining consensus-based Louvain community detection on programs’ Function Call Graphs (FCGs), followed by further splitting of communities into hash buckets using Locality Sensitive Hashing (LSH), (ii) an approximate recovery of a program’s object-file structure (referred to as the REcover technique), and (iii) a modular decomposition of program FCGs into MD-trees, which are unique up to isomorphism for a given graph. Components resulting from these partitionings are first compared at a coarse level, followed by a finer-grained comparison of the functions they contain. Furthermore, we explore efficient features for abstractly representing function characteristics, as well as clusters of functions generated by the above partitionings, using feature vector aggregation. Binary lifting to the VEX Intermediate Representation (IR) is employed to abstract away Instruction Set Architecture (ISA) details. Using these techniques, we develop REveal, a binary diffing framework that implements generic algorithms for performing divide-and-conquer binary diffing, independently of the specific partitioning method used. We demonstrate the efficiency and applicability of the proposed methodologies through a series of experiments against the BinKit dataset, comparing our results with those ofBinDiff and Diaphora, the state-of-the-art tools for binary diffing. Last but not least, we provide open-source implementations of all software in our pipeline for further evaluation by the reverse engineering community.","Στην παρούσα διδακτορική διατριβή προτείνουμε μια λύση στο πρόβλημα του binary diffing, με στόχο τη βελτίωση τόσο της αποδοτικότητας κατά την εκτέλεση, όσο και της ακρίβειας των παραγόμενων αποτελεσμάτων. Η προσέγγισή μας αξιοποιεί την διαμέριση προγραμμάτων (program partitioning) σε επιμέρους κομμάτια και εφαρμόζει αλγορίθμους binary diffing χρησιμοποιώντας στρατηγική διαίρει-και-βασίλευε (divide-and-conquer), υλοποιημένη σε μία επεκτάσιμη ροή εργασιών. Συγκεκριμένα, εισάγουμε τρεις νέες τεχνικές διαμέρισης προγραμμάτων: (i) μια μέθοδο που συνδυάζει συναινετική ανίχνευση κοινοτήτων με χρήση του αλγορίθμου Louvain στα Function Call Graphs (FCGs) των προγραμμάτων, ακολουθούμενη από περαιτέρω διαχωρισμό των κοινοτήτων σε hash buckets χρησιμοποιώντας Locality Sensitive Hashing (LSH), (ii) μια προσεγγιστική ανακατασκευή της δομής ενός προγράμματος στα επιμέρους αρχεία-αντικείμενα (object-files) που το απαρτίζουν (γνωστή ως τεχνική REcover), και (iii) μια τεχνική βασισμένη στο modular decomposition των FCGs σε MD-trees, τα οποία είναι μοναδικά, με ακρίβεια ισομορφισμού, για δοσμένο γράφο. Τα στοιχεία που προκύπτουν από αυτές τις διαμερίσεις συγκρίνονται πρώτα σε υψηλό επίπεδο, ακολουθούμενα από λεπτομερέστερη σύγκριση των συναρτήσεων που περιέχουν. Επιπλέον, διερευνούμε αποδοτικά χαρακτηριστικά με σκοπό την αφηρημένη αναπαράσταση των ιδιοτήτων των συναρτήσεων προγραμμάτων, καθώς και των συστάδων (clusters) συναρτήσεων που προκύπτουν από τις παραπάνω διαμερίσεις, χρησιμοποιώντας συσσωμάτωση (aggregation) των διανυσμάτων χαρακτηριστικών τους, ενώ χρήση τεχνικών binary lifting στο VEX Intermediate Representation (IR) χρησιμοποιείται για την παράβλεψη λεπτομερειών μεταξύ διαφορετικών Instruction Set Architectures (ISA). Με βάση τα παραπάνω, αναπτύσσουμε το REveal, ένα εργαλείο που υλοποιεί γενικούς αλγορίθμους binary diffing με χρήση τεχνικών διαίρει-και-βασίλευε, ανεξαρτήτως της συγκεκριμένης μεθόδου διαμέρισης που χρησιμοποιείται. Αποδεικνύουμε την αποδοτικότητα και την εφαρμοσιμότητα των προτεινόμενων τεχνικών μέσω μιας σειράς πειραμάτων στο σύνολο δεδομένων του BinKit, συγκρίνοντας τα αποτελέσματα μας με αυτά των BinDiff και Diaphora, δύο καθιερωμένων εργαλείων binary diffing. Τέλος, παρέχουμε υλοποιήσεις ανοιχτού κώδικα όλων των εργαλείων της ροής εργασιών μας για περαιτέρω αξιολόγηση από την επιστημονική κοινότητα."],"dc:identifier":["10.12681/eadd/62338","http://hdl.handle.net/10442/hedi/62338"],"dc:language":["eng"],"dc:publisher":["Aristotle University Of Thessaloniki (AUTH)","Αριστοτέλειο Πανεπιστήμιο Θεσσαλονίκης (ΑΠΘ)"],"dc:subject":["Σύγκριση Εκτελέσιμων Αρχείων","Διαίρεση-Κατάκτηση","Θεωρία γράφων","Binary Diffing","Divide-and-Conquer","Graph theory","Επιστήμη Ηλεκτρολόγου Μηχανικού, Ηλεκτρονικού Μηχανικού, Μηχανικού Η/Υ","Επιστήμες Μηχανικού και Τεχνολογία","Υπολογιστές, Υλικό (hardware) και Αρχιτεκτονική","Electrical Engineering, Electronic Engineering, Information Engineering","Engineering and Technology","Computer science, Hardware and Architecture"],"dc:title":["Graph-based divide-and-conquer techniques for binary diffing","Γραφοθεωρητικές μέθοδοι διαίρεσης-κατάκτησης για σύγκριση εκτελέσιμων αρχείων"],"dc:type":["PhD Thesis"]},"updated_at":"2026-11-18T22:28:13Z"}