To conduct a user study that compares the usability of the output from Ghidra and your colleagues' enhanced decompilation tool, you can follow these steps:
1. Participant Selection
Recruit a diverse group of participants with varying levels of expertise in reverse engineering and familiarity with decompilation tools. Ensure that there's a mix of users who are both experienced with Ghidra and new to such tools.
2. Pre-Study Questionnaire
Have each participant fill out a pre-study questionnaire to assess their background, experience level, and familiarity with decompilation tools. This will help in understanding how prior knowledge affects the usability of the tools.
3. Training Session
Before the actual test, provide a brief training session to ensure that all participants are familiar with the basic functionality of Ghidra and the new tool. This helps to mitigate the learning curve and focuses the study on usability rather than learnability.
4. Task Design
Design a set of tasks that the participants will perform using both tools. Ensure that these tasks are representative of common reverse engineering scenarios and are of varying difficulty. For example:
- Identifying the purpose of a given function.
- Renaming variables and functions to reflect their inferred purpose.
- Documenting the logic of a specific block of code.
5. Testing Environment
Set up identical environments for each tool to ensure that differences in usability can be attributed to the tool itself and not external factors. Ensure that all necessary resources are available and that the tools' performance is not hindered by the environment.
6. Test Execution
Randomize the order in which each participant uses the tools to counteract any learning effects. Record the time taken for each task and any errors made. Encourage participants to think aloud as they work through the tasks to gain insights into their thought processes.
7. Post-Task Questionnaire
After each task, have participants answer a questionnaire regarding the ease of use, intuitiveness, and perceived accuracy of the function and variable names assigned by each tool.
8. Comparison Task (Optional)
Include a task where participants are asked to compare the outputs from both tools side-by-side for a particular piece of decompiled code and state which they prefer and why.
9. Final Interview
Conduct a semi-structured interview to gather qualitative data on the participant's overall experience with both tools. Ask about their preferences, perceived strengths and weaknesses, and any suggestions for improvement.
10. Data Analysis
Quantitatively analyze the data collected from task completion times, error rates, and the post-task questionnaires. Use statistical methods to determine if there's a significant difference in usability between the two tools.
Qualitatively analyze the think-aloud protocols, interview transcripts, and open-ended questionnaire responses to gain deeper insights into user preferences and perceived usability.
11. Report Results
Compile the findings into a report that discusses the usability of both tools. Highlight any significant differences and provide insights into how meaningful names affect code comprehension and reverse engineering tasks.
12. Follow-Up
Based on the results, your colleagues may want to refine their tool. They can then conduct additional user studies to assess the impact of those refinements on usability.
Remember to ensure that the study adheres to ethical guidelines, including informed consent and privacy protection for all participants.