Search arXiv⌕ Search

arXiv subjects

Philip König

Publications and source records attributed to Philip König.

3 recordsLinked to original sources

From Binary to Source Code: Measuring LLMs Reverse Engineering Capabilities on Obfuscated Binaries

Software obfuscation protects intellectual property in Man-at-the-End (MATE) settings. Recent advances in Large Language Models (LLMs) challenge the protection that obfuscation provides by making automated reverse engineering increasingly effective. However, the extent to which obfuscation of native binaries withstands deobfuscation by frontier LLMs is unclear. In this paper, we systematically evaluate the capability of a frontier LLM, GPT 5.5, to reconstruct obfuscated native binaries. We construct a benchmark dataset of 40 C programs augmented with backdoor functionality, enabling us to distinguish complete semantic reconstruction from solutions that reproduce only parts of the program's algorithm. We apply 18 Tigress obfuscation options individually and in pairs, and provide the model with access to the Ghidra and Binary Ninja decompilers through Model Context Protocol (MCP). We evaluate the reconstructed programs based on syntactic correctness, semantic correctness, code simplification, and similarity to the original source code. With extra-high reasoning effort, the model reconstructs functionally equivalent programs for up to 91.7% of the evaluated binaries. Virtualization provides the strongest protection and reduces the execution pass rate to 78.8%. Ghidra and Binary Ninja achieve similar overall reconstruction performance, but Ghidra's settings require up to 59.7% more tokens. Layering transformations can further reduce reconstruction success, although the resulting protection depends on the selected techniques and the order in which they are applied. Overall, our results show that frontier LLMs substantially weaken the protection provided by obfuscation. At the same time, virtualization and selected combinations of transformations continue to provide measurable resistance against automated LLM-based reverse engineering.

cs.CR↗

Labelling Bug-Fixing Commits with Local Open-Weight Language Models

Defect prediction depends on knowing which commits fix bugs, yet the labels that encode this are produced by routes that each introduce noise. Reused benchmarks carry documented data-quality problems, issue-tracker links are biased and the underlying reports are frequently mistyped, and matching keywords in commit messages is a coarse heuristic. This paper examines whether commits can be labelled as bug fixes from their content alone, using open-weight language models that run locally and therefore keep the process reproducible, inexpensive at corpus scale, usable on proprietary code, and independent of any issue tracker. Against datasets of manually validated and curated bug fixes spanning Java, Python, and JavaScript, we compare a keyword baseline with a set of open-weight models of varying size, prompting each with the commit message and the code diff. On the manually validated corpus the keyword baseline recovers fewer than half of the fixes, whereas the open-weight models recover the large majority and outperform it repository by repository with statistical significance, and larger models do not consistently outperform smaller ones. We further show that evaluation corpora without negative examples cannot support a precision-aware comparison of such classifiers. We release the labelling pipeline together with a labelled, multi-language corpus produced by the recommended configuration, as a reproducible silver-standard resource for building current, project-specific datasets.

cs.SE↗

Fractional Optimizers Meet Fractal Activation Functions: An Empirical Study of Multi-Scale Optimization in Neural Network

Fractional optimization methods and fractal activation functions are two independent directions for improving neural network training. Fractional optimizers extend first-order optimization through fractional derivatives and memory effects, whereas fractal activations introduce multi-scale nonlinear representations based on self-similar Weierstrass- and Blancmange-type functions. Here, we investigate their interaction within a unified experimental framework. We evaluate fractional optimizer families on Ackley and Himmelblau benchmark surfaces, in standard form and with additive Weierstrass-type perturbations, and then in feed-forward neural networks with conventional and fractal activations on ten classification datasets. The comparison includes standard methods, regularization-style optimizers, explicit and adaptive memory-based fractional optimizers, and other representative literature methods. Overall, fractional optimization and fractal activations show useful but selective pairings. Regularization-style fractional scaling performs well with selected fractal activations in network training, while Grünwald--Letnikov memory is most relevant on perturbed surfaces. Adaptive memory improves plain memory substitution in several cases, supporting controlled fractional memory as a promising direction rather than a universal replacement.

cs.LG↗