Skip to content

Comments

Fix SIGSEGV crashes in DartDumper with bounds checking and null point…#191

Open
vicky-dx wants to merge 1 commit intoworawit:mainfrom
vicky-dx:fix-sigsegv-crashes
Open

Fix SIGSEGV crashes in DartDumper with bounds checking and null point…#191
vicky-dx wants to merge 1 commit intoworawit:mainfrom
vicky-dx:fix-sigsegv-crashes

Conversation

@vicky-dx
Copy link

  • Add bounds checking in getPoolObjectDescription() for pool array access
  • Add null pointer check in DumpObjectPool() before dereferencing pool
  • Add safety checks in DumpCode() for analyzedData and iterator bounds
  • Add null validation in DumpStructHeaderFile() for UnlinkedCall dartFn
  • Add null check in ObjectToString() for kFunctionCid before AsFunction()
  • Add try-catch wrapper in Dump4Ida() for better error handling
  • Add debug output to track library processing progress

Resolves segmentation fault (signal 11) crashes during object pool dumping, code generation, and IDA script generation phases.

…er validation

- Add bounds checking in getPoolObjectDescription() for pool array access
- Add null pointer check in DumpObjectPool() before dereferencing pool
- Add safety checks in DumpCode() for analyzedData and iterator bounds
- Add null validation in DumpStructHeaderFile() for UnlinkedCall dartFn
- Add null check in ObjectToString() for kFunctionCid before AsFunction()
- Add try-catch wrapper in Dump4Ida() for better error handling
- Add debug output to track library processing progress

Resolves segmentation fault (signal 11) crashes during object pool dumping,
code generation, and IDA script generation phases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant