SearcharxivSearch

arXiv subjects

Ruibin Yan

Publications and source records attributed to Ruibin Yan.

2 recordsLinked to original sources

SmartPoC: Generating Executable and Validated PoCs for Smart Contract Bug Reports

Smart contracts are commonly audited through static analysis to explore vulnerabilities. However, static approaches typically produce heterogeneous findings rather than reproducible, executable proof-of-concept (PoC) test cases, leading to costly and ad hoc manual validation. Large language models (LLMs) offer a promising way to translate audit reports into PoC test cases, but face three major challenges: noisy inputs, lack of execution grounding, and missing runtime oracles. We present SmartPoC, an end-to-end approach for validating reported vulnerabilities in audit reports by generating and executing PoC test cases with automated exploitability verification. SmartPoC first extracts a focused function-level slice from each report to reduce noise, centering on the key functions referenced in a finding and augmenting them with execution-relevant neighbors. To improve executability, we wrap LLM-based PoC synthesis in a generate-repair-execute loop, combining deterministic pre-execution sanitization with feedback-driven post-execution debugging. We further use differential verification as an oracle to confirm the exploitability of generated test cases. On the SmartBugs-Vul and FORGE-Vul benchmarks, SmartPoC achieves confirmation precision of 98.32% and 98.65%, with recall of 84.17% and 85.28%, respectively. On a recent Etherscan verified-source corpus, SmartPoC confirms 64 bugs from 545 audit findings at an average cost of $0.03.

cs.SE

Beam Measurements of the Tianlai Dish Radio Telescope using an Unmanned Aerial Vehicle

Precision measurement of the beam pattern of an antenna is very important for many applications. While traditionally such measurement is often made in a microwave anechoic chamber or at a test range, measurement using an unmanned aerial vehicle offers a number of advantages: the measurement can be made for the assembled antenna on site, thus reflecting the actual characteristics of the antenna of interest, and more importantly, it can be performed for larger antennas which cannot be steered or easily measured using the anechoic chamber and test range. Here we report our beam measurement experiment with UAV for a 6 meter dish used in the Tianlai array, which is a radio astronomy experiment. Due to the dish's small collecting area, calibration with an astronomical source only allows for determining the antenna beam pattern over a very limited angular range. We describe in detail the setup of the experiment, the components of the signal transmitting system, the design of the flight path and the procedure for data processing. We find the UAV measurement of the beam pattern agrees very well with the astronomical source measurement in the main lobe, but the UAV measurement can be extended to the fourth side lobe. The measured position and width of each lobe also shows good agreement with electromagnetic field simulation. This UAV-based approach of beam pattern measurement is flexible and inexpensive, and the technique may also be applied to other experiments.

astro-ph.IM