Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to view a bTree? #1

Open
1e1 opened this issue Oct 22, 2018 · 3 comments
Open

How to view a bTree? #1

1e1 opened this issue Oct 22, 2018 · 3 comments

Comments

@1e1
Copy link

1e1 commented Oct 22, 2018

What happens if it's a bTree Freelist?

How can we "visualize" the data?

// this may be a bTree Freelist slot or an encrypted ZipVFS slot

@1e1
Copy link
Author

1e1 commented Oct 23, 2018

I saw you wrote that for a VAG car.
While I'm reading PRODUCT.NDS from a VAG distrib, I notice 2 interesting things:

CREATE TABLE cipherKeyInfoTable 
(keyInfoId INTEGER NOT NULL
, offset INTEGER NOT NULL, length INTEGER NOT NULL, rnd INTEGER NOT NULL, cipherKeyData BLOB NOT NULL
, primary key (keyInfoId)
);

INSERT INTO cipherKeyInfoTable VALUES(2,0,16,0,X'000102');
CREATE TABLE urBuildingBlockVersionTable 
( updateRegionId INTEGER NOT NULL, buildingBlockId INTEGER NOT NULL
, versionId INTEGER NOT NULL, isDirty INTEGER NOT NULL, isPartiallyFilled INTEGER NOT NULL, cipherKeyInfoId INTEGER , buildingBlockMetadata BLOB , uri TEXT NOT NULL, dataModelVersionId INTEGER NOT NULL
, primary key (updateRegionId, buildingBlockId)
);

INSERT INTO urBuildingBlockVersionTable VALUES(0,0,1,0,0,2,NULL,'EEC_WLD/OVERALL.NDS',1);
INSERT INTO urBuildingBlockVersionTable VALUES(0,1,1,0,0,2,X'000214160297ab81336100','EEC_WLD/BMD.NDS',1);

Perhaps it can help for opening locked files?

@devtronic
Copy link

I'm not sure if it helps but in this repo are some references to the *.NDS files https://github.com/wangxl1029/mb_server_ruteng_demo_v1/blob/master/CommonLib/DataProvider/src/DPDBConnectionPool.cpp

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

No branches or pull requests

2 participants