FloridSleeves / LLMDebugger

LDB: A Large Language Model Debugger via Verifying Runtime Execution Step by Step
Apache License 2.0
430 stars 41 forks source link

how do you do code instrumentation actually? #7

Closed ramsey-coding closed 4 months ago

ramsey-coding commented 5 months ago

How do you perform code instrumentation? Given a software project, how would you approach code instrumentation? Specifically, how do you extract control flow?

Could you please provide detailed instructions and explain how to achieve this using the code artifacts you have shared?

FloridSleeves commented 5 months ago

Thank you for your interest in LDB! In this project, code instrumentation is conducted by inserting log statements into programs: code. Control flow is described in units of basic block, which is decomposed from the program: code