Skip to content

Unsupported type: <class 'google.protobuf.pyext._message.ScalarMapContainer'> #57

Description

@ixnet

Hello there!

I have a message in proto file with map parameter:

message BlahRequest {
	enum BlaDataType {
		BLA = 0;
		BLA1 = 1;
		BLA2 = 2;
	}
	BlaDataType Type = 1;
	string Identity = 2;
	string UserSid = 3;
	string ParametersKey = 4;
	map<string, string> Parameters = 5;
	bool BlaDataTables = 6;
	bool BlaIsBla= 7;
}

I'm trying to generate payloads from this proto file like this:

message_fuzzers = protofuzz.from_file(proto_file)
        for obj in message_fuzzers[self.method_name].permute():
        do_some()

but I got an error:

Exception has occurred: RuntimeError
Unsupported type: <class 'google.protobuf.pyext._message.ScalarMapContainer'>

Am I doing something wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions