Comments (4)
Hi,
I am sorry for deal with this issue later because I just caught cold in last 2 days.
The cause of this issue is I forgot remove a temp "raise Exception".
I just committed a new commit that can handle this issue in my part. Could you help me do a test?
Thanks,
Hui
from cma.
I've tested it with this basic tool without -g, also stripped and also with PIE. It works but it seems to be quite slow backtracing all mallocs. I'll test with Linux games later on.
With my own game cheating tool ugtrain I first record all mallocs, use scanmem to find an unique malloc and this way I get the object size. In the second step I filter with it and need to backtrace only few mallocs.
from cma.
I have the plan for add filter and put more clear data in CSV file.
I think the cause of speed issue is when GDB do backtrace with a program that doesn't have enough debug info, it need parse the asm code to get its behavior.
PS, the current issue is fixed, right? Do you mind close it and open some new issues for the current troubles.
from cma.
Yes, let's close this as it works on Ubuntu 12.04 precise at least. There are a lot more issues. E.g. Ubuntu 14.04 trusty complains about syntax errors.
I also still don't get the advantage over using a C library hooking memory allocations. This is not stopping the CPU all the time and can work with parallel threads. Works so good that I saw interleaving and have to use flockfile(); fputs_unlocked(); funlockfile(); to write the memory information out with stream caching but without interleaving. Realtime stuff like OpenGL will just end the process if it detects that it's running too slow. Even just using GNU backtrace() at a depth of 3 to just get code addresses on the stack on all allocations is too slow.
from cma.
Related Issues (8)
- arch.get_arg1() pops up 'Cannot access memory at address 0x9' HOT 12
- finish is interrupt by ctrl-c HOT 5
- No symbol gdb will not get error
- Not record a type of breakpoint but still keep it
- Change record_bt to ask each time
- Record which one want to record to config if inferior cmd is not changed
- No licence file
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 cma.