Comments (2)
In PINCE/Injection/AdditionalThreadInjection.c",
threadinf is a local variable, it deallocates from memory when function ends. This may cause problems because first parameter of pthread_create() is the address of threadinf.
Suggested Change:
void injection()
{
int *a=1;
pthread_t *threadinf = (pthread_t*) malloc (sizeof(pthread_t));
pthread_create(threadinf, NULL, infinite, (void*) a);
}
from pince.
That was a good one, tested on a few applications. After this patch, the debuggee doesn't crash even after 20-25 thread injections. Might close this issue once I test this enough.
Edit: Done enough tests, this is the correct fix. Thank you again @salihmarangoz. Closing this issue.
Closed by this patch
from pince.
Related Issues (20)
- Can it sometimes replace CE on MIngw working games HOT 2
- UI bug HOT 3
- Can't run after installation HOT 8
- Problem with installing HOT 3
- Missing libxcb-cursor0 HOT 1
- How do i find an address in the memory viewer? HOT 5
- How to find an address in the memory viewer? HOT 1
- Use `polkit` rather than `sudo` HOT 1
- This application failed to start because no Qt platform plugin could be initialized HOT 6
- TraceInstructionsWindow issues HOT 2
- Incorrect pygdbmi missing error HOT 5
- Is there a way to run it on MacOS? HOT 2
- Not running on fedora linux HOT 3
- Current user in install script is empty? HOT 4
- Internal GDB error handling
- Not installing properly on arch HOT 6
- GTAV Freezes with PINCE Debugger. HOT 8
- [Feature] Display byte array as decimal HOT 12
- Dragging an item in the address table crashes PINCE (Fedora/GNOME) HOT 5
- PINCE not starting Surface Pro 8 Ubuntu 22.04 HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pince.