Comments (3)
Got it. I'll consider renaming it to pointer_size
in that case. In the next release the config
namespace will actually end up being renamed to information
as it doesn't actually have a real purpose. Moreso, it's really just returning information that the disassembler explicitly stores for a database. Things like the author name, original filename, etc. Crap like that anyways.
from ida-minsc.
Yes. One of them is returning the size of a pointer type for the database (which uses the compiler and its type library), and the other is returning the number of bits used by the database itself. Your disassembler uses this to distinguish the length of an address and internally it represents which version if idaapi.BADADDR
gets used by the disassembler api.
Closing. Hopefully this answered your question. If it hasn't, let me know and I can re-open it if necessary.
from ida-minsc.
Aha, then I get it. The names threw me off. May I suggest to change the name of database.config.bitsize --> database.config.ptrsize (and I would also remove the database.config.size function and merge it into ptrsize since the name .size on the config is confusing.)
from ida-minsc.
Related Issues (20)
- Rename argument name "direction" to something better like "options" HOT 5
- Do not replace the os.sep HOT 5
- Suggestion: When doing the refactoring, drop support for Python 2 and older IDA HOT 3
- Using the name "binary" for a program is confusing when there is a file format in IDA named "binary file" HOT 4
- Suggestion: Add the name DLL as that is what IDA calls the shared objects HOT 2
- Add a comment that this value will be updated when a new file is loaded HOT 1
- Suggestion: If you drop support for older Python, then you can add type hints HOT 3
- Minor doc change: says "all" but only 1 is returned HOT 3
- Wrong path on windows HOT 2
- Using double quotation marks makes this work on Windows also HOT 2
- The instruction namespace should return a ida_ua.insn_t() object instead of a string HOT 3
- An InvalidTypeOrValue exception is being raised when trying to fetch the type for a function being listed. HOT 20
- Docs: Quick start is wrong, the example code throws exception HOT 1
- Suggestion: Add documention on how to use IDA-minsc together with the plugin ipyida HOT 7
- Rename go --> jumpto (since the term go usually means "let the debugger run" in RE) HOT 3
- Rename argument "none" to a better name since it is very easy to missread it as None HOT 3
- Replace idaapi.read_selection() with ida_kernwin.read_range_selection() HOT 3
- Inability to access the attributes of netnodes that use a tag of 0. HOT 1
- Partial register and scattered arguments should be using the `partialregister_t` instead of `phrase_t`. HOT 1
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 ida-minsc.